Commit graph

144 commits

Author SHA1 Message Date
Enno Rehling
8e92559dae feedback_unit_not_found used throughout instead of error 63 or German text 2007-02-10 21:47:51 +00:00
Enno Rehling
8f78b586f7 http://eressea.upb.de/mantis/view.php?id=1032
Missbrauch von Kroeten.
2006-10-08 19:06:56 +00:00
Enno Rehling
aaf7443d53 removing more hardcoded items from the source. 2006-07-12 22:14:16 +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
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
8b0314be3b new english potion descriptions 2006-02-10 21:49:16 +00:00
Enno Rehling
939773826b init of old items fails with new hash function 2006-02-04 17:28:19 +00:00
Enno Rehling
cf996bc5fb removing a strdup() call and a buffer from rparagraph. 2006-01-26 23:05:40 +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
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
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
aa4fda7e26 kingdoms: null-pointer crash if potion type does not exist 2005-11-25 23:39:50 +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
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
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
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
e31215f8f1 removing hardcoded itemtypes that now give warnings. 2005-10-26 20:12:28 +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
28f41c3edd - sk_ prefixes von den skillnames entfernt. 2005-10-25 14:27:24 +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
00fab33aaf nachbesserung zu den letzten 2 commits 2005-10-25 08:45:59 +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
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
3c3b1bad8a http://eressea.upb.de/mantis/view.php?id=725
Beschreibung Gehirnschmalz

tage -> lernversuche
2005-10-17 17:56:39 +00:00
Enno Rehling
fd364ba0f9 new name: nestwarmth 2005-10-03 21:55:39 +00:00
Enno Rehling
66fbb409a0 nein, anders... 2005-10-03 21:52:09 +00:00
Enno Rehling
1d09adb884 splitting old resource registration in two parts. 2005-10-03 21:46:57 +00:00
Enno Rehling
17958f9683 Armbrust aus dem Code genommen.
Abbruch, wenn ein Item aus dem Datenfile nicht in den XML-Resourcen ist.
2005-10-03 21:15:47 +00:00
Enno Rehling
5dfc2f08b6 Apfel, Nuss und Mandelkern (und Kekse) fleigen raus aus dem Source.
Burgen fliegen aus dem Source.

XML reader unterstützt jetzt auch Gebäude mit mehreren Ausbaustufen.
2005-10-03 20:59:11 +00:00
Enno Rehling
23d7205a8b removed I_GREATSWORD and I_RUSTY_GREATSWORD from the source. 2005-10-02 21:32:20 +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
6b87faf047 First test to remove items from code: AXE and RUSTY_AXE are out.
Rewriting the rust-spell. Now affecting armor as well (with lower chance)
2005-10-02 17:04:16 +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
f7a17ff3d0 http://eressea.upb.de/mantis/view.php?id=712
rusty shields disappear because of stupid reverse_lookup code.
2005-10-02 13:31:56 +00:00
Enno Rehling
2d2ed6f7ea http://eressea.upb.de/mantis/view.php?id=712
rusty shields disappear because of stupid reverse_lookup code.

removed a bit of dead code.
2005-10-02 13:21:29 +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
bfd26dc9b4 COMPATIBILITY macro removed, hasn't been used since item_type got introduced. 2005-07-31 19:49:04 +00:00
Enno Rehling
fc6e6d40dc when you delete an I_ enum, you must also delete the R_ enum that belongs to it. 2005-07-31 19:44:56 +00:00
Enno Rehling
f7502f08cf item-scores were broken
removed laen shield and laen mail from the sorce and put them in the XML files - because I can.
2005-07-31 19:22:14 +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
105521cc0e plural/singular bei resourcenamen vertauscht. warum meldet sowas keiner? 2005-06-24 19:43:57 +00:00