Enno Rehling
8452dc365e
- removing planes
...
- removing units and regions more cleanly
- dying units won't give items to undead or others who don't want/won't return them
- removed old "nogive" attribute for races.
2008-05-18 13:46:18 +00:00
Enno Rehling
d442616681
that old fix died sometime around revision 800.
2008-05-17 15:48:27 +00:00
Enno Rehling
78615978c8
The rule of "no more than 5 weeks difference per island" gets coded in a smarter way. No longer creating new island every 5 turns, but actually checking the island.
2008-05-16 16:32:13 +00:00
Enno Rehling
47327786a2
allow mapper to be opened twice
2008-05-16 08:36:45 +00:00
Enno Rehling
474431fb0d
- prevent enslaved units from FORGET
...
- prevent promotion of foreign races
- prevent charming of units with limited skills
also:
- rename teure_talente to has_limited_skills
- move frame_regions to autoseed.c
- some output for korrektur.c
2008-05-13 16:47:54 +00:00
Enno Rehling
dcf3292467
defining NPC-factions with a flag instead of MONSTER_FACTION.
2008-05-11 22:51:34 +00:00
Enno Rehling
478ee8d153
Lua: faction:renumber_faction(no)
...
gmtool: save as binary
2008-05-11 22:20:03 +00:00
Enno Rehling
d7be4a21c2
- started MONSTER_FACTION->is_monsters()
...
http://eressea.upb.de/mantis/view.php?id=1418
- fixed toads
2008-05-04 05:57:34 +00:00
Enno Rehling
aaf8668257
fixes duplicate planes (again)
2008-04-26 16:48:50 +00:00
Enno Rehling
77b292e05a
compilation fixes GCC.
2008-04-26 16:46:05 +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
1dd05538ad
- added a testsuite
...
- testcase skill-parser
- findskill uses patricia
2008-04-25 14:31:38 +00:00
Enno Rehling
d8bcc61a76
problem after last commit
2008-04-22 11:50:06 +00:00
Enno Rehling
5d731316c3
- Changed a couple of compiler-settings
...
- Removed a bunch of warnings (shadowing variables)
2008-04-22 10:40:20 +00:00
Enno Rehling
2557e013fa
- regions get a unique id (uid)
...
- new data format
- not in the CR yet
- fix for terrain (tutorial crash)
2008-04-22 10:06:53 +00:00
Enno Rehling
36812c1168
making a warning go away. clarifying the need to remove the _MODULE defines and how to.
2008-04-20 15:18:43 +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
a2ae6a0ea9
Some fixes for Linux and removing some dead code.
2008-04-19 16:56:15 +00:00
Enno Rehling
6739d5ff7e
Integrated the editor into the main executable (which means it now requires curses). Should make a #define to disable compilation.
2008-04-19 16:12:13 +00:00
Enno Rehling
1e8af4e0e5
http://eressea.upb.de/mantis/view.php?id=1394
...
- fixing toads that lose their changerace attribute
2008-04-17 15:56:41 +00:00
Enno Rehling
40898eea55
http://eressea.upb.de/mantis/view.php?id=1365
...
"ALLES funktioniert nicht bei GIB"
- disabling OPTION MATERIALPOOL
2008-02-12 18:26:30 +00:00
Enno Rehling
16c3b68114
http://eressea.upb.de/mantis/view.php?id=1355
...
"Falsche Regionsbeschreibung"
- removing descriptions from non-land regions.
2008-02-03 22:56:54 +00:00
Enno Rehling
86f89be914
http://eressea.upb.de/mantis/view.php?id=1344
...
"Kampfallianzen fehlerhaft"
- undeda unit had wrong group
2008-02-03 21:40:45 +00:00
Enno Rehling
da5aef2110
http://eressea.upb.de/mantis/view.php?id=1341
...
"Draigzauber Mächte des Todes ruft Skelette mit Talent Magie"
added some output as well
2008-01-07 20:45:10 +00:00
Enno Rehling
e5ce17b6ef
http://eressea.upb.de/mantis/view.php?id=1341
...
"Draigzauber Mächte des Todes ruft Skelette mit Talent Magie"
added a one-time fix
2008-01-07 20:43:16 +00:00
Enno Rehling
167651abab
http://eressea.upb.de/mantis/view.php?id=1245
...
"giving heros to another faction"
2007-12-19 22:11:04 +00:00
Enno Rehling
ef77f0ad2b
http://eressea.upb.de/mantis/view.php?id=1332
...
Übergabe von Silber an die Bauern hat nicht funktioniert
- added give-item() functionality to lua
2007-12-18 07:51:04 +00:00
Enno Rehling
f0203119ba
lua: move ship
2007-12-17 17:55:51 +00:00
Enno Rehling
8dd186d303
illegal memory read, units must be freed very, very late.
2007-12-16 23:18:22 +00:00
Enno Rehling
09a08fb84a
fixing the item use functions and making future fuckups less likely
2007-12-03 19:26:17 +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
f8398db851
- compiling in VS2005 on my new PC
...
- eliminating a couple of warnings
- fixed a crash bug or two in the -x option
- fixed an endless loop in give_item
2007-10-11 21:48:31 +00:00
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