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
5b5026cefd
Vereinfachung des Bauerncodes.
2006-01-07 12:30:25 +00:00
Enno Rehling
c5585a3520
more memory leaks fixed
2006-01-02 22:29:07 +00:00
Enno Rehling
517f8e3f81
fixed some memory leaks
2006-01-02 21:50:57 +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
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
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
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
a18ca097b9
renamed_faction_notseen doesn't need that parameter.
2005-12-18 18:19:14 +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
5aa0ca5ff5
source formatting.
2005-12-02 20:23:54 +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
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
bb1e86ebb4
new code for 'kingdoms':
...
- disabling skills
- region owners
- maintenance costs configurable
- wage configurable
2005-11-25 22:09:59 +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
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
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
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
89e8c622c7
more weapons out of the code.
2005-10-29 16:10:08 +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
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
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
a306d0ebc8
bugfix antimagiekristall
2005-10-25 13:17:55 +00:00
Enno Rehling
70b3e9ad50
autoseed had some unused code there. not sure what it's good for, really.
2005-10-25 12:46:25 +00:00
Enno Rehling
68433ad0d1
Der Eressea-Code hat jetzt auch extern definierte Terrains. Ich war so gründlich wie es ging dabei, die alten T_ Konstanten zu entfernen, aber einzelne Regeln sind ziemlich hardgecodet (wo Drachen geboren werden, usw), und benötigen daher noch das terrainid.h include, in das der alte enum verfrachtet ist.
...
Konfigurierbarkeit ahoi.
2005-10-25 12:38:01 +00:00
Enno Rehling
f269ebbf75
listnames, total nutzlose funktion
2005-10-25 09:02:24 +00:00
Enno Rehling
1b4aa36874
removed old get_/set_change_herb functions, no longer in use
2005-10-25 08:28:00 +00:00
Enno Rehling
4ce88dad13
removing the old NEW_RESOURCEGROWTh macro
2005-10-24 20:06:40 +00:00
Enno Rehling
5cc18d1e37
bugfix AMK
2005-10-23 15:11:22 +00:00
Christian Schlittchen
1c7ace7556
WdW-Pyramiden
2005-10-23 11:27:55 +00:00
Enno Rehling
570055a493
kompiliert nun
2005-10-23 10:20:55 +00:00
Enno Rehling
4d38380766
removed R_ANTIMAGICCRYSTAL as well.
2005-10-23 10:15:30 +00:00
Enno Rehling
4dc1339ec3
New: familiars are initialized with an equipment-set.
...
New: familiars can have a LUA initialization function.
Moved the spell implementations from spell.c to spells.c where they "belong".
Spell ids moved to a separate header (to phase them out eventually)
2005-10-23 09:05:11 +00:00
Enno Rehling
114b40d85c
http://eressea.upb.de/mantis/view.php?id=710
...
Zauber "Süsse Träume" vermehrt Einheit nicht
bugfix static variables
2005-10-16 21:08:22 +00:00
Enno Rehling
d4a0c6c06c
only updating firstturn if it's less than before or was nul
2005-10-12 20:34:32 +00:00
Enno Rehling
6b27b2a0c2
updating firstturn from the server
2005-10-12 20:27:50 +00:00
Enno Rehling
873404d8f4
crashbugs in randenc und rostregen
2005-10-09 19:52:21 +00:00
Enno Rehling
046290ebdb
Bugfix: spellnames sind nicht von sp->info abhängig.
2005-10-09 09:09:51 +00:00
Enno Rehling
1771a81c52
Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile.
2005-10-08 15:25:21 +00:00
Enno Rehling
b65917bb97
removed I_SWORD and I_RUSTY_SWORD from the source.
2005-10-02 21:11:17 +00:00
Enno Rehling
49bd595d69
New code:
...
"equipment-sets" in the XML definition files (equipment.xml) can define skills and items for a unit. these can be applied using the equip_unit() function (from both LUA and C).
I've rewritten the random first encounters and addplayer() functions to use these. As a result, there's now even less dependency on fixed item types in the source, and I can take more items out.
2005-10-02 20:28:44 +00:00
Enno Rehling
5358c876d2
reanming SK_SWORD -> SK_MELEE (since all the axes use it, too and I get confused so easily)
2005-10-02 17:35:25 +00:00
Enno Rehling
a72a43c384
starting equipment & skills for new factions is read from the equipment.xml file instead of hardcoded. Makes give_starting_equipment a lot smaller and reduces the number of I_* item-constants used in the code.
2005-10-02 15:54:24 +00:00
Enno Rehling
dd9c6e50c2
Fixed a null-pointer crash in randenc.
...
Dead code in economy removed.
2005-10-02 07:33:21 +00:00
Enno Rehling
130adacb43
http://eressea.upb.de/mantis/view.php?id=704
...
Benennung und Beschreibung eines Monumentes
klappt jetzt, habe das erkennen von bereits benannten Gebäuden vereinheitlicht.
2005-09-24 20:34:34 +00:00
Christian Schlittchen
b917430561
Diverser Kleinkram für WdW:
...
- Papyrus-Dummy-Item
- NO_RANDOM_BRAINEATERS
- ...
2005-09-11 20:16:04 +00:00
Enno Rehling
bcf0b8d446
removed the old GROWING_TREES macro.
...
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00
Enno Rehling
170eed6b62
put the faction's age into the CR
2005-09-08 22:55:31 +00:00
Enno Rehling
8276a63c1e
http://eressea.upb.de/mantis/view.php?id=680
...
Einheit verhungert und Gegenstände gehen verloren
Aauflösen von Einheiten vereinheitlicht, und einige alte #defines mitsamt Code entfernt.
2005-09-08 19:03:42 +00:00
Enno Rehling
118230a737
implemented global warming (glacier belts with age > 200 can melt)
2005-09-03 08:54:19 +00:00
Enno Rehling
b7ebf40866
Better version of the ocean-age fixes produces proper firewalls around the
...
world
2005-09-03 07:50:00 +00:00
Enno Rehling
6ec1bbe52e
Drawing borders around regions requires that oceans have an age, too. Fixed.
...
Also, removing some unnecessary race-enums
2005-09-03 00:30:03 +00:00
Enno Rehling
b87c87cea6
http://eressea.upb.de/mantis/view.php?id=693
...
Meldung für fehlenden Gebäudeunterhalt nicht korrekt
2005-08-22 20:43:10 +00:00
Enno Rehling
923ea5bcf8
http://eressea.upb.de/mantis/view.php?id=683
...
Name von Monumenten änderbar
2005-08-20 18:04:09 +00:00
Enno Rehling
db7c4914f3
script-fix welcome-text für neue spieler.
2005-08-07 14:37:25 +00:00
Enno Rehling
bfd26dc9b4
COMPATIBILITY macro removed, hasn't been used since item_type got introduced.
2005-07-31 19:49:04 +00:00
Enno Rehling
62a51a8bf0
scores are now an optional module.
...
spoils are moved to the XMl data, and the racespoils functions are greatly reduced (less LOC -> less bugs).
phoenix feather is a wdw-only item
2005-07-31 16:07:02 +00:00
Enno Rehling
04ac02ebd9
armor_type wie weapon_type gelöst. Jetzt extern per XML definierbar.
...
Monster versuchen, Waffen und Rüstungen zu behalten, ehe sie sich bewegen.
2005-07-31 01:07:07 +00:00
Enno Rehling
0eb91f7ab7
http://eressea.upb.de/mantis/view.php?id=617
...
monsters are shedding extra weight in a smarter way.
2005-07-31 00:01:25 +00:00
Enno Rehling
b1703d27d4
local linux fixes
2005-07-26 21:03:08 +00:00
Enno Rehling
5ebac77a1c
proper translation of items in the faction pool.
2005-07-26 20:39:36 +00:00
Enno Rehling
823179a315
Number of new players in summary counted properly.
2005-07-26 20:03:55 +00:00
Enno Rehling
c9fa3abcac
new iteminfos in english. moved gemran iteminfos from separate files into xml.
...
reset UFL_LONGACTION before a turn, so I can run several turns from a single script run.
2005-07-26 18:14:13 +00:00
Enno Rehling
e4bdec8e7c
crwritemap has been exported to lua as write_map(filename).
2005-07-26 10:50:00 +00:00
Enno Rehling
8e2225e4d5
translating a couple more spells
...
removing unnecessary includes of spell.h
2005-07-26 10:17:43 +00:00
Enno Rehling
58335dd9e8
Translations for herbs and potions
2005-07-25 20:13:10 +00:00
Enno Rehling
32852df60c
unit::botschaften as a special case of messages disappears. Simple code for simple stuff.
2005-07-25 19:56:44 +00:00
Enno Rehling
191fb45b18
More English messages translated, especially magic.
2005-07-25 19:21:05 +00:00
Enno Rehling
f044fc348d
ASTRAL_ITEM_RESTRICTIONS activated.
2005-07-25 19:10:21 +00:00
Enno Rehling
41708ce703
http://eressea.upb.de/mantis/view.php?id=606
...
Traumschlößchen verschwindet nicht und funktioniert nicht
Verschwinden tut es wohl immer noch nicht, aber immerhin funktioniert es.
2005-07-23 18:18:53 +00:00
Enno Rehling
659d32e5f3
at_follow Attribut wird nicht mehr im CR/NR ausgegeben, da es ohnehin nicht gespeichert wird.
2005-07-22 18:19:24 +00:00
Enno Rehling
fb7937a37d
last commit caused a crash. Also cleaning up the NR order writing a bit.
2005-07-16 21:18:22 +00:00
Enno Rehling
c0fcf15184
http://eressea.upb.de/mantis/view.php?id=565
...
Neue Defaults entfernen alte lange Befehle, nicht kurze.
2005-07-16 17:18:15 +00:00
Enno Rehling
1b07d7513b
http://eressea.upb.de/mantis/view.php?id=601
...
Untote bewegen sich nicht mehr!!!
Nicht nur Untote, und nicht nur Bewegung - alle möglichen langen Befehle sind nicht ausgeführt worden. Au weia.
2005-07-14 20:46:35 +00:00
Enno Rehling
f8da577254
http://eressea.upb.de/mantis/view.php?id=596
...
Handwerker (....) bezahlt den Unterhalt von Schmiede (....)
Wenn maintenance fehlschlägt und Gebäude unbrauchbar, eine andere Meldung abgeben als im Fall von nachträglich funktionierender Maintenance.
2005-07-10 21:22:54 +00:00
Enno Rehling
a96d3807a6
Fehlende "" um skill-namen
2005-07-10 20:58:13 +00:00
Enno Rehling
e1dc630bcd
double commit (I know it's bad, but I messed up):
...
http://eressea.upb.de/mantis/view.php?id=595
Durchreise von unsichtbaren Einheiten wird angezeigt
- invisible() war an vielen Stellen in ein #if geklammert, das dazu führte, das der alte ROI nicht funktioniert.
http://eressea.upb.de/mantis/view.php?id=581
Bewachen von Untoten (Skelette, Skelettherren, Dämonen)
- Untote lernen jetzt in der ersten Woche waffenlosen Kampf, und bewachen damit. Der alte CANGUARD Hack wird vorerst von keinem Monster mehr genutzt.
ACHTUNG! Die letztgenannte Änderung führt dazu dass Monster in der kommenden Woche evtl. aufhören, Regionen zu bewachen, bis sie's wieder gelernt haben.
2005-07-10 16:32:47 +00:00
Enno Rehling
d72fbffb1d
Reducing the amount of undeads rising for very young regions.
2005-07-10 00:44:41 +00:00