Commit graph

3230 commits

Author SHA1 Message Date
Enno Rehling
15971fdb98 fixing find_key. ouch! 2008-06-03 10:16:55 +00:00
Enno Rehling
09478956c8 http://eressea.upb.de/mantis/view.php?id=1437
"Zeilenumbruch im Einheitennamen"
- apply fixes to existing data.
2008-06-03 07:42:06 +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
0326ffe7fe - fixed not putting regions next to firewall 2008-06-02 10:34:58 +00:00
Enno Rehling
5f3bfa3a2c autoseed should not find old islands that are de-populated. 2008-06-02 10:06:25 +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
4035d153e7 http://eressea.upb.de/mantis/view.php?id=1434
"Teilweise fehlende RESOURCE-Blöcke"
- fixed. was not writing the buffer it was going to. added comments.
2008-06-01 18:58:51 +00:00
Enno Rehling
fc770832d4 disabling building-aging for the moment 2008-05-30 21:56:12 +00:00
Enno Rehling
3a1550c3f6 must return a value 2008-05-30 21:33:19 +00:00
Enno Rehling
055c9f4bb9 missing translation 2008-05-30 21:29:31 +00:00
Enno Rehling
153766ab70 some debug output while this is new 2008-05-30 21:09:19 +00:00
Enno Rehling
8656b2323b implementation of adamant and tunnels 2008-05-30 21:01:25 +00:00
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