Commit graph

262 commits

Author SHA1 Message Date
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
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
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
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
d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling
102a68f01e eliminating iconv in favor of the encoding in libxml2 2006-02-09 22:43:31 +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
9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling
4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling
b0e5f436cd - lots of memory leaks fixed. 2006-01-29 01:55:36 +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
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
104b64124f mapper: selections can do shortcut keys 2005-12-31 13:29:22 +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
e89b1c908d crashbug mapper
bugfix random_terrain
2005-12-04 00:58:57 +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
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
f0ce33304b kingdoms: handling lack of luxuries 2005-11-26 00:08:47 +00:00
Enno Rehling
802228db41 null-pointer check if no terrain was picked for terraforming 2005-11-19 15:54:16 +00:00
Enno Rehling
881f1ff2df terraforming from the mapper broke with last terrain-changes 2005-11-19 15:42:30 +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
ada8c3a52d bugfix: water of life
initialization of potion text
removing #if 0 code.
2005-10-30 09:51:02 +00:00
Enno Rehling
adbefd89c5 Fixing order of libraries 2005-10-29 11:10:58 +00:00
Enno Rehling
0e0f37d970 bugfix seed-registrierung 2005-10-26 19:02:45 +00:00
Enno Rehling
6107e84b54 making the mapper compile 2005-10-25 13:01:55 +00:00
Enno Rehling
19a7624fe8 making the mapper compile 2005-10-25 12:59:23 +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
dabbeb39a6 noch eine Stelle vergessen 2005-10-24 22:02:39 +00:00
Enno Rehling
4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06:40 +00:00
Enno Rehling
ff761f22b3 bugfix mapper-initialization 2005-10-11 20:39:53 +00:00
Enno Rehling
1d09adb884 splitting old resource registration in two parts. 2005-10-03 21:46:57 +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
5edd84e47e removing unused code for reading the dropouts-file. 2005-10-02 16:20:11 +00:00
Enno Rehling
b915bf74f3 last of the GROWING_TREES defines 2005-09-11 08:16:31 +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
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
e639a1258b autoseed, creating island controlled from script.
bugfix empty orders in savefile
2005-08-07 13:48:18 +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
200201b384 started limiting the maximum number of orders for a unit.
removed num_migrants as it was not updated properly.
2005-07-27 11:48:16 +00:00
Enno Rehling
b1703d27d4 local linux fixes 2005-07-26 21:03:08 +00:00