Commit graph

26 commits

Author SHA1 Message Date
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
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
3e843afb99 indentation only 2008-02-03 15:48:38 +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
b43220dbed - fixed counting of group members
- fixed maximum size of region names.
- fixed animals
2007-08-26 20:33:50 +00:00
Enno Rehling
a33d59b21a Unicode WIP:
This code did a full run of turn 531, with all reports.

- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
2007-08-21 07:04:44 +00:00
Enno Rehling
9c88e406fd - .ini file ssettings for CRT debugging
- quick alloc-optimization for resolve.c
2007-08-15 06:27:40 +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
6acb1e22c5 - fixed the summary.c
- implemented unicode_utf8_strcasecmp function
- fixed some xml files
- code compiles and runs on the console

TODO:
* switch from xmlChar to char again
* eliminate remaining warnings
* report.[hc] are still disabled

OPTIONAL:
* handle latin1 input?
2007-08-09 06:42:37 +00:00
Enno Rehling
55e0656250 unicode branch gets premake 2007-08-05 12:19:56 +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
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +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
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
5296949c1b Alle Hashfunktionen mit Primzahlen, evtl. bessere Performance. 2004-05-26 06:42:58 +00:00
Enno Rehling
4ad249acc6 http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000016
- versorgung durch vertraute gefixt
- is_monstrous entfernt, und sinnvoll ersetzt.
2004-03-09 21:14:27 +00:00
Enno Rehling
338b4185be race-prefix bug fixed 2004-03-06 17:30:36 +00:00
Enno Rehling
8823db9702 - Bugfixes and code-merges between freeze and HEAD branch. Minor changes that should not affect the code
- Bugfix to P_BERSERK
2003-07-29 09:48:03 +00:00
Enno Rehling
4e54590d98 Vinyambar 3 implementation 2002-09-02 20:36:12 +00:00
Enno Rehling
4fb2137edd * Bugfix Durchreiseregionen bei Start=Ziel
* Bugfix Sichtbarkeitsregel bei Borders
* Neu definiert, was eine attribut-funktion zurückliefern soll, wenn sie
  failed. asserts, die checken das ich auch keine vergessen habe.
  damit ist die killunit::handle Geschichte erledigt.
* Bugfix looting. Sowohl eigene als auch fremde Einheiten können looten.
* Korrektur doppeltes shock-attribut.
* Straßen, Diskrepanz im NR und CR beseitigt
* remove_empty_factions macht kein free mehr.
2002-04-07 00:44:01 +00:00
Enno Rehling
a464c031c3 HEAD (der default-branch in CVS) wieder auf dem gleichen Stand wie beta-2-0. An dieser Stelle würde ich gerne in Zukunft die Vinyambar-Versionen abspalten, und die neue "Entwicklerversion" für Eressea beginnen lassen. Details, sobald ich das (hoffentlich morgen) gemacht habe.
Meine Güte, haben wir viel geändert... Das gibt sicher ein Hammer-Diff.
2001-12-10 00:13:39 +00:00
Enno Rehling
c106e40fb7 dev-version: cr/lf und weg mit den $ tags 2001-04-14 11:39:14 +00:00
Enno Rehling
5c7ee6cb4f für ponnuki 2001-01-27 18:15:52 +00:00
Enno Rehling
67c72b821e Makefile updates und attribut-init 2001-01-26 16:19:41 +00:00
Enno Rehling
5372deebfe Initial revision 2001-01-25 09:37:55 +00:00