Enno Rehling
88ce120991
it is not a good idea to use the turn to check whether the gamedata has changed. we use a cookie instead that is different each time we load.
2008-05-22 21:44:23 +00:00
Enno Rehling
644d0d9a4a
implementing free_gamedata():
...
- fixed freeing of borders
- fixed freeing of global.attribs
- more static-variable reinitialization
- reseting the RNG
removed border.attribs:
- new savegame-version
2008-05-22 14:40:21 +00:00
Enno Rehling
1052e46613
http://eressea.upb.de/mantis/view.php?id=1429
...
- made startup regions more balanced
implementing free_gamedata():
- cleaning up some static variables
2008-05-22 10:46:02 +00:00
Enno Rehling
ede420cd3b
it's enough to let fix_astralplane do the thick fog, no need to have it in
...
create_teleport_plane (and it didn't work, either)
2008-05-20 19:58:23 +00:00
Enno Rehling
67c43c6ed2
fixing astral space properly
2008-05-20 15:38:50 +00:00
Enno Rehling
390bf522f7
http://eressea.upb.de/mantis/view.php?id=1428
...
- there are no roads in astral space
2008-05-20 14:28:31 +00:00
Enno Rehling
dcf7166973
local fixes
2008-05-18 14:38:12 +00:00
Enno Rehling
9e902c3456
more editor selection functions, because i'm too lazy to expose the keystrokes to Lua
2008-05-18 14:31:08 +00:00
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