Commit Graph

622 Commits

Author SHA1 Message Date
Enno Rehling 05f56041c4 - fixed a bug in filereader (was reading the eol characters)
- added doug lea allocator
2007-09-11 19:33:00 +00:00
Enno Rehling ef2f892d8a - i18n for unit_dissolve messages 2007-09-03 19:52:51 +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 9af8bbb2bb xmllint should be in pre-commit rules... 2007-09-02 09:36:57 +00:00
Enno Rehling c3283925b6 Unicode QA:
- irritating comma in HELP status- 
- localized roads in NR
- new function for trails
- lua fix get_resource(horse)
2007-08-28 06:19:31 +00:00
Enno Rehling 9715493071 null-banners 2007-08-21 21:19:51 +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 b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +00:00
Enno Rehling 8fbb513b63 Unicode WIP:
- NR is being written
- NR and Template get a UTF8 BOM

I'm running out of ideas. I must be nearly ready.
2007-08-19 17:30:40 +00:00
Enno Rehling cae7e67fdf Unicode WIP
- Bugfix region::connect structure not initialized
- set encoding from Lua
2007-08-16 06:53:00 +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 67184b0c96 Unicode WIP:
- building name changes
- locale optimization
- fixing some error messages
2007-08-13 07:29:39 +00:00
Enno Rehling dbfb50625e Unicode WIP:
- bugfixes ongoing
2007-08-12 13:02:24 +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 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 940d236edc - filereader.c rewritten since the initial implementation is in the moving van.
- moved some summary functionality (emails, aliases) to Lua code
- made default.lua an include for all the different run-scripts

report.c is the last file that needs some work, everything else should be fine. Most importantly, all the messages are not internationalized, so that means just about no more German in the code. Yay!
2007-08-08 07:43:24 +00:00
Enno Rehling f013ead006 removing old visual studio files 2007-08-05 12:28:15 +00:00
Enno Rehling 8e897d29be movement.h -> move.h 2007-08-05 12:26:46 +00:00
Enno Rehling 55e0656250 unicode branch gets premake 2007-08-05 12:19:56 +00:00
Enno Rehling e63c3dc4a1 Unicode WIP:
- creport.c compiles
2007-07-22 09:31:39 +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 d2094d6205 Unicode WIP:
- completed i18n for combatspells and battle
adding the filereader header (the implementation is on my PC which is still in transit to Germany)
2007-07-20 07:28:11 +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 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 25cd0e4b66 added an option to have certain races supply a description without a need to
set u->display everywhere. This was costing 24 MB of memory just for the
braineaters alone, a terrible waste.
2007-06-25 01:50:34 +00:00
Enno Rehling e3496dd9e9 gcc doesn't like __cdecl. why was this here? 2007-06-20 00:45:22 +00:00
Enno Rehling 96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling 878914636d include not necessary 2007-06-13 19:29:26 +00:00
Enno Rehling 4614664164 Invalid format specifier 2007-06-13 12:39:09 +00:00
Enno Rehling 9d72640755 Compiles with LUA 5.0, too 2007-06-11 23:56:04 +00:00
Enno Rehling 8c57e05798 Made Eressea compile and run with lua 5.1 2007-06-11 23:00:15 +00:00
Enno Rehling 54446e0a1e RTS/Archetypes (WIP):
- tested and fixed archetype-recruiting
2007-05-28 19:45:08 +00:00
Enno Rehling e639f53ea8 last commit didn't compile 2007-05-28 16:51:23 +00:00
Enno Rehling b27da8c056 Archetypes (WIP): "RECRUIT 15 knight"
creates XML-configurable pre-skilled units for game variants with faster reinforcements.
Speeding up locale-string lookup a little bit, and making it more unified for different classes of strings (so new ones are easily added).
2007-05-28 16:03:48 +00:00
Enno Rehling fa6192daf9 Christmas update: we celebrate Knut. 2007-05-27 21:48:29 +00:00
Enno Rehling 27110e7e26 http://eressea.upb.de/mantis/view.php?id=1191
- trying another peasant migration algorithm

also:
- battle log optional (debug = 0 in the .ini file)
2007-05-27 21:20:06 +00:00
Enno Rehling 9671629f47 Jamfile optimization 2007-05-03 11:08:51 +00:00
Enno Rehling c36b14e9e0 Nur Boote und Langboote koennen per Zauber fliegen.
Ein Item fuer den Flug von anderen Schiffen.
2007-04-22 01:10:38 +00:00
Enno Rehling af0a7b225a curse-flags funktionieren jetzt anders, und koennen per curse-type gesetzt werden so dass der spell es nicht tun muss, aber dann vom spell ueberschrieben werden (passiert per XOR). 2007-04-21 23:04:24 +00:00
Enno Rehling 6283910959 - Fehlermeldungen ueber fehlende item-infos und Rasseninfos entfernt
- Falsche Rasseninfos (Attacken) aus strings.xml entfernt
2007-04-08 08:24:09 +00:00
Enno Rehling f9a39f6717 bugfix 2007-03-11 21:46:45 +00:00
Enno Rehling e9feec08ba Routine fuer "Teure Fremde" hat auch Untote korrigiert. 2007-03-11 20:52:09 +00:00
Enno Rehling fc121f99a6 command line parsing starts after the - 2007-03-01 07:55:44 +00:00
Enno Rehling 3428e5bb93 Exporting score (was used for HSE4) 2007-02-28 22:15:23 +00:00
Enno Rehling f1a2a355d0 speedup for is_guarded(), which is more important with new combat code. 2007-02-25 13:35:52 +00:00
Enno Rehling 27c188ea1c report directory in .ini file
sleep/retry when errno during report writing.
2007-02-25 11:10:13 +00:00
Enno Rehling a615089853 compile-fixes 2007-02-23 21:22:14 +00:00
Enno Rehling 61a479ad3f More English translations for spells and other parts of the code (addmessage replacements FTW) 2007-02-23 21:18:35 +00:00