Commit graph

3217 commits

Author SHA1 Message Date
Enno Rehling
a473991f67 another crash 2008-05-30 16:21:21 +00:00
Enno Rehling
f8a21ec386 fix include 2008-05-30 16:09:10 +00:00
Enno Rehling
47989da257 crashfix mapper
Lua: get_region_by_id
2008-05-30 16:08:35 +00:00
Enno Rehling
ae68d8fd79 Adamant + Rüstung 2008-05-30 15:28:20 +00:00
Enno Rehling
ecc147425b some cleanup in the creport 2008-05-28 08:42:45 +00:00
Enno Rehling
a761c686cd - Fixed assigning r->uid to regions that haven't got one
- restarted implementation of xml report
2008-05-28 00:23:46 +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
f54037295a compat fixes for old datafiles (turn 287) 2008-05-27 09:21:56 +00:00
Enno Rehling
363c2e0d5b support for old item 2008-05-27 07:59:23 +00:00
Enno Rehling
577601f912 support code for reading data files with old curses 2008-05-27 07:58:04 +00:00
Enno Rehling
43b0ff2ce3 removing code for old versions that we no longer have datafiles for (pre-287) 2008-05-27 07:30:04 +00:00
Enno Rehling
ad240fecc0 floating point rules to ensure same output with release and debug 2008-05-25 23:17:39 +00:00
Enno Rehling
3e9c0c894a rng-fix. is this it? cannot be. 2008-05-25 19:29:46 +00:00
Enno Rehling
77d72ba482 search for the heisenbug 2008-05-25 10:37:19 +00:00
Enno Rehling
18485ee6f1 not writing aliases for monsters should make things go faster 2008-05-25 09:34:57 +00:00
Enno Rehling
57623bb2a7 missing ifdef 2008-05-25 09:33:27 +00:00
Enno Rehling
ae7eefa47c some cleaning 2008-05-25 09:29:06 +00:00
Enno Rehling
94ae1a1c7c -march switch 2008-05-25 00:34:24 +00:00
Enno Rehling
f051b5576f fix some crashes when attributes refer to a unit that is dead. 2008-05-24 23:26:44 +00:00
Enno Rehling
3a476bb279 stupid assert needs a fix 2008-05-24 18:29:27 +00:00
Enno Rehling
fe841cd3c0 fixing crashes from triggers 2008-05-24 17:38:38 +00:00
Enno Rehling
4988d0f425 fixing killunit (triggering dead units) 2008-05-24 17:34:55 +00:00
Enno Rehling
32097e56cb remove_unit is a dangerous thing. 2008-05-24 17:15:52 +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
4793d0fd34 more tests 2008-05-24 13:38:18 +00:00
Enno Rehling
8a48d9323f another optimization to the binarystore (ids stored as variable-length) 2008-05-24 01:48:08 +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
0ce94f0f91 http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- fixed a small bug
2008-05-23 10:14:58 +00:00
Enno Rehling
739dd98755 using hse data. 2008-05-23 09:52:43 +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
43d73a6b45 - free_gamedata() is perfect.
- we can now save region uids for references, not x,y
2008-05-22 22:55:29 +00:00
Enno Rehling
b9fbf06614 - clear uidhash 2008-05-22 22:15:55 +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
a40e5a3711 some more static keywords 2008-05-22 07:37:17 +00:00
Enno Rehling
fef83c4df5 the mapper is no longer maintained 2008-05-20 21:17: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
5d4c66762b test for FORBIDDEN_REGION moved out of standard-to-astral function, becasue that annoys the editor. 2008-05-20 15:15:02 +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
66d7cc0fdf http://eressea.upb.de/mantis/view.php?id=1412
"keine zauberwirkung trotz korrektem befehl "
- added a message when number of ships cursed < wanted
2008-05-20 10:03:23 +00:00
Enno Rehling
ad14e45341 http://eressea.upb.de/mantis/view.php?id=1427
"Angegriffene Einheiten auf Schiffen an Land fliehen nicht"

Also:
- printing the monster faction in reports
2008-05-20 08:39:56 +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
78520fb9bf is_monsters() test for skeletons & al 2008-05-18 08:21:00 +00:00
Enno Rehling
d442616681 that old fix died sometime around revision 800. 2008-05-17 15:48:27 +00:00
Enno Rehling
599fa82a27 http://eressea.upb.de/mantis/view.php?id=1411
"Server does not compile with -fstrict-aliasing"
- fixed all the aliasing-issues that gcc reported.
2008-05-17 15:21:17 +00:00