Enno Rehling
89e8c622c7
more weapons out of the code.
2005-10-29 16:10:08 +00:00
Enno Rehling
cb9106473b
Special non-item resources like hp and peasant can now be defined externally.
...
removed all the hardcoded armor from the source.
2005-10-29 14:12:46 +00:00
Enno Rehling
3eef9447e9
renaming the pool funtions (no need for a new_ prefix anymore)
2005-10-29 12:25:53 +00:00
Enno Rehling
7017f27304
quick changes to remove the old pool functions that use resource_t
2005-10-29 12:08:40 +00:00
Enno Rehling
43e44a083e
bugfix init_oditems: if a resource was later in the list than one that used it, the game would crash
2005-10-29 11:39:34 +00:00
Enno Rehling
91da1f6e89
The quest to remove resource_t from the game continues (finally)
2005-10-29 11:17:21 +00:00
Enno Rehling
e31215f8f1
removing hardcoded itemtypes that now give warnings.
2005-10-26 20:12:28 +00:00
Enno Rehling
abcaac8f97
removing seeds and mallornseeds from the source (less warnings, too).
2005-10-25 21:24:15 +00:00
Enno Rehling
ac30257333
removed a lot of old code that used or initialized potions and herbs, moved those to the xml data instead. also made spells use resource_type instead of resource_t to have one less place where those are used.
...
The tech-tree loading is now smart enough that a resource can depend on another one that isn't loaded yet (it builds a dummy of the resource at first). his can backfire if you then forget to define that resource for real, i'll eventually need error-handling there.
2005-10-25 20:44:18 +00:00
Enno Rehling
688b796aec
- sk_ prefixes von den skillnames entfernt.
2005-10-25 14:51:15 +00:00
Enno Rehling
28f41c3edd
- sk_ prefixes von den skillnames entfernt.
2005-10-25 14:27:24 +00:00
Enno Rehling
3c749d4121
ships mentioning terrain-types that don't exist.
2005-10-25 13:11:50 +00:00
Enno Rehling
b6160f32ac
ships mentioning terrain-types that don't exist.
2005-10-25 13:06:59 +00:00
Enno Rehling
70b3e9ad50
autoseed had some unused code there. not sure what it's good for, really.
2005-10-25 12:46:25 +00:00
Enno Rehling
68433ad0d1
Der Eressea-Code hat jetzt auch extern definierte Terrains. Ich war so gründlich wie es ging dabei, die alten T_ Konstanten zu entfernen, aber einzelne Regeln sind ziemlich hardgecodet (wo Drachen geboren werden, usw), und benötigen daher noch das terrainid.h include, in das der alte enum verfrachtet ist.
...
Konfigurierbarkeit ahoi.
2005-10-25 12:38:01 +00:00
Enno Rehling
00fab33aaf
nachbesserung zu den letzten 2 commits
2005-10-25 08:45:59 +00:00
Enno Rehling
1b4aa36874
removed old get_/set_change_herb functions, no longer in use
2005-10-25 08:28:00 +00:00
Enno Rehling
4ce88dad13
removing the old NEW_RESOURCEGROWTh macro
2005-10-24 20:06:40 +00:00
Christian Schlittchen
1c7ace7556
WdW-Pyramiden
2005-10-23 11:27:55 +00:00
Enno Rehling
f6cc641d9c
initializing new member variable in equipment
2005-10-23 10:42:26 +00:00
Enno Rehling
4d38380766
removed R_ANTIMAGICCRYSTAL as well.
2005-10-23 10:15:30 +00:00
Enno Rehling
8483c555fc
moving combatspells.c to the spells/ directory
2005-10-23 09:10:41 +00:00
Enno Rehling
4dc1339ec3
New: familiars are initialized with an equipment-set.
...
New: familiars can have a LUA initialization function.
Moved the spell implementations from spell.c to spells.c where they "belong".
Spell ids moved to a separate header (to phase them out eventually)
2005-10-23 09:05:11 +00:00
Enno Rehling
67ba7b7960
removing an unused function
2005-10-22 21:03:29 +00:00
Enno Rehling
a0ee76abe2
Many new spell translations.
2005-10-22 19:53:44 +00:00
Enno Rehling
3c3b1bad8a
http://eressea.upb.de/mantis/view.php?id=725
...
Beschreibung Gehirnschmalz
tage -> lernversuche
2005-10-17 17:56:39 +00:00
Enno Rehling
2d86eff74f
http://eressea.upb.de/mantis/view.php?id=720
...
Boote koennen nicht auf Gletscher landen
Schlafende Eisberge wurden als Gletscher angezeigt, aber von Schiffen nicht so behandelt.
2005-10-16 21:41:44 +00:00
Enno Rehling
b58303211f
http://eressea.upb.de/mantis/view.php?id=728
...
Straße Richtung Ozean
man kann Richtung Ozean nicht mehr bauen.
2005-10-16 20:45:30 +00:00
Enno Rehling
71dc067213
http://eressea.upb.de/mantis/view.php?id=733
...
Vertraute und Kampfzauber
separated combat spells from regular attacks to allow monsters without regular attacks to have combat spells.
2005-10-16 20:11:34 +00:00
Enno Rehling
10e5dfb92e
spell ids, compatibility list
2005-10-16 19:33:30 +00:00
Enno Rehling
40385e2d3e
mapper should not try to load gamecode functions of objects
2005-10-16 19:19:40 +00:00
Enno Rehling
af447d3034
rename nomagic -> gray
2005-10-09 21:53:18 +00:00
Enno Rehling
31e3384165
compilation errors
2005-10-09 21:48:56 +00:00
Enno Rehling
a521385b13
even more create_ spells are now scripted.
...
started on another spell (earn_silver), needs enabling and testing.
2005-10-09 21:41:04 +00:00
Enno Rehling
873404d8f4
crashbugs in randenc und rostregen
2005-10-09 19:52:21 +00:00
Christian Schlittchen
9ba5ebedb9
wdw-Zauber angepasst
2005-10-09 15:13:39 +00:00
Enno Rehling
7f0e08dd07
uninitialized variable
2005-10-09 10:07:43 +00:00
Enno Rehling
72fd99987b
typo, kompiliert nicht
2005-10-09 10:06:37 +00:00
Enno Rehling
73ed11b893
sinnvollere Fehlermeldung bei nicht-existierendem farcasting-ziel
2005-10-09 10:04:31 +00:00
Enno Rehling
046290ebdb
Bugfix: spellnames sind nicht von sp->info abhängig.
2005-10-09 09:09:51 +00:00
Enno Rehling
46cb474885
Zaubernamen weniger deutsch & Patzerfunktion vereinheitlicht
2005-10-09 02:10:03 +00:00
Enno Rehling
8b0518690f
always default-fumble to report failure.
2005-10-08 21:43:24 +00:00
Enno Rehling
2cb9b7bdaa
Fallback für zwei weitere Zauber in find_spellbyid
2005-10-08 20:04:13 +00:00
Enno Rehling
ea8539cb15
Zauber trollbelt war verloren gegangen.
...
find_spellbyid bekommt ein Fallback für Zauber, die die ID gewechselt haben.
2005-10-08 19:47:13 +00:00
Enno Rehling
2e897bfbf7
race special attack spells use name instead of id.
2005-10-08 19:22:56 +00:00
Enno Rehling
594683d077
replaced spellids by spellnames
2005-10-08 18:43:00 +00:00
Enno Rehling
f34f09e7b6
order of execution for XML parser changed.
2005-10-08 18:38:26 +00:00
Enno Rehling
c7c6f169cb
Englische Namen für alle Zauber.
...
Rassen-Spells in XML müssen keine ID mehr nutzen.
2005-10-08 18:27:40 +00:00
Enno Rehling
fed680604a
missing includes for spell.cpp
...
bugfix memset in create_mage
2005-10-08 16:14:15 +00:00
Enno Rehling
2602a8db67
Mehr const, weniger Warnungen.
...
Bugfix für spelllist_add (aufsteigend sortiert)
2005-10-08 15:44:40 +00:00
Enno Rehling
1771a81c52
Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile.
2005-10-08 15:25:21 +00:00
Enno Rehling
6426004640
Neu: Zaubersprüche können in LUA programmiert werden, und per XML-Datei (siehe spells.xml) in ein Spiel integriert werden.
...
Ich habe angefangen, die Item-erzeugenden Zauber aus dem Code in Skripte zu verlagern.
2005-10-08 11:02:10 +00:00
Enno Rehling
fd364ba0f9
new name: nestwarmth
2005-10-03 21:55:39 +00:00
Enno Rehling
66fbb409a0
nein, anders...
2005-10-03 21:52:09 +00:00
Enno Rehling
1d09adb884
splitting old resource registration in two parts.
2005-10-03 21:46:57 +00:00
Enno Rehling
17958f9683
Armbrust aus dem Code genommen.
...
Abbruch, wenn ein Item aus dem Datenfile nicht in den XML-Resourcen ist.
2005-10-03 21:15:47 +00:00
Enno Rehling
5dfc2f08b6
Apfel, Nuss und Mandelkern (und Kekse) fleigen raus aus dem Source.
...
Burgen fliegen aus dem Source.
XML reader unterstützt jetzt auch Gebäude mit mehreren Ausbaustufen.
2005-10-03 20:59:11 +00:00
Enno Rehling
23d7205a8b
removed I_GREATSWORD and I_RUSTY_GREATSWORD from the source.
2005-10-02 21:32:20 +00:00
Enno Rehling
b65917bb97
removed I_SWORD and I_RUSTY_SWORD from the source.
2005-10-02 21:11:17 +00:00
Enno Rehling
883840c460
new files added
2005-10-02 20:31:28 +00:00
Enno Rehling
afd1af92c9
changes to the Jamfile (add equipment.c)
2005-10-02 20:29:21 +00:00
Enno Rehling
49bd595d69
New code:
...
"equipment-sets" in the XML definition files (equipment.xml) can define skills and items for a unit. these can be applied using the equip_unit() function (from both LUA and C).
I've rewritten the random first encounters and addplayer() functions to use these. As a result, there's now even less dependency on fixed item types in the source, and I can take more items out.
2005-10-02 20:28:44 +00:00
Enno Rehling
5358c876d2
reanming SK_SWORD -> SK_MELEE (since all the axes use it, too and I get confused so easily)
2005-10-02 17:35:25 +00:00
Enno Rehling
6b87faf047
First test to remove items from code: AXE and RUSTY_AXE are out.
...
Rewriting the rust-spell. Now affecting armor as well (with lower chance)
2005-10-02 17:04:16 +00:00
Enno Rehling
b04b01814b
new, more informative format for the dropouts file
2005-10-02 16:25:27 +00:00
Enno Rehling
9f97148163
spawning of new braineaters moved into a separate LUA function which is not called for wdw.
2005-10-02 16:06:12 +00:00
Enno Rehling
a72a43c384
starting equipment & skills for new factions is read from the equipment.xml file instead of hardcoded. Makes give_starting_equipment a lot smaller and reduces the number of I_* item-constants used in the code.
2005-10-02 15:54:24 +00:00
Christian Schlittchen
1049ef4a76
NO_RANDOM_BRAINEATER fix
2005-10-02 15:33:50 +00:00
Enno Rehling
f7a17ff3d0
http://eressea.upb.de/mantis/view.php?id=712
...
rusty shields disappear because of stupid reverse_lookup code.
2005-10-02 13:31:56 +00:00
Enno Rehling
2d2ed6f7ea
http://eressea.upb.de/mantis/view.php?id=712
...
rusty shields disappear because of stupid reverse_lookup code.
removed a bit of dead code.
2005-10-02 13:21:29 +00:00
Christian Schlittchen
b917430561
Diverser Kleinkram für WdW:
...
- Papyrus-Dummy-Item
- NO_RANDOM_BRAINEATERS
- ...
2005-09-11 20:16:04 +00:00
Enno Rehling
bcf0b8d446
removed the old GROWING_TREES macro.
...
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00
Enno Rehling
4ac9cf30e8
tote übergeben items nur bei gegenseitigem HELFE SILBER bzw. HELFE GIB
2005-09-08 21:41:39 +00:00
Enno Rehling
9f315c32aa
Parteien mit leerem Passwort (Doppelspieler, etc) geben ihre Items nicht an Alliierte ab, sondern vernichten sie.
2005-09-08 21:15:06 +00:00
Enno Rehling
8276a63c1e
http://eressea.upb.de/mantis/view.php?id=680
...
Einheit verhungert und Gegenstände gehen verloren
Aauflösen von Einheiten vereinheitlicht, und einige alte #defines mitsamt Code entfernt.
2005-09-08 19:03:42 +00:00
Enno Rehling
c1b275dad9
http://eressea.upb.de/mantis/view.php?id=698
...
Auf der Einheit liegen -3 Wirkungen Schaffenstrunk.
2005-09-08 18:38:14 +00:00
Enno Rehling
11f9e607ca
Spell translations.
2005-09-03 09:27:01 +00:00
Enno Rehling
d09071eff7
null-pointer crash when running with --lomem
2005-09-03 06:49:26 +00:00
Enno Rehling
0e74ca4ef7
stone golem -> stonegolem, for the last time
2005-09-03 06:29:29 +00:00
Enno Rehling
6ec1bbe52e
Drawing borders around regions requires that oceans have an age, too. Fixed.
...
Also, removing some unnecessary race-enums
2005-09-03 00:30:03 +00:00
Enno Rehling
951ad4a615
oldrace young dragon had another space.
...
updated todo-file
some indentation in battle.c
2005-08-22 20:14:42 +00:00
Enno Rehling
a3bef667d1
initializing oldrace, sanity checks.
2005-08-22 20:10:03 +00:00
Enno Rehling
1b15838f4e
Not saving more than 128 orders in the datafile (damn those script-kiddies)
2005-08-22 19:49:51 +00:00
Enno Rehling
16679a9346
bugfix spaces in oldraces.
2005-08-22 19:35:31 +00:00
Enno Rehling
ccfc5549af
bugfix space-removal
2005-08-22 09:31:28 +00:00
Enno Rehling
b252b00163
Der server mag es nicht, wenn Rassen ein space im internal name haben, weil
...
trigger den rassennamen ohne "" schreiben. also operiere ich die mal raus,
spaces soll man da auch nicht haben.
2005-08-21 09:24:14 +00:00
Enno Rehling
e639a1258b
autoseed, creating island controlled from script.
...
bugfix empty orders in savefile
2005-08-07 13:48:18 +00:00
Enno Rehling
bfd26dc9b4
COMPATIBILITY macro removed, hasn't been used since item_type got introduced.
2005-07-31 19:49:04 +00:00
Enno Rehling
fc6e6d40dc
when you delete an I_ enum, you must also delete the R_ enum that belongs to it.
2005-07-31 19:44:56 +00:00
Enno Rehling
f7502f08cf
item-scores were broken
...
removed laen shield and laen mail from the sorce and put them in the XML files - because I can.
2005-07-31 19:22:14 +00:00
Enno Rehling
4de62148fa
http://eressea.upb.de/mantis/view.php?id=621
...
kosmetischer fehler spell-level
2005-07-31 17:49:46 +00:00
Enno Rehling
62a51a8bf0
scores are now an optional module.
...
spoils are moved to the XMl data, and the racespoils functions are greatly reduced (less LOC -> less bugs).
phoenix feather is a wdw-only item
2005-07-31 16:07:02 +00:00
Enno Rehling
8bee14a0ea
translated two more ship movement messages to english.
2005-07-31 09:12:36 +00:00
Enno Rehling
137e26e670
cleaning up armor structs
...
rearranging code to avoid nullpointer-crashes
2005-07-31 08:28:21 +00:00
Enno Rehling
d026b324fd
uninitialized variables
2005-07-31 08:11:29 +00:00
Enno Rehling
e4d264681d
null-pointer check neuer rüstungscode.
2005-07-31 07:42:13 +00:00
Enno Rehling
04ac02ebd9
armor_type wie weapon_type gelöst. Jetzt extern per XML definierbar.
...
Monster versuchen, Waffen und Rüstungen zu behalten, ehe sie sich bewegen.
2005-07-31 01:07:07 +00:00
Enno Rehling
513bdef26c
maximum persistent orders = 128
2005-07-28 13:20:36 +00:00
Enno Rehling
f33c875756
we can do this reading of orders from the savefile much faster if we remember how lists should be used.
2005-07-27 12:09:53 +00:00
Enno Rehling
200201b384
started limiting the maximum number of orders for a unit.
...
removed num_migrants as it was not updated properly.
2005-07-27 11:48:16 +00:00