Enno Rehling
09a08fb84a
fixing the item use functions and making future fuckups less likely
2007-12-03 19:26:17 +00:00
Enno Rehling
81de21fcb8
Cache Optimizations:
...
- do prepare_reports simultaneously
- make battle-sides more cache-local
- avoid dereferencing bfaction for the faction
- avoid dereferencing side for the index
2007-10-27 15:09:36 +00:00
Enno Rehling
79dc9acf5f
- fixing race prefixes
...
- fixing some latin1 loading
- improved the spell-syntax writer
- replaced my email address
2007-09-02 18:11:17 +00:00
Enno Rehling
8fbb513b63
Unicode WIP:
...
- NR is being written
- NR and Template get a UTF8 BOM
I'm running out of ideas. I must be nearly ready.
2007-08-19 17:30:40 +00:00
Enno Rehling
d4d6776b50
Unicode WIP, backward compat:
...
- latin1 reader for datafile
- latin1 reader for orders
a number of minor conversion bugs fixed, this version can now run a turn and write reports, it seems.
2007-08-12 09:51:26 +00:00
Enno Rehling
b837248601
!this commit does not compile!
...
Unicode WIP:
- removed xmlChar and returned everything to char * again, now that conversion is complete.
- added option to specify orderfile and daatafile encoding in .ini file
currently: implementing reading of latin1 datafiles for backward compatibility
2007-08-10 07:03:23 +00:00
Enno Rehling
55e0656250
unicode branch gets premake
2007-08-05 12:19:56 +00:00
Enno Rehling
d48d8ec348
Unicode WIP:
...
- Visual C++ 2005 project files
- Savegames
- i18n for many more spells
2007-07-17 15:33:48 +00:00
Enno Rehling
857df3f300
Unicode WIP, does not compile.
...
- removed a lot more localized text.- currently working on combatspells (buf usage and German text removal)
2007-06-27 20:39:49 +00:00
Enno Rehling
8be7d65977
Unicode WIP, does not compile.
...
- made battle.c compile and cleaned up a lot of German text.
- fixed the create_order command to accept and respect quotes.
2007-06-26 21:17:10 +00:00
Enno Rehling
260d518fa1
WIP, does not compile: Unicode (UTF8) conversion of absolutely everything. Mi'kmaq hieroglyphic writing FTW!
2007-06-26 09:32:28 +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
96a2b1c779
Include cleanup.
2007-06-20 00:34:02 +00:00
Enno Rehling
9f86a467b7
compile fixes
2007-05-30 01:23:21 +00:00
Enno Rehling
b1bf54067e
welcomepath is no longer in use.
2007-05-28 16:10:34 +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
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
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
2220f4b2c3
http://eressea.upb.de/mantis/view.php?id=1043
...
"Partei fehlt im cr"
Bei Einheiten, die auf der Durchreise (auf dem Ozean) gesichtet wurden fehlte manchmal der entsprechende Partei-Block im cr.
Das gehoert getestet, glaube ich :-)
2007-02-14 22:06:06 +00:00
Enno Rehling
c61127ab6f
SIMPLE_ESCAPE: Flucht verhindert BEWACHE.
2007-02-12 07:27:04 +00:00
Enno Rehling
bf03d8e7c5
parteinummern-wechsel speichern
2006-12-09 17:44:49 +00:00
Enno Rehling
00d0bbc3b6
Removing some defines that have long become the norm for all games.
2006-11-04 21:38:25 +00:00
Enno Rehling
935aabac4e
produce-xp abschaltbar gemacht
...
fehlender return-value in learn()
2006-11-04 21:23:45 +00:00
Enno Rehling
79134609a2
implementation of "EACH":
...
GIVE abcd EACH 1 sword
GIB abcd JE[DEM] 1 schwert
2006-10-03 12:02:27 +00:00
Enno Rehling
b89721873c
http://eressea.upb.de/mantis/view.php?id=905
...
"fehlende Info bei OPTION TALENTVERSCHIEBUNG mit Dämonen"
Anzeige von Daemonentalenten mit OPTION TV, auch wenn sie auf 0 gefallen sind.
2006-08-01 22:35:26 +00:00
Enno Rehling
594e75e42f
count_unit(u) bestimmt, welche einheiten zum partei-limit gezaehlt werden. Das sollten alle sein, sind's aber vorlaeufig nicht.
...
ausserdem ein bischen code-cleanup.
2006-07-29 14:07:45 +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
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
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
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
673fbb8921
MSG_LEVELS remove
...
rparagraph() detects existing indentation and markers (for battle-messages)
2006-01-29 22:14:43 +00:00
Enno Rehling
cf996bc5fb
removing a strdup() call and a buffer from rparagraph.
2006-01-26 23:05:40 +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
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
5b5026cefd
Vereinfachung des Bauerncodes.
2006-01-07 12:30:25 +00:00
Enno Rehling
517f8e3f81
fixed some memory leaks
2006-01-02 21:50:57 +00:00
Enno Rehling
f8991a844f
bischen durcheinandergekommen beim nummerieren.
2006-01-01 21:29:22 +00:00
Enno Rehling
9eb50890c6
code-polishing: Vertraute werden nicht mehr als RC_* gebraucht.
2006-01-01 20:50:36 +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
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
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
bb1e86ebb4
new code for 'kingdoms':
...
- disabling skills
- region owners
- maintenance costs configurable
- wage configurable
2005-11-25 22:09:59 +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
357a73e826
XML reports - incomplete implementation, might finish it eventually.
2005-11-18 23:23:47 +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
89e8c622c7
more weapons out of the code.
2005-10-29 16:10:08 +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
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
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