Commit Graph

2704 Commits

Author SHA1 Message Date
Enno Rehling 1729f137de charset-angabe im CR (always IDO-8859-1 right now) 2007-06-24 12:51:16 +00:00
Enno Rehling a5b7b13a6d Cleanup: Removing parser-code from kernel/eressea.[hc] and putting it into
separate parser files in util/
2007-06-21 22:31:28 +00:00
Enno Rehling 5dbeb63531 potion texts do not belong inside the code. 2007-06-20 19:41:45 +00:00
Enno Rehling fde8e9bada old weapons code that is no longer needed since all weapons have been in XML for a long time. 2007-06-20 18:29:46 +00:00
Enno Rehling 1c2ed3aeda old weapons code that is no longer needed since all weapons have been in XML for a long time. 2007-06-20 18:28:47 +00:00
Enno Rehling 004d0f856c newly unused code can go. less code = good. 2007-06-20 18:19:43 +00:00
Enno Rehling 1a2c3942f1 Moving all item definitions to XML where they belong. 2007-06-20 18:15:29 +00:00
Enno Rehling fde595c7f7 http://eressea.upb.de/mantis/view.php?id=1198
- FOLLOW SHIP id [speed]
2007-06-20 12:54:47 +00:00
Enno Rehling e3496dd9e9 gcc doesn't like __cdecl. why was this here? 2007-06-20 00:45:22 +00:00
Enno Rehling 96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling 878914636d include not necessary 2007-06-13 19:29:26 +00:00
Enno Rehling 4614664164 Invalid format specifier 2007-06-13 12:39:09 +00:00
Enno Rehling 0c05d8f978 Lua 5.1 has deprecated the old for-syntax for tables. 2007-06-13 12:38:15 +00:00
Enno Rehling 9d72640755 Compiles with LUA 5.0, too 2007-06-11 23:56:04 +00:00
Enno Rehling 8c57e05798 Made Eressea compile and run with lua 5.1 2007-06-11 23:00:15 +00:00
Enno Rehling 4a75e13cb0 http://eressea.upb.de/mantis/view.php?id=1196
"Tarnung und Bilden neuer Einheiten"

Tarn-Status wird vererbt
2007-06-07 20:42:00 +00:00
Enno Rehling 29cfece1f3 http://eressea.upb.de/mantis/view.php?id=1195
"Welche Sprache spricht mein Gegenüber"

Info für andere Parteien jetzt auch im CR.
2007-06-07 20:41:13 +00:00
Enno Rehling 9f86a467b7 compile fixes 2007-05-30 01:23:21 +00:00
Enno Rehling 7233af54b4 Simple allow/deny style restrictions for archetypes (let only humans recruit gamedesigners, etc).
These need to be more powerful to be useful, and the current way they are implemented is not, but the general idea strikes me as good.

Also, feedback should be configurable for each failed rule.
2007-05-30 01:21:09 +00:00
Enno Rehling 0ebf9e3187 RTS/Archetypes (WIP):
- message and locale-fixes
2007-05-28 21:10:59 +00:00
Enno Rehling 5ca0e5cd8a simplified sue of localized parameter-strings in messages 2007-05-28 20:04:42 +00:00
Enno Rehling b5d6b0876e give player an error message when a message is missing. 2007-05-28 19:53:52 +00:00
Enno Rehling 54446e0a1e RTS/Archetypes (WIP):
- tested and fixed archetype-recruiting
2007-05-28 19:45:08 +00:00
Enno Rehling 2651973059 RTS/Archetypes (WIP):
- equipment for new factions
- game gets a calendar
2007-05-28 17:52:24 +00:00
Enno Rehling 0711b51cfe min/max confusion. again. 2007-05-28 17:32:15 +00:00
Enno Rehling c1ba34a268 archetype-recruiting can be limited by building-size 2007-05-28 17:31:40 +00:00
Enno Rehling bf89b256e5 broken xml file 2007-05-28 16:52:46 +00:00
Enno Rehling e639f53ea8 last commit didn't compile 2007-05-28 16:51:23 +00:00
Enno Rehling b1bf54067e welcomepath is no longer in use. 2007-05-28 16:10:34 +00:00
Enno Rehling b27da8c056 Archetypes (WIP): "RECRUIT 15 knight"
creates XML-configurable pre-skilled units for game variants with faster reinforcements.
Speeding up locale-string lookup a little bit, and making it more unified for different classes of strings (so new ones are easily added).
2007-05-28 16:03:48 +00:00
Enno Rehling 0fedaf43b2 building_type::name gets an extra parameter (for future use) 2007-05-28 09:46:23 +00:00
Enno Rehling e2c06c8b46 DESTROY command will recycle materials again (but only when building/ship is completely destroyed). 2007-05-28 09:34:26 +00:00
Enno Rehling 31bcc1030a recycle="0.5" is a more sensible default for building materials. 2007-05-28 09:26:08 +00:00
Enno Rehling fa6192daf9 Christmas update: we celebrate Knut. 2007-05-27 21:48:29 +00:00
Enno Rehling 27110e7e26 http://eressea.upb.de/mantis/view.php?id=1191
- trying another peasant migration algorithm

also:
- battle log optional (debug = 0 in the .ini file)
2007-05-27 21:20:06 +00:00
Enno Rehling 1ca7075c09 NEW_MIGRATION define is obsolete 2007-05-27 20:13:47 +00:00
Enno Rehling dfc89b163d http://eressea.upb.de/mantis/view.php?id=1189
"Kein Anpflanzen von Kräutern"

Bessere Fehlermeldungen fuer PFLANZE/ZUECHTE, und beide Funktionen zu einer zusammengefuehrt.
2007-05-22 17:09:23 +00:00
Enno Rehling 425a1eb390 Die Einheit hat diesen Gegenstand zwar, aber sämtliche $int($reservation) $resource($resource,$reservation) sind reserviert. 2007-05-15 20:11:25 +00:00
Enno Rehling 08d10d8588 assert wg. falscher message-parameter (der sollte eigentlich nicht noetig
sein)
2007-05-13 11:43:38 +00:00
Enno Rehling 9671629f47 Jamfile optimization 2007-05-03 11:08:51 +00:00
Enno Rehling 74de05a4d3 http://eressea.upb.de/mantis/view.php?id=1178
"Boot und Kueste"

localization of ", " returns "and"? weird.
2007-04-27 11:31:02 +00:00
Enno Rehling cd982034e4 http://eressea.upb.de/mantis/view.php?id=1179
"Textausgabe bei "Vertrauten rufen" falsch"
2007-04-27 11:27:12 +00:00
Enno Rehling 89108c997b uninitialized use of variable 2007-04-22 16:30:43 +00:00
Enno Rehling 6c71a3765a wrong message parameters make crash 2007-04-22 14:09:34 +00:00
Enno Rehling 668809b9c2 Beautification: New English texts, some NR fixes. 2007-04-22 12:45:54 +00:00
Enno Rehling a4ab94eabd nobody really needs the mapper anymore... 2007-04-22 01:29:01 +00:00
Enno Rehling c36b14e9e0 Nur Boote und Langboote koennen per Zauber fliegen.
Ein Item fuer den Flug von anderen Schiffen.
2007-04-22 01:10:38 +00:00
Enno Rehling 614aa80bdf CURSE_ISNEW moved so that it's generally defined by the curse_type, since most spells actually start working in the same round. 2007-04-22 00:30:12 +00:00
Enno Rehling af0a7b225a curse-flags funktionieren jetzt anders, und koennen per curse-type gesetzt werden so dass der spell es nicht tun muss, aber dann vom spell ueberschrieben werden (passiert per XOR). 2007-04-21 23:04:24 +00:00
Enno Rehling 8d804fecdb unintentional comma operator 2007-04-19 15:14:52 +00:00
Enno Rehling 8159fdae46 http://eressea.upb.de/mantis/view.php?id=1172
"Fliehende Einheit verliert Waffen"

Miscalculated lootfactor
2007-04-19 14:54:17 +00:00
Enno Rehling cb65679573 zuviel entfernt 2007-04-15 10:42:26 +00:00
Enno Rehling f227f1a7b1 Deutsche Rechtschreibung: Pluralbildung von Abkuerzungen gibt es nicht. 2007-04-15 10:38:34 +00:00
Enno Rehling 72d0596bec strcmp() bugfixes 2007-04-15 08:01:12 +00:00
Enno Rehling 6283910959 - Fehlermeldungen ueber fehlende item-infos und Rasseninfos entfernt
- Falsche Rasseninfos (Attacken) aus strings.xml entfernt
2007-04-08 08:24:09 +00:00
Enno Rehling d57e6724d1 http://eressea.upb.de/mantis/view.php?id=1170
Translating the familiar-description and moving some part to documentation.
2007-04-08 07:43:39 +00:00
Enno Rehling 81a89b8d47 quicker % 2007-04-04 19:27:20 +00:00
Enno Rehling 85e9803acf bugfix xmastrees 2007-04-04 19:25:40 +00:00
Enno Rehling e5bd9e8199 funktion. braucht klammern. 2007-04-04 18:52:11 +00:00
Enno Rehling a8e543c3f3 Error message when password is wrong. 2007-03-25 20:00:14 +00:00
Enno Rehling c95342a88b cleaning up in the magic code a little, and making the actual casting a separate function for easier debugging. 2007-03-25 18:37:28 +00:00
Enno Rehling 98141baec1 http://eressea.upb.de/mantis/view.php?id=1164
"ZAUBERE Gabe~des~Chaos produziert keine Meldung"

korrekte uebergabe des levels erzeugt fehlermeldung.
2007-03-25 17:29:31 +00:00
Enno Rehling ae4f52e80d http://eressea.upb.de/mantis/view.php?id=1156
"Bergwächter bewacht Ebene"

Spruchbeschreibung aktualisiert.
2007-03-25 09:59:25 +00:00
Enno Rehling 64fa29f9df http://eressea.upb.de/mantis/view.php?id=1162
"BENENNE und BESCHREIBE bei TEMP-Einheiten funktioniert nicht"

Die neue generalisierte Logik hat zugeschlagen :-(

Ausserdem wieder eine Reihe englischer Uebersetzungen.
Issue: 1162
2007-03-25 09:52:23 +00:00
Enno Rehling c722a382a2 Generalisierung der Tests fuer lange Befehle, (Insekten, Meermenschen auf See usw.) damit ich die nicht ueberall vergesse. 2007-03-25 00:04:40 +00:00
Enno Rehling eb1d2373e8 http://eressea.upb.de/mantis/view.php?id=1157
"Menschen reparieren Schiffe auf See"

lange befehle sind auf see nicht erlaubt.
2007-03-24 23:06:55 +00:00
Enno Rehling 28582c6728 http://eressea.upb.de/mantis/view.php?id=1160
"Kein langer Befehl nach angeblichem Kampf"

Nur ein bischen Kosmetik.
2007-03-24 21:14:01 +00:00
Enno Rehling 26fc10dbc9 sp_rallypeasantmob crashed last week 2007-03-24 19:32:30 +00:00
Enno Rehling bc8b097f32 http://eressea.upb.de/mantis/view.php?id=1153
"keine Beute"

Bei 100% Tod wurde skaliert bevor Beute verteilt wurde, Beute gab es nur wenn
die Einheit noch jemanden am leben hattte. Ist repariert.
2007-03-16 20:59:15 +00:00
Enno Rehling 0bee2f7f25 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Falsche REgion getestet, hah.
2007-03-12 20:51:24 +00:00
Enno Rehling 5673207fe3 http://eressea.upb.de/mantis/view.php?id=1151
"Einheit konnte sich nach Kampf nicht bewegen"

Not clearing thisorder for fleeing units might do the trick.
2007-03-11 23:03:10 +00:00
Enno Rehling 9aef2904c3 sp_generous translation 2007-03-11 22:59:12 +00:00
Enno Rehling 4ea302940f http://eressea.upb.de/mantis/view.php?id=1151
"Einheit konnte sich nach Kampf nicht bewegen"

Die KAEMPFE FLIEHE logik hat drauf vertraut, das movement nur nach UFL_NOTMOVING schaut, nicht nach LONGACTION. dafuer muss aber eine Menge getan werden, das nicht wurde. Jetzt aber...
2007-03-11 22:18:58 +00:00
Enno Rehling f9a39f6717 bugfix 2007-03-11 21:46:45 +00:00
Enno Rehling 4c463f1fc3 More English spell effects 2007-03-11 21:46:04 +00:00
Enno Rehling c0ec4a9a15 English spell effect 2007-03-11 21:37:38 +00:00
Enno Rehling e9feec08ba Routine fuer "Teure Fremde" hat auch Untote korrigiert. 2007-03-11 20:52:09 +00:00
Enno Rehling 8b2897406c Schiffsbeschleunigung auf Englisch
- needed a "$lt()" function
2007-03-11 14:18:03 +00:00
Enno Rehling 349f6f9828 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Kosmetischer Fix.

Ausserdem:
- Schiffsbeschleunigung auf Englisch
- less verbose on the monster spawns
2007-03-11 14:03:41 +00:00
Enno Rehling 41a9ffb7b3 compile fixes, report fixes 2007-03-09 23:38:13 +00:00
Enno Rehling 9370a34190 bugfix info_str messages 2007-03-09 22:10:01 +00:00
Enno Rehling 0423debfde - All the cinfo_* functions will now return a message * object, which is nicer than using buf[]. 2007-03-09 21:34:40 +00:00
Enno Rehling 1030e44c07 - All the cinfo_* functions will now return a message * object, which is nicer than using buf[].
- Some English translation.
2007-03-09 21:30:00 +00:00
Enno Rehling da224f6670 Cleanup in cinfo_ code, although I would prefer that it doesn't write into buf but returns a message *. sometime later. 2007-03-07 22:38:04 +00:00
Enno Rehling 041a258ab2 do not crash when missing curseinfo 2007-03-07 13:24:12 +00:00
Enno Rehling 39e942fd99 Zwei neue Zauberbeschreibungen in Englisch. 2007-03-05 20:57:38 +00:00
Enno Rehling 34c20e5c94 translation: Blick in die Realitaet 2007-03-05 19:19:49 +00:00
Enno Rehling 6df82c0749 http://eressea.upb.de/mantis/view.php?id=1148
"Beute von fliehenden Einheiten nach neuen Kampfregeln"

only loot for dead units is given to the enemy.
2007-03-05 18:37:58 +00:00
Enno Rehling 68e2ec932f http://eressea.upb.de/mantis/view.php?id=1149
"Ozean wird im CR zum Regionstyp Mahlstrom, verliert im CR aber seinen Namen"

Maelstrom wird jetzt programmatisch in terrain_name gemacht (auch wenn es besser in terrain::name() sein sollte).
2007-03-04 22:27:32 +00:00
Enno Rehling 6dd3e9b1d4 FAST_DEBUG kann wieder ausgeschaltet werden. 2007-03-04 21:58:19 +00:00
Enno Rehling 07cb8d1fad removing units (versteinern) cleaned up and now invalidates the fast-cache so the assert shouldn't trigger any more. 2007-03-04 21:52:13 +00:00
Enno Rehling e7e0ef994b DEBUG_FAST macro and extra code to verify the FASTCOUNT code. 2007-03-04 21:30:39 +00:00
Enno Rehling 6c8c7ae592 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Fehlerkontrolle muss in den spell selbst hinein, weil SEARCHGLOBAL nicht testet, aber wegen Einheit in anderer Region noetig.
Meldung ueber fehlende Einheit fuer Zauber in eigene Funktion gesplittet.
2007-03-04 20:26:31 +00:00
Enno Rehling 2576f781d4 validation code for FASTROW optimization 2007-03-04 18:46:01 +00:00
Enno Rehling 373e869931 http://eressea.upb.de/mantis/view.php?id=1147
"FOLGE trotz langem Kampf"

Die Berechnung ob eine Seite Bewacher hat, war ziemlich falsch.
2007-03-04 18:40:52 +00:00
Enno Rehling 0f0155fd0c Disabling optimizations because one of them broke the combat asserts in
round 512.
Fixing a sprintf bug in building names
2007-03-04 17:52:59 +00:00
Enno Rehling 07ecc3e517 calling getplane() and rplane() is a real waste of cycles (and happens enough to shortcut it) 2007-03-01 21:51:35 +00:00
Enno Rehling fc121f99a6 command line parsing starts after the - 2007-03-01 07:55:44 +00:00
Enno Rehling 6b6132605f http://eressea.upb.de/mantis/view.php?id=1143
"Ich habe mit dem Astralen Ruf eine mir unbekannte Einheit gerufen"

sp_pullastral gibt eine Region an. Da ist SEARCHGLOBAL der falsche Parameter fuer den Zauber, und fuehrt zu massivem exploit.
2007-02-28 22:22:40 +00:00
Enno Rehling 3428e5bb93 Exporting score (was used for HSE4) 2007-02-28 22:15:23 +00:00