Commit graph

201 commits

Author SHA1 Message Date
Enno Rehling
ed70863843 Total ohne Not mal wieder eine grosse Umstellung gemacht: Diesmal am Parser.
Okay, natuerlich habe ich damit was im Sinne: Das ist eine Vorbereitung auf voll geskriptete, neu zugefuegte Befehle und anderes Processing (aus Skripten). Fuer ein neues Spiel.

Hoffen wir, dass nicht zuviel kaputtgeht :-)
2006-08-12 19:15:16 +00:00
Christian Schlittchen
7c134e4f54 Kleine Hilsfunktion zur Anzeige der registrierten Funktionen aus dem Debugger:
print list_registered_functions()
2006-07-10 20:11:50 +00:00
Enno Rehling
d57e05fcd7 crashbug dying clone-mages 2006-05-21 10:35:08 +00:00
Enno Rehling
78d222138e http://eressea.upb.de/mantis/view.php?id=849
BENUTZE Dumpfbackenbrot
2006-05-07 20:26:39 +00:00
Enno Rehling
34fce9b8a7 - removing cruft
- fixing print_fighters() since list is not ordered by status anymore
2006-04-15 22:10:57 +00:00
Enno Rehling
64ca5c666e log_* routines write complete log to logfile, abbreviated (last message...) only to stderr. 2006-04-09 17:53:45 +00:00
Enno Rehling
dda37aaee6 http://eressea.upb.de/mantis/view.php?id=870
Eigener Block für BOTSCHAFTen im NR

Ausserdem den ungenutzten REPORT Befehl entfernt.
2006-03-26 18:26:52 +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
3fb3e7b201 New way of storing attrib-lists should make it faster to find a specific one and jump over entire classes of attribs. 2006-02-25 00:12:48 +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
127f32d0ef removing unused attribute (aggressive)
fixed normalvariate
familiars, ignore missing init function
2006-02-10 22:10:41 +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
589b1b036a making the old eressea binary run on x64:
- normalvariate fix.
- familiars again
- invalid assert
- forgot init_reports
2006-02-09 22:20:28 +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
3248053efe Messages benutzen alte Hashfunktion für Typ-Key. 2006-02-07 21:31:55 +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
9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling
adaf410d37 inlined code 2006-02-04 23:45:20 +00:00
Enno Rehling
e119a29142 inline optimizations for string functions
a little more speed for locale_string (less strcmp)
2006-02-04 23:41:23 +00:00
Enno Rehling
9a343df8fc more intelligent hashing = less divisions 2006-02-04 21:09:16 +00:00
Enno Rehling
3cd617fe39 new hash function is faster than the old 2006-02-04 18:53:34 +00:00
Enno Rehling
4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling
3a313515c0 you should be able to guard even after combat (and if UFL_MOVED is set). 2006-01-29 15:50:38 +00:00
Enno Rehling
cf996bc5fb removing a strdup() call and a buffer from rparagraph. 2006-01-26 23:05:40 +00:00
Enno Rehling
6c6c1174d8 Speeding up the hashing in findtoken even more. 2006-01-25 20:40:19 +00:00
Enno Rehling
0fe3e9ad4b Project files: Not using MT libraries in VC7 really speeds up the CRT calls. 2006-01-24 23:20:33 +00:00
Enno Rehling
779c790f6d who would have guessed that the % operator in findtoken would show up so prominently in a code profile? 2006-01-24 21:44:20 +00:00
Enno Rehling
c768096df3 What the hell was the \b supposed to do? it fucks up the output! 2006-01-14 09:45:42 +00:00
Enno Rehling
8daf1c86f3 dice_rand versteht jetzt auch klammern. 2005-12-11 14:10:11 +00:00
Enno Rehling
4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +00:00
Enno Rehling
d808de65c8 new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute)
exported to LUA: x.objects returns the collection of objects, accessible through :get() and :set() functions
2005-11-26 15:28:11 +00:00
Enno Rehling
4157bfbea2 bugfix assert 2005-11-25 23:15:52 +00:00
Enno Rehling
6e76a3d601 luabind: using define LUABIND_OLD instead of BOOST_VERSION 2005-11-25 22:25:13 +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
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
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
Enno Rehling
8bee14a0ea translated two more ship movement messages to english. 2005-07-31 09:12:36 +00:00
Enno Rehling
7efda2d265 a *lot* more English feedback for errors, spells, etc. 2005-07-27 09:23:54 +00:00
Enno Rehling
d78123a924 bugfix in yet another message (will it ever stop)
more error messages for the parser to make them easier to find.
2005-07-26 22:40:53 +00:00
Enno Rehling
30e4a626f2 stupidly mucking about with message syntax. 2005-07-26 20:13:53 +00:00
Enno Rehling
650a266254 http://eressea.upb.de/mantis/view.php?id=593
FOLGE und Irrlichter kann ausgenutzt werden.
2005-07-06 22:10:43 +00:00
Enno Rehling
6b1d86e5ae Im Falle von !NDEBUG (Debug builds) wird strlcpy nicht inline gemacht (gdb
stellt sich wieder mal Kacke an)
2005-07-04 21:38:28 +00:00
Enno Rehling
5971f1caf5 Zu lange Kampfmeldung zerstört immer noch den Server. 2005-06-17 19:12:55 +00:00
Enno Rehling
0b8c2c94ef Potential buffer overruns galore. 2005-06-17 18:12:58 +00:00
Enno Rehling
686dfacc02 assert that argument types are all properly registered. 2005-06-13 20:25:07 +00:00
Enno Rehling
9a86f30fa0 doug lea malloc only when MSPACES defined 2005-06-12 20:45:18 +00:00
Enno Rehling
71dee49bbb ifdef enclosure of doug lea malloc 2005-06-12 10:56:18 +00:00
Enno Rehling
ddac39dcfa opstack cleanup. 2005-06-12 02:59:23 +00:00
Enno Rehling
b2404889d8 stackpointer bei reallocation neu setzen. 2005-06-12 02:36:26 +00:00
Enno Rehling
3d5c41a273 opstack was the #1 malloced datastructure. 2005-06-12 02:18:28 +00:00