Commit Graph

2338 Commits

Author SHA1 Message Date
Enno Rehling 77d72ba482 search for the heisenbug 2008-05-25 10:37:19 +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 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 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 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 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 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 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 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
Enno Rehling 2b913dc9e1 http://eressea.upb.de/mantis/view.php?id=1392
"Störe Astrale Integrität ohne Stufenwirkung"
- made spell work with level
2008-05-16 23:48:50 +00:00
Enno Rehling 55f6b43fbc http://eressea.upb.de/mantis/view.php?id=1396
"Berechnung des Belagerungsschadens merkwürdig"
- cosmetic changes to siege messages.
2008-05-16 22:58:34 +00:00
Enno Rehling d0022db79a Data format change reflects that id 0 is now illegal (so we use that instead of -1) 2008-05-16 22:37:13 +00:00
Enno Rehling 5b5fc0063c small fix to the guard-caching 2008-05-16 19:48:06 +00:00
Enno Rehling 5bd67a6d2a fix warnings 2008-05-16 17:21:43 +00:00
Enno Rehling 1b93b094e4 - make monster-equipment configurable
- rename some SK_ constants to match their name
2008-05-16 17:17:10 +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 397ab6975b treating firewalls with more respect when seeding new players. 2008-05-16 08:06:39 +00:00
Enno Rehling 4afcf145f5 - remove the "confusion" spells because they do not work. 2008-05-13 20:22:31 +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 76497abc92 bugfix monsterfaction 2008-05-12 09:44:01 +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 dd85b9b6a0 http://eressea.upb.de/mantis/view.php?id=1419
MACHE mit Gebaeude in dem man steht.
2008-05-11 22:01:48 +00:00
Enno Rehling 0c47aab8a2 http://eressea.upb.de/mantis/view.php?id=1421
- combatspells with level 0 are lost
2008-05-11 21:50:26 +00:00
Enno Rehling 0af00c10ec making init_battle a bit faster by being a bit smarter. 2008-05-05 16:08:46 +00:00
Enno Rehling 2df1fbf0e9 fixed some errors from eressea.log 2008-05-04 07:49:48 +00:00
Enno Rehling 111051a580 http://eressea.upb.de/mantis/view.php?id=1401
"Übergaben haben teilweise geklappt trotz fehlendem helfestatus"
2008-05-04 06:44:07 +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 cdd1709ee3 do not quote the id 2008-04-30 08:47:52 +00:00
Enno Rehling 3a5873a0f6 Kompatibilitaets-Fix negative ids. 2008-04-27 11:58:14 +00:00
Enno Rehling ddcbce5092 warnings about parentheses 2008-04-27 09:59:27 +00:00
Enno Rehling c05aad1b14 - binary storage uses packed int
- creport: disabled writing of r->uid
- creport: fixed missing quotes
2008-04-27 09:52:03 +00:00
Enno Rehling 256d0b1d4b fixing strdup(NULL) call 2008-04-26 23:04:37 +00:00
Enno Rehling 93091caff0 - optimized is_guardian
- realized the optimization can be done further up. doh.
2008-04-26 21:39:09 +00:00
Enno Rehling 371409e943 - prevent empty "private" attribute
- remove the HEROES define. Code works.
2008-04-26 18:55:58 +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 43422a0619 fix for duplicate astral plane 2008-04-26 16:45:39 +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 43f00be173 ptries are disabled again 2008-04-25 15:46:39 +00:00
Enno Rehling 4364f25952 jamfile fixed 2008-04-25 14:32:07 +00:00
Enno Rehling 1dd05538ad - added a testsuite
- testcase skill-parser
- findskill uses patricia
2008-04-25 14:31:38 +00:00
Enno Rehling a2abcfe177 more intelligent values for hashtable sizes. 2008-04-24 18:14:14 +00:00
Enno Rehling 23505d2b84 Slightly more cache-friendly hashing (WIP) 2008-04-24 01:37:47 +00:00
Enno Rehling 34edc042bc mremap only if __USE_GNU 2008-04-24 01:17:11 +00:00
Enno Rehling db0d1f8948 fixed compilation warnings caused by DLMALLOC 2008-04-24 01:13:47 +00:00
Enno Rehling fde26f97ea write the id in the CR 2008-04-22 22:09:39 +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 6f9f857a83 http://eressea.upb.de/mantis/view.php?id=1201
- parsing fucked up quotes when finding escaped chars.
- also, removed a warning
2008-04-18 23:12:23 +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 536b177387 http://eressea.upb.de/mantis/view.php?id=1393
- make mindblast less crazy
2008-03-29 22:06:20 +00:00
Enno Rehling 3e475d63ad SIMPLE_ESCAPE and SIMPLE_COMBAT no longer needed. 2008-03-29 09:15:14 +00:00
Enno Rehling 3fbf8ffbfc resizing a buffer that was way too small 2008-03-10 12:18:21 +00:00
Enno Rehling bb1059eaa1 http://eressea.upb.de/mantis/view.php?id=1364
"Wechsel von Astralraum in den Realraum möglich, obwohl Der Kontakt zur Realistät verhindert ist."
- was checking the wrong region.
2008-03-05 21:27:55 +00:00
Enno Rehling 1f69fb7060 http://eressea.upb.de/mantis/view.php?id=1280
do not count healed people among kills.
2008-03-05 20:58:44 +00:00
Enno Rehling 91ece491e5 http://eressea.upb.de/mantis/view.php?id=1344
"Kampfallianzen fehlerhaft"
New units must not be added to a group in another faction, ever.
2008-03-05 19:30:52 +00:00
Enno Rehling 33da72e28a http://eressea.upb.de/mantis/view.php?id=1308
"Fehler bei "Schlechte Träume""
- fixed curse_active check.
2008-03-05 18:39:44 +00:00
Enno Rehling 8bf96a5726 indentation fixes 2008-03-05 18:24:30 +00:00
Enno Rehling a94a80aa8f http://eressea.upb.de/mantis/view.php?id=1254
"Zauber kostet keine Aura"
2008-03-05 16:17:51 +00:00
Enno Rehling 280f5a1e97 missing newline in battle-logs 2008-03-05 15:50:59 +00:00
Enno Rehling 50504f0baf eliminating duplicate message-types. 2008-03-05 14:21:58 +00:00
Enno Rehling 68edb409fb - prevent heros from being promoted twice
- don't initialize order parser twice
- Übergabe von Helden an TEMP-Einheiten erlauben
2008-03-03 16:43:09 +00:00
Enno Rehling 1fb793509c indentation 2008-02-29 00:26:19 +00:00
Enno Rehling fe9bc734da http://eressea.upb.de/mantis/view.php?id=1366
"Doppelte Fehlermeldung"
- remove error message from inner function.
2008-02-12 18:51:22 +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 321723f69f http://eressea.upb.de/mantis/view.php?id=1367
"Gib Personen an Region ohne Wirkung"
- fixed previous bugfix
2008-02-12 17:59:41 +00:00
Enno Rehling e37b55699c http://eressea.upb.de/mantis/view.php?id=1250
- added missing feedback for spell
2008-02-07 20:56:22 +00:00
Enno Rehling b602fbfab3 http://eressea.upb.de/mantis/view.php?id=1362
"Beschreibung des Schneemanns unvollständig"
- fixed display of attacks
2008-02-05 15:36:43 +00:00
Enno Rehling 55fc1ccd47 http://eressea.upb.de/mantis/view.php?id=1351
"Gegner bewegt sich im Astralraum, obwohl er einen langen Kampf hatte"
- made guarding astral space work.
2008-02-05 15:23:07 +00:00
Enno Rehling f51e9c9de1 indentation 2008-02-04 23:39:05 +00:00
Enno Rehling b7fdfc5922 http://eressea.upb.de/mantis/view.php?id=1325
- fixed army_index
2008-02-04 23:36:22 +00:00
Enno Rehling 3a56a1127c http://eressea.upb.de/mantis/view.php?id=1349
"Dämonen gehen an die Bauern"
- fixed recruit/release of demons.
2008-02-04 23:14:50 +00:00
Enno Rehling 7dc301596e http://eressea.upb.de/mantis/view.php?id=1352
- mo message for failed astral transport
2008-02-04 21:15:03 +00:00
Enno Rehling 1318b4491d http://eressea.upb.de/mantis/view.php?id=1356
- fixed monster attacks
2008-02-04 19:55:11 +00:00
Enno Rehling a2c02ff638 http://eressea.upb.de/mantis/view.php?id=1360
"Dumpfbackenbrot funktioniert nicht?"
- removed old RTF_SNEAK flag (no longer required)
2008-02-04 19:22:55 +00:00
Enno Rehling ea71efe3f2 http://eressea.upb.de/mantis/view.php?id=1360
"Dumpfbackenbrot funktioniert nicht?"
- removed old RTF_SNEAK flag (no longer required)
2008-02-04 18:48:20 +00:00
Enno Rehling 16d55c2eaf http://eressea.upb.de/mantis/view.php?id=1361
"Blick in die Realität mit falschem Namen"
- make invisible races disappear from the CR.
2008-02-04 18:33:53 +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