Commit graph

459 commits

Author SHA1 Message Date
Enno Rehling
1113d3d7e9 bugfix luxuries. now possible (though not done) to read them from xml. 2005-10-29 16:28:10 +00:00
Enno Rehling
f6524ee015 kicking out a few more hardcoded item_type objects. 2005-10-29 14:48:37 +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
0e0f37d970 bugfix seed-registrierung 2005-10-26 19:02:45 +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
4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06:40 +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
e0f6999a4f typo 2005-10-11 20:39:16 +00:00
Enno Rehling
1e3877e8a2 irgend etwas am fixing des ozean-alters ist nicht richtig und zerstört die neuaussetzung. 2005-10-11 20:37:48 +00:00
Enno Rehling
3415216610 more verbose exception handling 2005-10-09 22:01:08 +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
e208a2ba8d added exception handling 2005-10-09 01:19:44 +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
1771a81c52 Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile. 2005-10-08 15:25:21 +00:00
Enno Rehling
b3c4dda44a Messages als LUA-Objekte. Damit lassen sich jetzt auch von LUA aus lokalisierte messages an Parteien versenden. 2005-10-08 11:42:45 +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
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
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
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
Enno Rehling
ee64acff21 http://eressea.upb.de/mantis/view.php?id=684
Straßen durch Wüste ohne Karawanserei

Der Code scheint okay zu sein, nur Altdaten nicht. Habe eine Korrektur-Routine eingebaut.
2005-09-28 18:52:18 +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
0ee59cf55e http://eressea.upb.de/mantis/view.php?id=694
global warming "infection" not with regular glaciers
2005-09-03 09:13:36 +00:00
Enno Rehling
118230a737 implemented global warming (glacier belts with age > 200 can melt) 2005-09-03 08:54:19 +00:00
Enno Rehling
b7ebf40866 Better version of the ocean-age fixes produces proper firewalls around the
world
2005-09-03 07:50:00 +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
e639a1258b autoseed, creating island controlled from script.
bugfix empty orders in savefile
2005-08-07 13:48:18 +00:00
Enno Rehling
90f24a0ae4 neat trick to extract the origin from a faction in LUA 2005-07-28 12:42:46 +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
Enno Rehling
c9fa3abcac new iteminfos in english. moved gemran iteminfos from separate files into xml.
reset UFL_LONGACTION before a turn, so I can run several turns from a single script run.
2005-07-26 18:14:13 +00:00
Enno Rehling
e4bdec8e7c crwritemap has been exported to lua as write_map(filename). 2005-07-26 10:50:00 +00:00
Enno Rehling
82af7525e6 making password & email read/write from scripts. 2005-07-25 10:39:11 +00:00
Enno Rehling
e6c5c45910 das GROUP flag muss gespeichert werden. 2005-06-26 12:52:26 +00:00
Enno Rehling
475bd5a735 gcc inline muss static deklariert werden. 2005-06-15 21:04:37 +00:00
Enno Rehling
cb9eaf426c http://eressea.upb.de/mantis/view.php?id=556
Feuerwände im Astralraum

Werden durch Astralblock ersetzt. Ausserdem wird aus dem mapper heraus wieder eine Grenze von Feuerwänden um ältere Gebiete herum gezogen.
2005-06-13 21:29:59 +00:00
Enno Rehling
7a69ac541b http://eressea.upb.de/mantis/view.php?id=556
Feuerwände im Astralraum

Werden durch Astralblock ersetzt. Ausserdem wird aus dem mapper heraus wieder eine Grenze von Feuerwänden um ältere Gebiete herum gezogen.
Issue: 556
2005-06-13 21:26:52 +00:00
Enno Rehling
9dc06958e2 Even more flags to reduce attribute-lookups.
double bookkeeping can be scary, but i think it should be rather safe in these cases.
2005-06-12 17:57:14 +00:00
Enno Rehling
71dee49bbb ifdef enclosure of doug lea malloc 2005-06-12 10:56:18 +00:00
Enno Rehling
70413bb43c Noch einmal Strassen reparieren. 2005-06-12 09:48:19 +00:00
Enno Rehling
032cc5eadf bugfix in fix_attribs: falsche attributeliste durchgegangen. 2005-06-12 08:52:46 +00:00
Enno Rehling
85e2dd76d9 bugfix letzter commit. 2005-06-11 23:10:06 +00:00
Enno Rehling
c5846b0990 - region flag that speeds up access to at_travelunit
- unit flag that speeds up access to at_guard
- test for at_npcfaction only when AllianceRestricted.
2005-06-11 23:02:52 +00:00
Enno Rehling
1a1dc417c4 misc. memory leaks removed 2005-06-11 08:09:55 +00:00
Enno Rehling
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
54fbc30359 Kalender aus timestrings heraus und in die xml-files hinein. Ziemlicher Aufwand für (fast) keinerlei neue Features :-) 2005-06-04 13:22:31 +00:00
Enno Rehling
198f2cf90f Das mit dem neuen Befehls-handling zieht Kreise. 2005-05-09 22:30:43 +00:00
Enno Rehling
64a85e8138 jamrules und fixes, damit die kranke uni-installation klappt 2005-05-08 17:32:01 +00:00