Commit graph

111 commits

Author SHA1 Message Date
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
d4d6776b50 Unicode WIP, backward compat:
- latin1 reader for datafile
- latin1 reader for orders

a number of minor conversion bugs fixed, this version can now run a turn and write reports, it seems.
2007-08-12 09:51:26 +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
f013ead006 removing old visual studio files 2007-08-05 12:28:15 +00:00
Enno Rehling
d48d8ec348 Unicode WIP:
- Visual C++ 2005 project files
- Savegames
- i18n for many more spells
2007-07-17 15:33:48 +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
706419c36b vc needs to know about the synonym removal 2007-06-24 14:06:47 +00:00
Enno Rehling
32a3c0103f The synonym attribute was not in use, and relied on the old race_t type to
idntify races. It is better to use racename-attributes for this, I think.
2007-06-24 14:04:42 +00:00
Enno Rehling
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling
614aa80bdf CURSE_ISNEW moved so that it's generally defined by the curse_type, since most spells actually start working in the same round. 2007-04-22 00:30:12 +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
a66e90c25b at_allince (WDW-feature?) gefixt. 2006-02-10 20:38:07 +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
9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling
4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +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
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
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
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
db9589bed1 luxusgueter raus aus dem code, rein in die CML files 2005-10-30 18:22:28 +00:00
Enno Rehling
e31215f8f1 removing hardcoded itemtypes that now give warnings. 2005-10-26 20:12:28 +00:00
Christian Schlittchen
1c7ace7556 WdW-Pyramiden 2005-10-23 11:27:55 +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
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
198f2cf90f Das mit dem neuen Befehls-handling zieht Kreise. 2005-05-09 22:30:43 +00:00
Enno Rehling
092b249060 unit::lastorder entfernt. Das Konzept eines einzelnen langen Befehles hat ausgedient, spätestens seit @ existiert. 2005-04-30 17:07:46 +00:00
Enno Rehling
1c01343739 Neuer Inselgenerator im Server.
Einheitliche Runtime-Library für VC.net Targets.
2005-04-03 08:32:16 +00:00
Enno Rehling
de1658f961 Remove a few warnings,
Remove all the old makefiles
2005-02-12 02:18:13 +00:00
Enno Rehling
07a214b7fa Neue Schiffe erzeugen setzt sie automatisch in die Regionsliste ein. 2004-12-22 22:58:52 +00:00
Enno Rehling
736739ca42 Some updates to the VC6 files. Can't compile it since I have no libxml installed here 2004-09-11 16:57:05 +00:00
Enno Rehling
fa1ab26cfe Removing a bunch of files: Makefiles, CVS ignore files, compiled python files 2004-09-04 08:52:10 +00:00
Christian Schlittchen
8ee6431125 WDW Änderungen vom Wochenende.
- besseres Error-handling in eventhandlern
- bugfix get_variable

Scriptänderungen Sphinx
! bedarf noch eines Cleanup
2004-08-18 22:24:48 +00:00
Enno Rehling
d9ddf937ad lua:
- unit:add_notice
2004-08-08 11:27:12 +00:00
Christian Schlittchen
2b1e4f0dca at_variable 2004-08-08 09:42:48 +00:00
Enno Rehling
2367ea70ca - Rassenprefix als xml-include
- is_familiar() gab false zurück, wenn Magier nicht vorhanden war (partielles laden)
- verschiedene typecasts, die eigentlich unnötig sind
- windir nur benutzen, wenn MSCVER gesetzt
2004-08-07 07:42:22 +00:00
Enno Rehling
7bf7b22446 Rassenpräfix-Code etwas aufgeräumt. 2004-07-09 19:14:10 +00:00
Enno Rehling
7ef6d4e960 - Kampfänderung (festen Gegener - opponent - auswählen)
- cvsignore verzeichnisse aktualisieren
- igjarjuk-erscheinen deaktiviert
2004-05-31 18:21:54 +00:00
Enno Rehling
bc0e8549b9 Beim schreiben von Attributen etwas Ordnung gemacht.
Einige Attribute haben _nicht_ ihre schreibroutine mit einem space terminiert, was sie müssen, damit es nicht sowas gibt:
road 2 0 0 1 0 50 0end
2004-05-31 12:19:26 +00:00
Enno Rehling
66c4a520d3 movement:
- fix FOLGE (getestet)
- fix FOLGE SCHIFF (getestet)
- leichte Umstellung des Codes, Kommentare
2004-02-22 14:42:24 +00:00
Enno Rehling
ac517da404 Anpassungen mehrerer Zauber daran, dass power double ist.
Crashfix falscher typecast.
Mehr Stellen auf Benutzung von float-wahrscheinlichkeiten und boolean chance(double) angepasst
2004-02-09 22:20:40 +00:00
Enno Rehling
601f562ad4 lua bindings 2003-12-14 10:02:29 +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
1b84f9d61f - Bugfix FOLGE exploit
- Visual Studio .net 2003 project files
- SHORTPWD define (disabled)
2003-06-22 08:38:55 +00:00
Enno Rehling
3f05ce3357 - VC7 compiling against "single-threaded debug" libc.
- language split, so i can use struct locale from external tools.
2003-05-13 17:51:22 +00:00
Enno Rehling
4a67d90718 Updated by TortoiseCVS 2003-05-05 14:59:13 +00:00
Enno Rehling
29e88626e6 Updated by TortoiseCVS 2003-05-05 14:55:19 +00:00
Enno Rehling
af0d89f4f9 jam rules 2003-04-27 17:03:12 +00:00