Commit graph

216 commits

Author SHA1 Message Date
Enno Rehling
00d0bbc3b6 Removing some defines that have long become the norm for all games. 2006-11-04 21:38:25 +00:00
Enno Rehling
974747b4ad small fixes 2006-10-29 14:03:56 +00:00
Enno Rehling
94966e8eda sanity-checks for potential divisions by zero (u->number) 2006-10-15 14:09:59 +00:00
Enno Rehling
c3e4e828a8 NMR-Zaehlung auch fuer LUA 2006-08-20 13:32:03 +00:00
Enno Rehling
7b76da7c39 count_unit(u) bestimmt, welche einheiten zum partei-limit gezaehlt werden. Das sollten alle sein, sind's aber vorlaeufig nicht.
ausserdem ein bischen code-cleanup.
2006-07-29 14:04:49 +00:00
Enno Rehling
c33cd598b5 - summondragon parameter list
- number of new players.
2006-04-09 09:31:16 +00:00
Enno Rehling
a14d57f32d made the save function work, and not print so much (quiet now understands
'real quiet' as anything >=2 in some places).
Made the listbox code handle PNEXT and PPREV, very helpful for the faction
list.
2006-03-26 21:14:35 +00:00
Enno Rehling
bb1ba6b366 The new GM tool, added to the eressea/ directory. All that remains is to
salvage some mapper functionality and stuff it in there (and cleanup), then
the mapper/ directory can go.
2006-03-24 07:35:51 +00:00
Enno Rehling
b7552f0d06 - New random number generator
- Faster get_pooled/use_pooled
- faster peasants()
- faster plagues()
- faster horses()
2006-02-19 22:43:56 +00:00
Enno Rehling
dceb83c6a7 The incomplete fspecial functions cause quite a bit of attribute-lookups, so I'm putting them in a #define until they get implemented (if ever).
#define KARMA_MODULE is you want to use fspecial in the future.
2006-02-17 22:59:03 +00:00
Enno Rehling
4bc803ef2c http://eressea.upb.de/mantis/view.php?id=826
Wrong wages for orcs

also:
- removing some really old GMcommand code.
2006-02-12 20:10:32 +00:00
Enno Rehling
ef2165e764 fprintf/fscanf fu. 2006-02-12 09:42:52 +00:00
Christian Schlittchen
fdc07aa0ea enno needs more sleep fixes 2006-02-12 09:22:37 +00:00
Enno Rehling
f07c80563a writing characters as numeric bytes is trickier. 2006-02-11 23:44:17 +00:00
Enno Rehling
3efd05206e replacing read/write_default with a function that doesn't abuse layout of the union or endianness. new savefile-format
removeing some old attributes that were never used.
2006-02-10 19:48:43 +00:00
Enno Rehling
ef2e1c8da9 project eressa64: trying to run eressea natively on 64 bit hardware. 2006-02-09 19:39:17 +00:00
Enno Rehling
640652ef99 earn_silver Zauber in script/xml ausgelagert.
bugfix snowman
avoid huge amounts of log-messages
handle renaming of spells.
2006-02-05 15:48:52 +00:00
Enno Rehling
673fbb8921 MSG_LEVELS remove
rparagraph() detects existing indentation and markers (for battle-messages)
2006-01-29 22:14:43 +00:00
Enno Rehling
b0e5f436cd - lots of memory leaks fixed. 2006-01-29 01:55:36 +00:00
Enno Rehling
fe4ce3261f saving some strdup() calls 2006-01-24 23:19:09 +00:00
Enno Rehling
64318eaab3 ugroups code entfernt:
- Es ist unwahrscheinlich, dass er je genutzt wird,
- Er ist nicht vollständig
- Er ist gründlich veraltet
2006-01-22 23:29:15 +00:00
Enno Rehling
c5585a3520 more memory leaks fixed 2006-01-02 22:29:07 +00:00
Enno Rehling
c60502bfc8 find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell) 2006-01-01 20:11:09 +00:00
Enno Rehling
b49d1cadca Aus dem TODO:
- WDW spells per XML definiert, so dass sie nicht in Eressea auftauchen, aber auch kein define benötigen

- Neue Variante des seenspell-attributes.

- weniger find_spellbyid() aufrufe.
2006-01-01 18:35:55 +00:00
Enno Rehling
80186ba627 - error handling missing terrains
- bugfix terrain-xml
2005-12-31 13:45:10 +00:00
Enno Rehling
945a60a20c Sicherstellen, dass keien hardlinks automatisch übermeiert werden (unlink).
Schnelleres Backup ohne system() mit Hardlinks.
2005-12-18 21:53:12 +00:00
Enno Rehling
a8b9c29be4 har du data saa er det altid en god ide aa spare den, ellers forsvinne ting plutselig 2005-12-11 14:31:06 +00:00
Enno Rehling
10b2d08a0a new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute) 2005-11-26 11:49:20 +00:00
Enno Rehling
7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling
f6952988e4 made compatible to earlier luabind version (just to avoid some work non VC++), but a little hackishly through the BOOST_VERSION define.
removed some almost unused funtions (pt_find, etc).
2005-11-01 20:33:21 +00:00
Enno Rehling
ada8c3a52d bugfix: water of life
initialization of potion text
removing #if 0 code.
2005-10-30 09:51:02 +00:00
Enno Rehling
e31215f8f1 removing hardcoded itemtypes that now give warnings. 2005-10-26 20:12:28 +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
4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06: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
1d09adb884 splitting old resource registration in two parts. 2005-10-03 21:46:57 +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
1b15838f4e Not saving more than 128 orders in the datafile (damn those script-kiddies) 2005-08-22 19:49:51 +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
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
Enno Rehling
32852df60c unit::botschaften as a special case of messages disappears. Simple code for simple stuff. 2005-07-25 19:56:44 +00:00
Enno Rehling
3db6b2a9fd ageing für das at_leftship attribut verhinder, dass Einheiten die ein Schiff verlassen haben in der Folgewoche immer noch im Report stehen.
Kosmetischer Fix an der Schock-Meldung.

Weniger Aufrufe von invisible() wenn Einheiten garkeinen Ring haben.
2005-07-22 17:13:51 +00:00
Enno Rehling
0b8c2c94ef Potential buffer overruns galore. 2005-06-17 18:12:58 +00:00
Enno Rehling
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00