Commit graph

2593 commits

Author SHA1 Message Date
Enno Rehling
da6e342ff3 Lua extension: ships get a weight and capacity property. 2006-07-25 09:57:47 +00:00
Enno Rehling
93b5f5502a http://eressea.upb.de/mantis/view.php?id=920
"Siebenmeilentee hat nicht gewirkt"
Siebenmeilentee wirkt ab sofort nur auf Wesen, die nicht schwimmen koennen.
Issue: 920
2006-07-25 09:30:50 +00:00
Enno Rehling
9f146d1a07 http://eressea.upb.de/mantis/view.php?id=962
"Merkwürdige Fehlermeldung bei Delphin"
Neue Message-Funktion, die den Terraintyp einer Region ausgibt.
2006-07-25 09:21:20 +00:00
Enno Rehling
5317da7512 Snowman race kriegt einen richtigen namen. 2006-07-24 23:20:52 +00:00
Enno Rehling
aa1080be86 adapted french strings to new xml layout (now that they might work) 2006-07-24 23:19:40 +00:00
Enno Rehling
19870b9b2b Distanzberechnungen in Lua 2006-07-24 23:18:38 +00:00
Enno Rehling
25dcc85f66 http://eressea.upb.de/mantis/view.php?id=950
"missing info texts (newbie_info_1, etc)"
xi:include should not use file= but href=. fixed in all games.
2006-07-24 23:07:28 +00:00
Enno Rehling
02b012ed47 http://eressea.upb.de/mantis/view.php?id=960
"0 Wirkungen Siebenmeilentee"
Ausgabe in CR und NR respektiert "leere" attribute.
Issue: 960
2006-07-24 20:49:58 +00:00
Enno Rehling
88ecdd173a http://eressea.upb.de/mantis/view.php?id=959
"Eisberg treibt ab und angelandetes Boot nimmt Schaden"

as mentioned in the bug, regions get their neighbor-relations screwed after icebergs drift. in runhash(), I'm removing the relationships so that they are getting rebuilt properly.
Issue: 959
2006-07-24 20:35:30 +00:00
Enno Rehling
aaf7443d53 removing more hardcoded items from the source. 2006-07-12 22:14:16 +00:00
Enno Rehling
4a74bfdf9d minimaler cleanup 2006-07-12 22:02:24 +00:00
Enno Rehling
5078f1914d http://eressea.upb.de/mantis/view.php?id=954
"Seeschlangen hinterlassen Drachenblut und Drachenkopf"
Seeschlangenkopf in das seaserpent_spoils equipment gepackt.
2006-07-12 22:01:41 +00:00
Enno Rehling
997543b742 "wdwpyramid" should be registered in register_spells, not init_spells 2006-07-10 20:12:37 +00:00
Christian Schlittchen
7c134e4f54 Kleine Hilsfunktion zur Anzeige der registrierten Funktionen aus dem Debugger:
print list_registered_functions()
2006-07-10 20:11:50 +00:00
Christian Schlittchen
d9f541f59e - gcc-4.0 festgeschrieben, luabind will nicht mit 4.1
- Bergwaechter kann in jede Region gesetzt werden
2006-07-02 21:22:34 +00:00
Enno Rehling
0b891b5a00 http://eressea.upb.de/mantis/view.php?id=923
http://eressea.upb.de/mantis/view.php?id=925
Ring of invisibility wearer indirectly visible

Problem was that there was a check for general stealth that was done first,
and rings were skipped if it failed. Fixed.
2006-06-06 20:01:21 +00:00
Enno Rehling
9bd06d5b60 unreported: units that have left a ship and entered another unit will take the left_ship status with them so they can't leave the region. 2006-06-05 17:58:51 +00:00
Enno Rehling
6b835e9b82 - Making the new highlight/select bindings work
- script to move selected regions
2006-05-25 22:34:58 +00:00
Enno Rehling
964387c834 Erweiterung, um aus einem vom gmtool heraus aufgerufenen Skript Regionen zu highlighten oder zu selektieren. Noch ungetestet. 2006-05-25 14:56:10 +00:00
Enno Rehling
42ede42656 http://eressea.upb.de/mantis/view.php?id=917
Steinbauer bekommen Steinbruchbonus obwohl Gebäude zu klein
  Personen, die gerade erst in ein Schiff oder Gebaeude neu hineinkommen, werden jetzt UNTEN an die existierenden Personen dransortiert.
2006-05-25 13:09:10 +00:00
Enno Rehling
8cd3685b56 http://eressea.upb.de/mantis/view.php?id=913
- Magiefresser + Farcasting benutzt die falsche Region
2006-05-22 21:32:39 +00:00
Enno Rehling
52ac81707b http://eressea.upb.de/mantis/view.php?id=912
- leave no child behind (rounding error in peasants)
2006-05-22 20:27:55 +00:00
Enno Rehling
d6397d6edb http://eressea.upb.de/mantis/view.php?id=900
Waehrend der NewbießImmunitaet kann nicht bewacht werden.
2006-05-22 20:17:55 +00:00
Enno Rehling
d57e05fcd7 crashbug dying clone-mages 2006-05-21 10:35:08 +00:00
Enno Rehling
4ea7779932 http://eressea.upb.de/mantis/view.php?id=909
FOLGE SCHIFF fehlerhaft
- es wurde kein at_shiptrail erzeugt, wenn noch ein anderes attribut in der liste war, und stattdessen das attribut eines anderen shciffes verhunzt. Böse.
2006-05-19 22:09:12 +00:00
Enno Rehling
dabb8ae3c2 http://eressea.upb.de/mantis/view.php?id=907
Fix to the fix for ship-damage
2006-05-19 19:37:33 +00:00
Enno Rehling
d72c0ab07e LUA: region.herbtype 2006-05-08 20:28:53 +00:00
Enno Rehling
9fd87309c7 http://eressea.upb.de/mantis/view.php?id=903
Gletscherkräuter für Gletscher
2006-05-08 20:12:46 +00:00
Enno Rehling
d47957487a http://eressea.upb.de/mantis/view.php?id=902
Verfuegbare Beladung auf Schiffen fehlerhaft
2006-05-07 21:54:53 +00:00
Christian Schlittchen
10b1306b30 Diverse wdw-Fixes 2006-05-07 21:11:49 +00:00
Enno Rehling
78d222138e http://eressea.upb.de/mantis/view.php?id=849
BENUTZE Dumpfbackenbrot
2006-05-07 20:26:39 +00:00
Enno Rehling
d47f599537 crashbug toter magier mit antimagiczone 2006-04-23 08:56:51 +00:00
Enno Rehling
d8a89d7630 familiar crap. 2006-04-22 21:45:59 +00:00
Enno Rehling
722e66be41 http://eressea.upb.de/mantis/view.php?id=894
Gib dem imp Zucker
2006-04-22 20:05:09 +00:00
Enno Rehling
978242f52c böser fehler in der fix_familiar() routine von letzter woche. 2006-04-22 18:43:58 +00:00
Enno Rehling
da12fb8586 lua properties for get/set familiar. 2006-04-22 11:32:28 +00:00
Enno Rehling
7db317b2e0 passengers on drifting ships receive a message. 2006-04-17 18:48:24 +00:00
Enno Rehling
4c3e912a30 added the forgotten bindings to gamecode 2006-04-17 10:08:13 +00:00
Enno Rehling
139fceb5f8 http://eressea.upb.de/mantis/view.php?id=885
und und
2006-04-16 23:16:19 +00:00
Enno Rehling
4d82a5eca3 saving also on 'S' (since F2 isn't reliable) 2006-04-16 17:26:50 +00:00
Enno Rehling
7c80bbfebb lua-skripting für gmtool fertig 2006-04-16 16:32:14 +00:00
Enno Rehling
1e5aeac0e5 familiarmage attribute in CR
bindings for the GM tool (selection, current region)
2006-04-16 16:11:16 +00:00
Enno Rehling
288961e38a lua bindings:
- moved gamecode-related ones to a new object file
- added bindings to the gmtool
- fixed scripts that used set_brain()
2006-04-16 14:18:09 +00:00
Enno Rehling
ec1f6c9963 lua-gmtool kompiliert unter linux 2006-04-16 13:04:52 +00:00
Enno Rehling
4316903e9a lua for the gmtool 2006-04-16 12:48:55 +00:00
Enno Rehling
b74a0b6b50 a little more precision on the "cannot move" error messages. again. 2006-04-16 10:50:24 +00:00
Enno Rehling
85efcd6511 Ausgabefehler Kampfreihen 2006-04-15 22:34:03 +00:00
Enno Rehling
34fce9b8a7 - removing cruft
- fixing print_fighters() since list is not ordered by status anymore
2006-04-15 22:10:57 +00:00
Enno Rehling
573d283e92 'H': highlight (by terrain/units/faction/ships/none)
'T': tag (by terrain/units/faction/ships/none)
't': tag/untag current region
2006-04-14 16:56:48 +00:00
Enno Rehling
0aa0be8557 unnecessary function 2006-04-13 21:41:27 +00:00
Enno Rehling
0b63b23d34 Heer-Nummerierung andersrum. 2006-04-13 19:54:24 +00:00
Enno Rehling
4d8ed2c854 Simplified the combat code, removing battle::fighters and putting things in lists rather than vectors.
Removed the unnecessary shuffling and sorting that takes quite some time.
Fixed a few bugs in ally-selection, I think.
2006-04-13 17:16:15 +00:00
Enno Rehling
50b94b730d New and simplified combat rules.
To activate, define SIMPLE_COMBAT in your settings.h
2006-04-10 21:13:22 +00:00
Enno Rehling
5e57e78818 fix familiar-fixes 2006-04-09 19:19:18 +00:00
Enno Rehling
11bc581285 gmtool, angefangen highlighting zu implementieren.
bugfixes letzter eressea-commit
2006-04-09 18:13:47 +00:00
Enno Rehling
2f8e9e2053 on a hunch, checking that number of mages is correct. Also, removing invalid familiars. 2006-04-09 18:10:57 +00:00
Enno Rehling
64ca5c666e log_* routines write complete log to logfile, abbreviated (last message...) only to stderr. 2006-04-09 17:53:45 +00:00
Enno Rehling
fc70d1d66a fix for fix_familiars complaining about goblins.
indentation fixes.
2006-04-09 17:35:15 +00:00
Enno Rehling
8c2e545698 Adresse fuer eressea ist upb.de 2006-04-09 17:30:05 +00:00
Enno Rehling
0b88d46667 http://eressea.upb.de/mantis/view.php?id=879
- kopflose, blutleere Wyrme repariert.
2006-04-09 14:26:02 +00:00
Enno Rehling
2f7ef14898 http://eressea.upb.de/mantis/view.php?id=863
- Gewichtsberechnung für TRANSPORTIERE
2006-04-09 10:55:41 +00:00
Enno Rehling
c33cd598b5 - summondragon parameter list
- number of new players.
2006-04-09 09:31:16 +00:00
Enno Rehling
71ed9ee27a http://eressea.upb.de/mantis/view.php?id=878
Falsche Regionsparameter für Drachenruf
2006-04-08 06:55:04 +00:00
Enno Rehling
1dd85e6a02 http://eressea.upb.de/mantis/view.php?id=875
Folge Schiff hat falschen Befehl in Fehlermeldung
2006-04-08 06:48:54 +00:00
Enno Rehling
33c1741fff http://eressea.upb.de/mantis/view.php?id=877
Error 187 passiert nur bei Bewegung, nicht länger im Kampf. Meldung angepasst.
2006-04-08 06:44:11 +00:00
Enno Rehling
07fbf26a4a http://eressea.upb.de/mantis/view.php?id=876
- Rundenzählung für Parteien überarbeitet, noch einmal. Sollte jetzt endlich zu den Regeln passen.
2006-04-07 21:49:38 +00:00
Enno Rehling
029a187be0 -O ausschalten 2006-04-04 20:26:31 +00:00
Enno Rehling
0c5ff9f447 http://eressea.upb.de/mantis/view.php?id=868
Die "Akademie der Künste" aus dem Künstlerwettbewerb wirkt auf alle Talente
2006-03-26 22:01:13 +00:00
Enno Rehling
3145295ad4 http://eressea.upb.de/mantis/view.php?id=869
BEWACHE nach "langen" Kampf nicht möglich; Fehlermeldungen nach "langen" Kampf

Noch ein Flag eingeführt. Hoffe, dass das klappt.
2006-03-26 21:49:37 +00:00
Enno Rehling
a14d57f32d made the save function work, and not print so much (quiet now understands
'real quiet' as anything >=2 in some places).
Made the listbox code handle PNEXT and PPREV, very helpful for the faction
list.
2006-03-26 21:14:35 +00:00
Enno Rehling
dda37aaee6 http://eressea.upb.de/mantis/view.php?id=870
Eigener Block für BOTSCHAFTen im NR

Ausserdem den ungenutzten REPORT Befehl entfernt.
2006-03-26 18:26:52 +00:00
Enno Rehling
a04cb3efbd http://eressea.upb.de/mantis/view.php?id=871
Units with FIGHT FLEE|NOT get -1 in tactics (implementation bug fixed)
2006-03-26 09:36:55 +00:00
Enno Rehling
a4f3784cb3 even less refreshing. 2006-03-26 00:08:34 +00:00
Enno Rehling
6da812e00c missing project file for VC7.1 2006-03-25 18:10:33 +00:00
Enno Rehling
34d5a238a3 improving the update speed of curses windows over my slow ssh connection,
less redraws.
2006-03-25 18:05:22 +00:00
Enno Rehling
bb1ba6b366 The new GM tool, added to the eressea/ directory. All that remains is to
salvage some mapper functionality and stuff it in there (and cleanup), then
the mapper/ directory can go.
2006-03-24 07:35:51 +00:00
Enno Rehling
f261bf2f5b http://eressea.upb.de/mantis/view.php?id=853
Einheiten die Goliathwasser benutzt haben sind überladen

- Gewicht von Pferden war falsch berechnet.
2006-02-26 18:03:16 +00:00
Enno Rehling
96941e04f2 http://eressea.upb.de/mantis/view.php?id=859
- Insekten können durch Gletscher transportiert werden
- Drachen können aus Gletschern wegfliegen

Problem wa, dass das aRCTIC_REGION flag an der region, nicht dem terrain abgefragt wurde. ohauerha.
2006-02-26 17:28:55 +00:00
Enno Rehling
cc9714fca6 http://eressea.upb.de/mantis/view.php?id=847
Frisch auferstandene Untote kämpfen mit

- join_allies checkt jetzt auf UFL_ISNEW
2006-02-26 15:58:44 +00:00
Enno Rehling
1d0bbfd0b8 http://eressea.upb.de/mantis/view.php?id=860
- Frische Untote führen lange Befehle aus.
2006-02-26 15:55:43 +00:00
Enno Rehling
d5b6803137 http://eressea.upb.de/mantis/view.php?id=845
Vertrauter hat keine Zauber
- Korrekturroutine komplett
2006-02-26 15:48:56 +00:00
Enno Rehling
d598babbb1 http://eressea.upb.de/mantis/view.php?id=845
- Vertraute haben keine Zauber, korrektur-routine.
2006-02-26 14:08:19 +00:00
Enno Rehling
6ed9ea2a9b call create_mage() for familiars
created a new lua file for familiar specializations, not really any content for now.
2006-02-26 13:24:16 +00:00
Enno Rehling
c78f64de00 http://eressea.upb.de/mantis/view.php?id=845
- cry havoc when trying to apply spells to a non-mage.
2006-02-26 13:14:46 +00:00
Enno Rehling
caab8471ed http://eressea.upb.de/mantis/view.php?id=856
Durchreisemeldungen fehlen

Kleiner Bug bei der Änderung von attrib::nexttype
2006-02-26 11:59:58 +00:00
Enno Rehling
23247f1831 avoiding a_select some more, and removing the unused compare-functions 2006-02-26 11:12:25 +00:00
Enno Rehling
5c474b9eb7 a_select is not fast, so we try to avoid it 2006-02-26 11:09:00 +00:00
Enno Rehling
318f348f27 use snowman 2006-02-26 00:59:49 +00:00
Enno Rehling
3fb3e7b201 New way of storing attrib-lists should make it faster to find a specific one and jump over entire classes of attribs. 2006-02-25 00:12:48 +00:00
Enno Rehling
2ab8cc7564 - report_building() faster
- indentation cleanup
2006-02-20 21:24:09 +00:00
Enno Rehling
b7552f0d06 - New random number generator
- Faster get_pooled/use_pooled
- faster peasants()
- faster plagues()
- faster horses()
2006-02-19 22:43:56 +00:00
Enno Rehling
dceb83c6a7 The incomplete fspecial functions cause quite a bit of attribute-lookups, so I'm putting them in a #define until they get implemented (if ever).
#define KARMA_MODULE is you want to use fspecial in the future.
2006-02-17 22:59:03 +00:00
Enno Rehling
da213e5f16 shock: apply also to units with 0 people, because they need to e.g. kill familiar-attributes. 2006-02-17 17:47:11 +00:00
Enno Rehling
61a6a52665 Bessere hashgröße für seenhash 2006-02-14 23:03:49 +00:00
Enno Rehling
7d856b43da Extrem blöder Bug in Schneemann-Routine 2006-02-12 23:37:56 +00:00
Enno Rehling
bcac3bc47a http://eressea.upb.de/mantis/view.php?id=824
Kapazität für Vertraute ist 540
2006-02-12 22:22:36 +00:00
Enno Rehling
4bc803ef2c http://eressea.upb.de/mantis/view.php?id=826
Wrong wages for orcs

also:
- removing some really old GMcommand code.
2006-02-12 20:10:32 +00:00
Enno Rehling
e681eec072 leading/trailing spaces in text are significant. 2006-02-12 11:33:19 +00:00
Enno Rehling
f1d0f522b8 leading/trailing spaces in text are significant. 2006-02-12 11:30:12 +00:00
Enno Rehling
6c3f4e7e79 http://eressea.upb.de/mantis/view.php?id=819
- MACHE Holz scheitert an xmlreader Bugs
2006-02-12 11:05:43 +00:00
Enno Rehling
ef2165e764 fprintf/fscanf fu. 2006-02-12 09:42:52 +00:00
Christian Schlittchen
fdc07aa0ea enno needs more sleep fixes 2006-02-12 09:22:37 +00:00
Enno Rehling
8265c9ea7f http://eressea.upb.de/mantis/view.php?id=818
Hirntöter auf Eressea
- message to the target region when braineaters are sent to earth.
2006-02-12 00:24:11 +00:00
Enno Rehling
f07c80563a writing characters as numeric bytes is trickier. 2006-02-11 23:44:17 +00:00
Enno Rehling
9475e47606 - bugfix capacities
- a little cleanup
2006-02-11 23:18:10 +00:00
Enno Rehling
e936284347 Massive changes:
- removed all hadcoded weapons
- added code to put resources like iron&wood in XML
- added laen & wood to XML
- fixed damage for mallorn lance
- removed the old entrise code
- added new ent code in lua, eressea-only
2006-02-11 16:11:16 +00:00
Enno Rehling
d63090111d return statement in void function = evil 2006-02-11 08:31:18 +00:00
Enno Rehling
d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling
127f32d0ef removing unused attribute (aggressive)
fixed normalvariate
familiars, ignore missing init function
2006-02-10 22:10:41 +00:00
Enno Rehling
8b0314be3b new english potion descriptions 2006-02-10 21:49:16 +00:00
Enno Rehling
af9a86efa7 some time ago when races were added to xml, the global familiarrace-list was broken. fixed. 2006-02-10 21:15:08 +00:00
Enno Rehling
a66e90c25b at_allince (WDW-feature?) gefixt. 2006-02-10 20:38:07 +00:00
Enno Rehling
3efd05206e replacing read/write_default with a function that doesn't abuse layout of the union or endianness. new savefile-format
removeing some old attributes that were never used.
2006-02-10 19:48:43 +00:00
Enno Rehling
102a68f01e eliminating iconv in favor of the encoding in libxml2 2006-02-09 22:43:31 +00:00
Enno Rehling
589b1b036a making the old eressea binary run on x64:
- normalvariate fix.
- familiars again
- invalid assert
- forgot init_reports
2006-02-09 22:20:28 +00:00
Enno Rehling
e02a7afb78 do not init familiars without an init function. 2006-02-09 20:24:12 +00:00
Enno Rehling
2db05460a3 (old eressea binaries)
this is still crashing, but not due to familiars, i think.
2006-02-09 20:06:31 +00:00
Enno Rehling
b654c89773 due to lua not being available, there are no familiars 2006-02-09 20:01:06 +00:00
Enno Rehling
a1de5d5701 old eressea executable has problems with non-existing lua spells. 2006-02-09 19:57:25 +00:00
Enno Rehling
ef2e1c8da9 project eressa64: trying to run eressea natively on 64 bit hardware. 2006-02-09 19:39:17 +00:00
Enno Rehling
3248053efe Messages benutzen alte Hashfunktion für Typ-Key. 2006-02-07 21:31:55 +00:00
Katja Zedel
522a0bd8a2 neuer kram 2006-02-05 21:37:08 +00:00
Katja Zedel
d706e0410d neues "Schiff": fliegender Teppich, Werte wie Langboot,
Mindestbautalent 100
2006-02-05 19:32:35 +00:00
Christian Schlittchen
fc0e58bf82 Anzeige des erforderlichen Bautalents bei der WdW-Pyramide 2006-02-05 18:21:11 +00:00
Christian Schlittchen
4439843867 confusion about the spelling of the magic realms 2006-02-05 17:00:22 +00:00
Christian Schlittchen
ab492fb637 Too much copy'n'paste 2006-02-05 16:50:11 +00:00
Enno Rehling
640652ef99 earn_silver Zauber in script/xml ausgelagert.
bugfix snowman
avoid huge amounts of log-messages
handle renaming of spells.
2006-02-05 15:48:52 +00:00
Enno Rehling
77602d1316 http://eressea.upb.de/mantis/view.php?id=810
cast_level statt co->level in der message
2006-02-05 13:06:27 +00:00
Enno Rehling
21f88cf801 bugfix default-befehle (english) 2006-02-05 12:55:12 +00:00
Enno Rehling
9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling
3feb139071 name in message doesn't match name in code. 2006-02-05 08:52:08 +00:00
Enno Rehling
adaf410d37 inlined code 2006-02-04 23:45:20 +00:00
Enno Rehling
e119a29142 inline optimizations for string functions
a little more speed for locale_string (less strcmp)
2006-02-04 23:41:23 +00:00
Enno Rehling
9a343df8fc more intelligent hashing = less divisions 2006-02-04 21:09:16 +00:00
Enno Rehling
3cd617fe39 new hash function is faster than the old 2006-02-04 18:53:34 +00:00
Enno Rehling
939773826b init of old items fails with new hash function 2006-02-04 17:28:19 +00:00
Enno Rehling
88ac2f2496 Ungünstig benannter Beutel 2006-02-04 17:19:26 +00:00
Enno Rehling
4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling
74b15fcd70 global warming only in summer - fix 2006-02-04 11:59:03 +00:00
Enno Rehling
fcbc834a2b global warming only in summer 2006-02-04 11:54:51 +00:00
Enno Rehling
f2e2ec4e67 restoring old indentation-style for b, sh display 2006-01-29 23:17:38 +00:00
Enno Rehling
5230bfd473 LUA: making faction.info writeable 2006-01-29 22:52:42 +00:00
Enno Rehling
673fbb8921 MSG_LEVELS remove
rparagraph() detects existing indentation and markers (for battle-messages)
2006-01-29 22:14:43 +00:00
Enno Rehling
546524fe0c duplicate attribute error 2006-01-29 15:57:47 +00:00
Enno Rehling
3a313515c0 you should be able to guard even after combat (and if UFL_MOVED is set). 2006-01-29 15:50:38 +00:00
Enno Rehling
7580c0fd72 doppelspieler 2006-01-29 15:11:20 +00:00
Enno Rehling
7a3ca3ce5b - indentation fixes
- statistics beautification
2006-01-29 14:05:28 +00:00
Enno Rehling
7819848524 fixed buffersize-calculation for orders. 2006-01-29 13:52:49 +00:00
Enno Rehling
bc2cedd34f fix invalid create_mage calls
prepare to re-enable worldmap
remove some dead code
2006-01-29 08:50:53 +00:00
Enno Rehling
584cea02ed fixed a few includes, problem caused by the header move yesterday 2006-01-29 08:31:54 +00:00
Enno Rehling
b0e5f436cd - lots of memory leaks fixed. 2006-01-29 01:55:36 +00:00
Enno Rehling
b524e7e392 move study.h where it belongs
tutorial gets a "defaultorder" string
2006-01-29 00:28:46 +00:00
Enno Rehling
0efb0807c0 teeny bit faster reports (save strdup again) 2006-01-26 23:56:33 +00:00
Enno Rehling
cf996bc5fb removing a strdup() call and a buffer from rparagraph. 2006-01-26 23:05:40 +00:00
Enno Rehling
6c6c1174d8 Speeding up the hashing in findtoken even more. 2006-01-25 20:40:19 +00:00
Enno Rehling
0fe3e9ad4b Project files: Not using MT libraries in VC7 really speeds up the CRT calls. 2006-01-24 23:20:33 +00:00
Enno Rehling
fe4ce3261f saving some strdup() calls 2006-01-24 23:19:09 +00:00
Enno Rehling
779c790f6d who would have guessed that the % operator in findtoken would show up so prominently in a code profile? 2006-01-24 21:44:20 +00:00
Enno Rehling
10f53b6ae8 http://eressea.upb.de/mantis/view.php?id=797
Einhorn raceinfo, nicht iteminfo
2006-01-24 21:02:17 +00:00
Enno Rehling
64318eaab3 ugroups code entfernt:
- Es ist unwahrscheinlich, dass er je genutzt wird,
- Er ist nicht vollständig
- Er ist gründlich veraltet
2006-01-22 23:29:15 +00:00
Enno Rehling
6e0e9543cf http://eressea.upb.de/mantis/view.php?id=796
typo in spell
2006-01-22 02:07:27 +00:00
Enno Rehling
5dd2542586 Fehler bei neuem itemlisten-argument 2006-01-21 18:10:46 +00:00
Enno Rehling
9c8eb1028f Gewichtsanzeige eindeutiger. 2006-01-21 09:58:11 +00:00
Enno Rehling
55b9af27c2 http://eressea.upb.de/mantis/view.php?id=787
Signifikanter CR/NR-Unterschied 

- das Regionsintervall wurde in write_plaintext() nicht korrekt benutzt.
2006-01-21 08:34:01 +00:00
Enno Rehling
6df45d2a93 weight, cargo & capacity in the CR. 2006-01-18 23:12:59 +00:00
Enno Rehling
2f3181af53 do *not* remove the construction block from ships, it's required (dang!) 2006-01-18 23:07:27 +00:00
Enno Rehling
81d3e94b6f small bug in raceinfo construction 2006-01-18 22:48:49 +00:00
Enno Rehling
3918484f42 typos in XML files 2006-01-18 22:41:44 +00:00
Enno Rehling
103814c765 small fix duplicate ao_daemon item 2006-01-18 22:41:10 +00:00
Enno Rehling
57d86e59e6 removing the old files in the items/ subdirectory (added to strings.xml), cleaning up the code a bit. 2006-01-18 22:28:58 +00:00
Christian Schlittchen
d8de765bb7 - Quickfix fuer Crashbug im Mapper beim Erzeugen neuer Einheiten
- WdW-Sphinx-Kram
2006-01-15 18:47:52 +00:00
Enno Rehling
08fec11034 http://eressea.upb.de/mantis/view.php?id=708
Umsetzung Announce 13.9.: Die Kampfauswirkung auf Bewegung war nicht implementiert.
2006-01-15 17:50:01 +00:00
Enno Rehling
9b2014d3b4 http://eressea.upb.de/mantis/view.php?id=708
Kampf-Announce 13.9.: Gruppen werden nicht von Einzeleinheiten beeinflusst.
2006-01-15 17:29:41 +00:00
Enno Rehling
c1edcffe85 http://eressea.upb.de/mantis/view.php?id=784
- Falsche Katapultpreise
2006-01-15 13:54:12 +00:00
Enno Rehling
bde8256028 http://eressea.upb.de/mantis/view.php?id=788
- Muschelmeldung
2006-01-15 13:44:52 +00:00
Enno Rehling
7ad5ed06cb number of new players in statistics corrected. 2006-01-15 11:05:23 +00:00
Enno Rehling
c768096df3 What the hell was the \b supposed to do? it fucks up the output! 2006-01-14 09:45:42 +00:00
Enno Rehling
2ac568cfa7 compile-fix 2006-01-13 23:11:50 +00:00
Enno Rehling
ba0851da7a There is probably no good way to do this in a CR: writing out a list of missing objects in a message object. 2006-01-13 22:30:24 +00:00
Enno Rehling
e19a918291 magic uses new argument type to report missing components. 2006-01-13 21:27:16 +00:00
Enno Rehling
7eee06c285 continued: new argument type "items" or "resources" (previous solution didn't allow lists of resources, which come in handy for build-error messages). 2006-01-13 21:20:19 +00:00
Enno Rehling
8ca86912cf splitting quit in two parts so that the analysis can be done in instant_orders, and dying does not interfere with quitting. 2006-01-13 19:43:33 +00:00
Enno Rehling
af59e2f09c new argument-type for messages: items.
not the most efficient, since it takes a deep copy of the list.
2006-01-08 12:25:00 +00:00
Enno Rehling
6ad7a5562e code cleanup: removed all old cases of new_message being called, and the function itself. 2006-01-08 11:33:10 +00:00
Enno Rehling
f1b344f7e9 syntaxfic claimable 2006-01-08 11:03:57 +00:00
Enno Rehling
77bc58aabd bugfix: use_item scripts must return a value 2006-01-08 10:24:51 +00:00
Enno Rehling
5b5026cefd Vereinfachung des Bauerncodes. 2006-01-07 12:30:25 +00:00
Enno Rehling
68389e2ba6 another leak in mistake() 2006-01-02 22:41:36 +00:00
Enno Rehling
2ddc4ac9c2 duplicate string 2006-01-02 22:29:14 +00:00
Enno Rehling
c5585a3520 more memory leaks fixed 2006-01-02 22:29:07 +00:00
Enno Rehling
bde330b131 trails for icebergs (en) 2006-01-02 22:12:33 +00:00
Enno Rehling
77e16e0645 ick. memory corruption 2006-01-02 22:10:38 +00:00
Enno Rehling
517f8e3f81 fixed some memory leaks 2006-01-02 21:50:57 +00:00
Enno Rehling
83e9b7a994 slightly improved, but still hackish way to recognize luabind versions. 2006-01-02 20:24:33 +00:00
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
a032e94382 noch eine Stelle mit LUABIND_OLD :-/ 2006-01-01 23:32:20 +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
Katja Zedel
88ea1b27b7 sphinx muss sachen geben können 2006-01-01 20:04: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
e30c171995 lua: faction.options and faction.flags 2005-12-31 13:39:55 +00:00
Enno Rehling
104b64124f mapper: selections can do shortcut keys 2005-12-31 13:29:22 +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
9ea1f9fdf5 invalid reference removed 2005-12-29 15:08:54 +00:00
Enno Rehling
8727c7fc4f Versehentliche Löschung der Zugvorlagen 2005-12-29 13:46:34 +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
619a3f5387 Beginn einer Implementation von Schneemännern für Eressea 2005-12-26 23:49:16 +00:00
Enno Rehling
3372e17530 Implemntation Stardust 2005-12-25 19:13:51 +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
18153f5614 http://eressea.upb.de/mantis/view.php?id=775
Es gibt auch noch ältere Berge und Gletscher ohne Eisen.
2005-12-19 18:56:20 +00:00
Enno Rehling
8e508a9e99 http://eressea.upb.de/mantis/view.php?id=775
verbesserte Korrektur-Routine
2005-12-19 18:30:51 +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
73123575a6 Weihnachtsitem 2005 2005-12-18 18:09:53 +00:00
Enno Rehling
3b3e93f62b http://eressea.upb.de/mantis/view.php?id=774
message-einordnungen
2005-12-16 19:39:52 +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
ca352dc60a kingdoms:
- buildings/castle
2005-12-11 15:26:11 +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
5d541465b1 initialize the world with some items 2005-12-11 14:21:53 +00:00
Enno Rehling
8daf1c86f3 dice_rand versteht jetzt auch klammern. 2005-12-11 14:10:11 +00:00
Enno Rehling
9be2d7b33d didn't like binding int and double with same name. why? 2005-12-11 12:41:05 +00:00
Enno Rehling
57cb0c73fc embassies in a separate file 2005-12-11 12:33:57 +00:00
Enno Rehling
28be52c1b2 LUA:
- messages an regionen versenden

Eressea:
- Besucher von Muschelplateau kriegen ein Spezialgimmick
- Diverse magische Items im Gewicht auf 0 reduziert.
2005-12-11 11:43:18 +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
a6cc57370f LUA: export unit::age 2005-12-10 12:32:26 +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
93eb6adeff neue regionsresourcen: "chaos" und "grave" (um chaoscount und detahcount zu verändern) 2005-12-04 14:53:27 +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
Christian Schlittchen
3705d0d1eb init_summary für wdw, zusätzlicher assert 2005-11-27 14:13:48 +00:00
Christian Schlittchen
0c5efc7a61 write_emails auch für wdw 2005-11-27 13:40:09 +00:00
Enno Rehling
383dc8ad15 compilation errors 2005-11-27 10:06:18 +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
402fbb24e5 - spawning new dragons and undead is now optional (lua function)
- battle-effect on peasants is configurable (by XML param)
2005-11-26 11:03:44 +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
7f0b8f98d1 kingdoms: lua error in determining region owner 2005-11-26 01:31:35 +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
9d1f1d77fe fix 2005-11-26 01:09:39 +00:00
Enno Rehling
6772d1892e kingdoms: templates race needs to exist to make monsterfaction 2005-11-26 01:09:11 +00:00
Enno Rehling
7fcdcf10dd mapper: settg breaks when you have no luxuries 2005-11-26 01:02:21 +00:00
Enno Rehling
eaf1c0f447 mapper: choose_terrain didn't work with only 2 terrains. 2005-11-26 00:58:27 +00:00
Enno Rehling
3524cb59d2 random_terrain() function 2005-11-26 00:42:32 +00:00
Enno Rehling
b086e9f93a kingdoms: crashfix mapper when finding random terrain 2005-11-26 00:34:05 +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
49cd3e08ad kingdoms: resource files. 2005-11-25 23:37:27 +00:00
Enno Rehling
de9264bc4c - scripts for kingdoms
- per-game folders to organize scripts a bit more
2005-11-25 23:32:56 +00:00
Enno Rehling
4157bfbea2 bugfix assert 2005-11-25 23:15:52 +00:00
Enno Rehling
33ec0e321b fixing up the luabind/gcc4 compilation 2005-11-25 22:53:10 +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
Christian Schlittchen
82fc69254c turn-Datei wurde nicht aktualisiert 2005-11-21 21:22:00 +00:00
Enno Rehling
40ef16c53f removed warnings 2005-11-20 14:50:15 +00:00
Enno Rehling
6978b09a06 removed warnings for unused() 2005-11-20 13:04:01 +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
422008c0e2 exporting the origin of a faction to lua (so factions can be relocated) 2005-11-20 11:41:16 +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
802228db41 null-pointer check if no terrain was picked for terraforming 2005-11-19 15:54:16 +00:00