Commit graph

80 commits

Author SHA1 Message Date
Enno Rehling
f051b5576f fix some crashes when attributes refer to a unit that is dead. 2008-05-24 23:26:44 +00:00
Enno Rehling
186a575c7c http://eressea.upb.de/mantis/view.php?id=1432
"Der strict-aliasing fix zerstoert Referenzen"
- mostly rewrote the whole delayed resolution code.

http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- made a mistake deleting damaged ships.

also:
- WORMHOLE_MODULE is now a config option
2008-05-24 00:20:00 +00:00
Enno Rehling
f0c56346d9 http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- remove_building and remove_ship work like their region/unit counterparts
2008-05-23 09:25:41 +00:00
Enno Rehling
599fa82a27 http://eressea.upb.de/mantis/view.php?id=1411
"Server does not compile with -fstrict-aliasing"
- fixed all the aliasing-issues that gcc reported.
2008-05-17 15:21:17 +00:00
Enno Rehling
d0022db79a Data format change reflects that id 0 is now illegal (so we use that instead of -1) 2008-05-16 22:37:13 +00:00
Enno Rehling
bc5fa11611 - made a storage class that wraps disk i/o for data files
- recreated old behaviour in text_storage class
- built binary_storage class: saves 60% of load time, adds 20% to file size.

next: gzip & others?
2008-04-26 14:55:22 +00:00
Enno Rehling
a2abcfe177 more intelligent values for hashtable sizes. 2008-04-24 18:14:14 +00:00
Enno Rehling
b63200adf9 Eressea can now be compiled and debugged with Eclipse CDT
Several changes to config.h mean that I probably broke compilation on some platforms. That really needs cleaning up.
2008-04-20 14:48:15 +00:00
Enno Rehling
81de21fcb8 Cache Optimizations:
- do prepare_reports simultaneously
- make battle-sides more cache-local
- avoid dereferencing bfaction for the faction
- avoid dereferencing side for the index
2007-10-27 15:09:36 +00:00
Enno Rehling
3d1bdd4bf4 bugfix for older versions of data (HSE) 2007-09-10 20:20:11 +00:00
Enno Rehling
7de422f976 i18n of spell-syntax (removing fixed syntax text and replacing with a localizable function) 2007-09-10 06:51:11 +00:00
Enno Rehling
79dc9acf5f - fixing race prefixes
- fixing some latin1 loading
- improved the spell-syntax writer
- replaced my email address
2007-09-02 18:11:17 +00:00
Enno Rehling
67184b0c96 Unicode WIP:
- building name changes
- locale optimization
- fixing some error messages
2007-08-13 07:29:39 +00:00
Enno Rehling
77bb331bc5 Unicode WIP:
some message-fixes, building types that had been broken since forever, small stuff
2007-08-12 13:56:59 +00:00
Enno Rehling
dbfb50625e Unicode WIP:
- bugfixes ongoing
2007-08-12 13:02:24 +00:00
Enno Rehling
b837248601 !this commit does not compile!
Unicode WIP:
- removed xmlChar and returned everything to char * again, now that conversion is complete.
- added option to specify orderfile and daatafile encoding in .ini file

currently: implementing reading of latin1 datafiles for backward compatibility
2007-08-10 07:03:23 +00:00
Enno Rehling
7031e9d032 Unicode WIP:
- a lot of set_string calls replaced.

Now I mostly have to work on the report-writing code and this is done.
2007-07-21 15:35:07 +00:00
Enno Rehling
b2cbb1234b Unicode WIP, does not compile.
- finishing for today. Spells still need work, the error-messages need translation.
2007-06-28 00:39:55 +00:00
Enno Rehling
0a997cadcd compilation fixes 2007-06-27 01:03:46 +00:00
Enno Rehling
588c136071 Unicode WIP, does not compile.
- finishing for today, several more files compile.
2007-06-27 00:54:54 +00:00
Enno Rehling
39ce1bd0dd Unicode WIP, does not compile.
- xmlStr functions have bad signatures, replacing them with defines in config.h
- more removal of buf[] usage
2007-06-27 00:08:46 +00:00
Enno Rehling
260d518fa1 WIP, does not compile: Unicode (UTF8) conversion of absolutely everything. Mi'kmaq hieroglyphic writing FTW! 2007-06-26 09:32:28 +00:00
Enno Rehling
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling
0fedaf43b2 building_type::name gets an extra parameter (for future use) 2007-05-28 09:46:23 +00:00
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
Enno Rehling
e936284347 Massive changes:
- removed all hadcoded weapons
- added code to put resources like iron&wood in XML
- added laen & wood to XML
- fixed damage for mallorn lance
- removed the old entrise code
- added new ent code in lua, eressea-only
2006-02-11 16:11:16 +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
b0e5f436cd - lots of memory leaks fixed. 2006-01-29 01:55:36 +00:00
Enno Rehling
cf996bc5fb removing a strdup() call and a buffer from rparagraph. 2006-01-26 23:05:40 +00:00
Enno Rehling
b2bd092252 do not crash when there's no generic building type 2005-12-11 15:30:05 +00:00
Enno Rehling
bbcc80643a - bugfix fehlender burgenbonus (maxcapacity 4)
- removed old xml-writing code
- fixed a crash related to astralspace

kingdoms:
- building type castle
2005-12-11 14:54:50 +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
Christian Schlittchen
1c7ace7556 WdW-Pyramiden 2005-10-23 11:27:55 +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
Christian Schlittchen
b917430561 Diverser Kleinkram für WdW:
- Papyrus-Dummy-Item
- NO_RANDOM_BRAINEATERS
- ...
2005-09-11 20:16:04 +00:00
Enno Rehling
41708ce703 http://eressea.upb.de/mantis/view.php?id=606
Traumschlößchen verschwindet nicht und funktioniert nicht

Verschwinden tut es wohl immer noch nicht, aber immerhin funktioniert es.
2005-07-23 18:18:53 +00:00
Enno Rehling
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
e39b020d58 http://eressea.upb.de/mantis/view.php?id=500
Auraregeneration in Burgen war kaputt (Fix Nachtrag)
2005-04-23 23:01:12 +00:00
Enno Rehling
d778222324 - Drachen in leeren Regionen suche ein neues Ziel.
- kleine Aufräumarbeiten.
2005-04-16 11:15:47 +00:00
Enno Rehling
464f50a48d autoseed in ein Modul verlegt und zu einem Teil des Servers erhoben. Der Server kann jetzt durch Aufruf der lua-Funcktion utoseed(filename) selber neue Parteien erzeugen, was es erspart, vor jeder Runde den mapper aufzurufen, und das Aussetzen von Parteien erlaubt, wenn der Spieler in der selben Runde STIRB setzt. 2005-03-23 23:39:26 +00:00
Enno Rehling
13172a28af - regionid() und die ersetzung von \\r entfernt.
- Neue Funktion für Steinkreise
- Bugfix alta Steinkreisfunktion
- Geschwindigkeit findfaction
- Geschwindigkeit it_find
- Einige Messages internationalisiert
- Bugfix Startholz
2005-01-19 20:33:13 +00:00
Enno Rehling
032466e908 builing_action kann jetzt einen string-parameter haben. 2005-01-07 17:02:32 +00:00
Enno Rehling
3858781bd5 http://eressea.upb.de/mantis/view.php?id=296
- Intakte Straßen trotz zerstörter Karawanserei
2004-10-17 21:44:26 +00:00
Enno Rehling
3b29df22e7 - BENENNE FREMDE ohne das Flag
- Neue Schiffe kriegen ihren Typ statt nur Schiff in den Namen
2004-07-12 21:10:16 +00:00
Enno Rehling
e8bc9ce888 building-attribute in den von mapper gelinkten Teil getan. Tricks mit age-Funktion.. 2004-07-10 23:06:58 +00:00
Christian Schlittchen
e763673cbd - Temporärer Fix für GIB TEMP, nochmal ansehen! 2004-06-13 10:21:48 +00:00
Enno Rehling
5296949c1b Alle Hashfunktionen mit Primzahlen, evtl. bessere Performance. 2004-05-26 06:42:58 +00:00
Enno Rehling
0bc401ba8f XML Reader
- alle xml dateien sind echtes XML
- alle alten XML Leseroutinen sind raus
- Daten werden mit dem libxml DOM parser gelesen
- der alte XML Parser ist weg
- libraries required: libxml2, iconv
2004-03-28 20:53:47 +00:00
Enno Rehling
012da64223 first prototype of wormholes 2004-02-21 22:25:00 +00:00
Enno Rehling
1f5432c875 Neue Variante der Erzeugung von firstregion. Hoffentlich wesentlich schneller. *daumendrück* 2004-02-21 15:09:06 +00:00