Commit Graph

1710 Commits

Author SHA1 Message Date
Enno Rehling bf6dbe4b26 fixing a few crashes when new_race[i] is null.
error handling for missing seenspells.
2006-01-02 08:38:46 +00:00
Enno Rehling 0336a0953e - Fehler in der neuen random_terrain routine gefunden.
- Problem mit altem luabind repariert.
2006-01-01 23:29:04 +00:00
Enno Rehling ba555c842a somehow random_terrain still crashes. oh, and tha familiar stuff was in the
wrong function
2006-01-01 22:20:52 +00:00
Enno Rehling f8991a844f bischen durcheinandergekommen beim nummerieren. 2006-01-01 21:29:22 +00:00
Enno Rehling b2f1b213d4 Regionsalter auf Startwert setzen 2006-01-01 20:56:11 +00:00
Enno Rehling 4dec5c914d code-polishing: Vertraute werden nicht mehr als RC_* gebraucht.find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell) 2006-01-01 20:53:12 +00:00
Enno Rehling 9eb50890c6 code-polishing: Vertraute werden nicht mehr als RC_* gebraucht. 2006-01-01 20:50:36 +00:00
Enno Rehling c60502bfc8 find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell) 2006-01-01 20:11:09 +00:00
Enno Rehling eb35aab047 work in progress 2006-01-01 19:40:01 +00:00
Enno Rehling bd5f6e5683 that line is now obsolete. 2006-01-01 19:12:50 +00:00
Christian Schlittchen a79454dd54 register vergessen 2006-01-01 19:08:09 +00:00
Enno Rehling e9a7108423 LUASPL_* ids entfernt, weil jetzt ein System existiert, die spell-id in XML zu setzen um zu alten Daten kompatibel zu bleiben. 2006-01-01 19:03:35 +00:00
Enno Rehling dfebbe3bc0 didn't compile 2006-01-01 18:38:32 +00:00
Enno Rehling b49d1cadca Aus dem TODO:
- WDW spells per XML definiert, so dass sie nicht in Eressea auftauchen, aber auch kein define benötigen

- Neue Variante des seenspell-attributes.

- weniger find_spellbyid() aufrufe.
2006-01-01 18:35:55 +00:00
Enno Rehling eadda41bcb no more find_spellbyid for resource files. 2006-01-01 17:19:51 +00:00
Enno Rehling 657fc3d123 WDW_PHOENIX define removed:
- Der Initialisierungs-Code ist in LUA reimplementiert.

- Ich habe das ganze spoils-Konzept etwas allgemeiner gemacht, man kann jetzt einfach ein equipment-objekt in XML definieren (siehe vinyambar-wdw.xml) der die spoils für eine Rassea angibt, (z.B. phonix_spoils nennen).

- Das gleiche für Drachen und Seeschlange gemacht.
2006-01-01 16:58:59 +00:00
Christian Schlittchen 5fa56103cc Fehlende Dateien, Umlautkorrektur 2006-01-01 15:17:08 +00:00
Christian Schlittchen 29df2263c6 Phoenixkompass fuer wdw, noch ungetestet 2006-01-01 15:15:41 +00:00
Enno Rehling c456b8aceb descriptions xmas 2003 2005-12-31 16:36:57 +00:00
Enno Rehling 9bf60a5451 Spezialfall: Einheiten, die nicht laufen können.
LUA: Rasse ändern ändert auch irace.
2005-12-31 16:13:20 +00:00
Enno Rehling 90e8fb11fd http://eressea.upb.de/mantis/view.php?id=779
Zauber Nebel der Verwirrung hat keine Funktion
- verwirrung für schiffe implementiert.

- neue waffe: schneeball. nur für schneemänner, hoffe ich
2005-12-31 15:20:36 +00:00
Enno Rehling c7fe0c33ca http://eressea.upb.de/mantis/view.php?id=717
a littl code cleanup related to peasant growth
2005-12-31 14:23:09 +00:00
Enno Rehling 40b5fa20be only indentation changes. 2005-12-31 14:01:54 +00:00
Enno Rehling 80186ba627 - error handling missing terrains
- bugfix terrain-xml
2005-12-31 13:45:10 +00:00
Enno Rehling d0d03c08af Compile-fixes. 2005-12-31 13:18:35 +00:00
Enno Rehling 988a0078c4 Bessere Lösung für das auto-seeding: Jeder Terraintyp kriegt eine relative Häufigkeit in die XML-Daten. 2005-12-31 13:13:44 +00:00
Enno Rehling c30cebd352 Beim erzeugen neuer Inseln keine Eisberge und Vulkane mehr machen. 2005-12-31 13:01:11 +00:00
Enno Rehling 2b1c46bbcc - Zauber und Illusionen nehmen keinen Schaden
- Gegenstände in Partei- und Regionspool kann man mit ZEIGE anzeigen
2005-12-28 21:07:01 +00:00
Enno Rehling 76976a970e bugfix terraforming in regionen ohne production 2005-12-21 10:11:19 +00:00
Christian Schlittchen e8746177bc Newlines in mistake-Meldungen mag Magellan nicht 2005-12-21 09:36:50 +00:00
Enno Rehling df94b39f8c http://eressea.upb.de/mantis/view.php?id=775
noch ein nachtrag
2005-12-19 18:27:07 +00:00
Enno Rehling 520a485b16 production-chance ist falsch. 2005-12-19 18:09:35 +00:00
Enno Rehling 5c07121a9f http://eressea.upb.de/mantis/view.php?id=775
Berge ohne Eisen (und generell Regionen ohne Resourcen).
2005-12-19 17:31:27 +00:00
Enno Rehling 945a60a20c Sicherstellen, dass keien hardlinks automatisch übermeiert werden (unlink).
Schnelleres Backup ohne system() mit Hardlinks.
2005-12-18 21:53:12 +00:00
Enno Rehling a18ca097b9 renamed_faction_notseen doesn't need that parameter. 2005-12-18 18:19:14 +00:00
Enno Rehling d187097fad - bugfix broken subset-selection
- bugfix lighthouse-update
2005-12-11 15:39:53 +00:00
Enno Rehling b2bd092252 do not crash when there's no generic building type 2005-12-11 15:30:05 +00:00
Enno Rehling d51b277d8a crashbug missing volcano_terrain 2005-12-11 15:14:03 +00:00
Enno Rehling 5cf53c332a making read_newfactions() a little less picky, and giving default passwords. I hope. 2005-12-11 15:09:57 +00:00
Enno Rehling bbcc80643a - bugfix fehlender burgenbonus (maxcapacity 4)
- removed old xml-writing code
- fixed a crash related to astralspace

kingdoms:
- building type castle
2005-12-11 14:54:50 +00:00
Enno Rehling a8b9c29be4 har du data saa er det altid en god ide aa spare den, ellers forsvinne ting plutselig 2005-12-11 14:31:06 +00:00
Enno Rehling 8daf1c86f3 dice_rand versteht jetzt auch klammern. 2005-12-11 14:10:11 +00:00
Enno Rehling 4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +00:00
Enno Rehling 85b791afda oh, shit. newbie-regionen haben extreme untotenhorden gekriegt. 2005-12-10 12:07:23 +00:00
Enno Rehling 15031089b4 http://eressea.upb.de/mantis/view.php?id=772
Falsche Lohn-angabe im CR
2005-12-04 17:15:30 +00:00
Enno Rehling e89b1c908d crashbug mapper
bugfix random_terrain
2005-12-04 00:58:57 +00:00
Enno Rehling b09d0a89a7 http://eressea.upb.de/mantis/view.php?id=769
Seltsames Ergebnis von Übergaben

RTF_SNEAK wurde bei fehlendem attribut falsch gesetzt.
2005-12-02 23:04:36 +00:00
Enno Rehling 5aa0ca5ff5 source formatting. 2005-12-02 20:23:54 +00:00
Enno Rehling 5f43830f59 http://eressea.upb.de/mantis/view.php?id=765
http://eressea.upb.de/mantis/view.php?id=764

PopulationDamage war um Faktor 100 zu hoch.
2005-11-28 08:07:01 +00:00
Enno Rehling d808de65c8 new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute)
exported to LUA: x.objects returns the collection of objects, accessible through :get() and :set() functions
2005-11-26 15:28:11 +00:00
Enno Rehling 10b2d08a0a new attribute "object" allows arbitrary named data to be added to any object (improvement on the "key" attribute) 2005-11-26 11:49:20 +00:00
Enno Rehling 531115b392 - spawning new dragons and undead is now optional (lua function)
- battle-effect on peasants is configurable (by XML param)
2005-11-26 11:00:20 +00:00
Enno Rehling ba2e0fef8c more code that fails when there are no luxuries 2005-11-26 01:24:28 +00:00
Enno Rehling 38062fa990 more code that fails when there are no luxuries 2005-11-26 01:16:55 +00:00
Enno Rehling 3524cb59d2 random_terrain() function 2005-11-26 00:42:32 +00:00
Enno Rehling b04b3ea168 kingdoms: missing mallorn seeds 2005-11-26 00:09:29 +00:00
Enno Rehling f0ce33304b kingdoms: handling lack of luxuries 2005-11-26 00:08:47 +00:00
Enno Rehling e8a022ae75 kingdoms: error -> warning if we cannot find a hard-coded race 2005-11-26 00:01:26 +00:00
Enno Rehling fd3b6ac6d3 kingdoms: removing crash if seeds don't exist. 2005-11-25 23:57:58 +00:00
Enno Rehling 3ae0abad4b bugfix old lua versions
removing some instances of oldterrain() calls

kingdoms: removing assert on missing old races
kingdoms: handling missing potions gracefully
2005-11-25 23:52:53 +00:00
Enno Rehling aa4fda7e26 kingdoms: null-pointer crash if potion type does not exist 2005-11-25 23:39:50 +00:00
Enno Rehling 4157bfbea2 bugfix assert 2005-11-25 23:15:52 +00:00
Enno Rehling 6e76a3d601 luabind: using define LUABIND_OLD instead of BOOST_VERSION 2005-11-25 22:25:13 +00:00
Enno Rehling cd70cfcb8b syntax error 2005-11-25 22:17:41 +00:00
Enno Rehling bb1e86ebb4 new code for 'kingdoms':
- disabling skills
- region owners
- maintenance costs configurable
- wage configurable
2005-11-25 22:09:59 +00:00
Enno Rehling 532eb77c51 http://eressea.upb.de/mantis/view.php?id=761
Doppelte Angriffsmeldungen

battle message only reported once per round&unit
2005-11-25 21:11:05 +00:00
Enno Rehling d215d26f45 http://eressea.upb.de/mantis/view.php?id=762
Teufelchen als Vertrauter einmal mit und einmal ohne Aura

Neue Vertraute haben kein mage-attribut gekriegt beim ersten lernen.
2005-11-25 17:07:41 +00:00
Enno Rehling 40ef16c53f removed warnings 2005-11-20 14:50:15 +00:00
Enno Rehling 7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling 7c2b1e3445 that stupid warning triggers too often for anyone to pay attention to it 2005-11-20 00:15:16 +00:00
Enno Rehling e006d8a4d0 smallish compile-fixes for linux 2005-11-18 23:42:11 +00:00
Enno Rehling 357a73e826 XML reports - incomplete implementation, might finish it eventually. 2005-11-18 23:23:47 +00:00
Enno Rehling 4660c690a8 wyrms don't make room for upstart newcomers. 2005-11-18 21:12:27 +00:00
Enno Rehling 83b2feffa6 Wyrms are solitary creatures. 2005-11-18 21:02:29 +00:00
Enno Rehling 2380573d77 crashfix terraform w/ oldterrain==NULL 2005-11-14 18:58:09 +00:00
Enno Rehling 29b84b640e More gentle terraforming: If a region is terraformed and has the same size as before, no need to change the trees. No need to change peasants or money either 2005-11-11 22:53:58 +00:00
Enno Rehling 028753b06b - MACHEN ALLES "Wasser des Lebens" sollte jetzt gehen.
- Alte Funktion entfernt.
2005-11-06 11:33:19 +00:00
Enno Rehling d2a75f15fe code cleanup, reports. report types are now registered (some code I had on my disk since the days I was writing xml reports), and a new mailit format (reports.txt replaces mailit). Also, no more writing of shellscripts from the server, since that's done by an external script now. 2005-11-02 21:10:40 +00:00
Enno Rehling f6952988e4 made compatible to earlier luabind version (just to avoid some work non VC++), but a little hackishly through the BOOST_VERSION define.
removed some almost unused funtions (pt_find, etc).
2005-11-01 20:33:21 +00:00
Enno Rehling dfc6f83c62 upgrade to luabind beta-7 devel-2
upgrade to g++ 4.0
2005-10-31 22:34:45 +00:00
Enno Rehling db9589bed1 luxusgueter raus aus dem code, rein in die CML files 2005-10-30 18:22:28 +00:00
Enno Rehling eba19999f4 noch mehr funktionen mit new_ prefix aus pool.h bekommen den entfernt. 2005-10-30 15:42:15 +00:00
Enno Rehling 7cfc188e64 bug in pool-parameters (mode and amount mixed up in production code) 2005-10-30 11:55:22 +00:00
Enno Rehling ada8c3a52d bugfix: water of life
initialization of potion text
removing #if 0 code.
2005-10-30 09:51:02 +00:00
Enno Rehling 1113d3d7e9 bugfix luxuries. now possible (though not done) to read them from xml. 2005-10-29 16:28:10 +00:00
Enno Rehling 89e8c622c7 more weapons out of the code. 2005-10-29 16:10:08 +00:00
Enno Rehling baab10febe the last of the item_type constants disappear. 2005-10-29 15:03:18 +00:00
Enno Rehling f6524ee015 kicking out a few more hardcoded item_type objects. 2005-10-29 14:48:37 +00:00
Enno Rehling cb9106473b Special non-item resources like hp and peasant can now be defined externally.
removed all the hardcoded armor from the source.
2005-10-29 14:12:46 +00:00
Enno Rehling 3eef9447e9 renaming the pool funtions (no need for a new_ prefix anymore) 2005-10-29 12:25:53 +00:00
Enno Rehling 7017f27304 quick changes to remove the old pool functions that use resource_t 2005-10-29 12:08:40 +00:00
Enno Rehling 43e44a083e bugfix init_oditems: if a resource was later in the list than one that used it, the game would crash 2005-10-29 11:39:34 +00:00
Enno Rehling 91da1f6e89 The quest to remove resource_t from the game continues (finally) 2005-10-29 11:17:21 +00:00
Enno Rehling 756b65b1ed functions need to be defined before used by items (before xml) 2005-10-26 20:30:02 +00:00
Enno Rehling e31215f8f1 removing hardcoded itemtypes that now give warnings. 2005-10-26 20:12:28 +00:00
Enno Rehling e67f9b0892 still fixing the seeds. mapper comes later 2005-10-26 19:47:28 +00:00
Enno Rehling 0e0f37d970 bugfix seed-registrierung 2005-10-26 19:02:45 +00:00
Enno Rehling abcaac8f97 removing seeds and mallornseeds from the source (less warnings, too). 2005-10-25 21:24:15 +00:00
Enno Rehling ac30257333 removed a lot of old code that used or initialized potions and herbs, moved those to the xml data instead. also made spells use resource_type instead of resource_t to have one less place where those are used.
The tech-tree loading is now smart enough that a resource can depend on another one that isn't loaded yet (it builds a dummy of the resource at first). his can backfire if you then forget to define that resource for real, i'll eventually need error-handling there.
2005-10-25 20:44:18 +00:00
Enno Rehling 688b796aec - sk_ prefixes von den skillnames entfernt. 2005-10-25 14:51:15 +00:00