Commit Graph

684 Commits

Author SHA1 Message Date
Enno Rehling 328bf5a623 Fixing the tunnels and cleaning up a bit. 2008-06-16 17:29:53 +00:00
Enno Rehling d5ce48bf7f fixes for the prevF speedup 2008-06-09 23:39:15 +00:00
Enno Rehling 22d63cc8cf fixing adamant seeding 2008-06-08 22:13:10 +00:00
Enno Rehling 784a489830 changing region resources 2008-06-08 21:40:12 +00:00
Enno Rehling 7b71c8f116 pretty name 2008-06-08 10:18:27 +00:00
Enno Rehling 1c139de354 - code to seed adamantium
- cleaner definition of raw materials
2008-06-08 10:17:29 +00:00
Enno Rehling ac595313cf fixes re-run 574 2008-06-08 09:00:35 +00:00
Enno Rehling 2e09d16588 more xmlreport features 2008-06-08 00:02:24 +00:00
Enno Rehling 9ffcff7e2a PFL_NOCOORDS is really not needed anywhere. At least I sincerely hope not. 2008-06-07 20:04:45 +00:00
Enno Rehling b5bffaf75e - reorganizing units for faster report-generation
- more xml functionality
2008-06-06 21:54:19 +00:00
Enno Rehling 3b9d951556 asgard rules:
- creating xml definitions
- creating separate lua files
- added option to make work automatic
2008-06-04 23:12:05 +00:00
Enno Rehling e26700c8b1 http://eressea.upb.de/mantis/view.php?id=1437
"Zeilenumbruch im Einheitennamen"
- prevented line breaks in unit names

http://eressea.upb.de/mantis/view.php?id=1436
"lc_age throws an exception"
- fixed adding tostring() in script.
- not calling std::terminate

also:
- added AT_AGE_* macros to be returned from attrib-age functions
2008-06-03 07:28:32 +00:00
Enno Rehling b973330061 show region id in mapper 2008-06-02 11:12:22 +00:00
Enno Rehling 689dedae6d - equipment for new factions defined in xml, not lua.
- added possibility to give equipment to factions, not only the first unit
- 4 adamantine for new factions
- removed obsolete SHORTPWDS define
2008-06-02 09:16:58 +00:00
Enno Rehling fc770832d4 disabling building-aging for the moment 2008-05-30 21:56:12 +00:00
Enno Rehling a473991f67 another crash 2008-05-30 16:21:21 +00:00
Enno Rehling 47989da257 crashfix mapper
Lua: get_region_by_id
2008-05-30 16:08:35 +00:00
Enno Rehling 7cb18e90ea http://eressea.upb.de/mantis/view.php?id=1408
"Zauberpatzer - Effektmeldung"
- fixed positive message should be negative
- fixed ct_find
- fixed a few places not checking u->number or u->region
- speeding up pool when units have no items.
2008-05-27 22:03:57 +00:00
Enno Rehling fec171d75f - vset, vmap and graph are obsolete
- LASTORDER define is dead
2008-05-24 16:15:31 +00:00
Enno Rehling 186a575c7c http://eressea.upb.de/mantis/view.php?id=1432
"Der strict-aliasing fix zerstoert Referenzen"
- mostly rewrote the whole delayed resolution code.

http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- made a mistake deleting damaged ships.

also:
- WORMHOLE_MODULE is now a config option
2008-05-24 00:20:00 +00:00
Enno Rehling f0c56346d9 http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- remove_building and remove_ship work like their region/unit counterparts
2008-05-23 09:25:41 +00:00
Enno Rehling 3391b3bb7a - fix warning
- initialize global.cookie properly
2008-05-22 21:56:55 +00:00
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