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
d434b73617
- resizing buffer in battle.
...
- not writing past-the-end in orders.
- fix for show_allies.
2007-09-02 07:57:31 +00:00
Enno Rehling
a1865ee2fa
- Undo modifications to strlcpy from rev 3631
...
- Many more warnings when buffers too small.
2007-09-01 23:40:58 +00:00
Enno Rehling
673cf0b7bf
Unicode QA:
...
- bugfix braineater description
- bugfix army display
- remove SMALL_MESSAGES because they have no i18n
2007-08-29 19:48:40 +00:00
Enno Rehling
9d8edd01bf
wrong parameters for spell
2007-08-26 20:56:10 +00:00
Enno Rehling
a33d59b21a
Unicode WIP:
...
This code did a full run of turn 531, with all reports.
- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
2007-08-21 07:04:44 +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
8e897d29be
movement.h -> move.h
2007-08-05 12:26:46 +00:00
Enno Rehling
55e0656250
unicode branch gets premake
2007-08-05 12:19:56 +00:00
Enno Rehling
d2094d6205
Unicode WIP:
...
- completed i18n for combatspells and battle
adding the filereader header (the implementation is on my PC which is still in transit to Germany)
2007-07-20 07:28:11 +00:00
Enno Rehling
7e36df93a4
Unicode WIP:
...
- completed i18n for spells.c
- started on i18n for combatspells
2007-07-19 07:25:28 +00:00
Enno Rehling
13a019335e
bugs found with gcc
2007-06-27 20:51:56 +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
1c2ed3aeda
old weapons code that is no longer needed since all weapons have been in XML for a long time.
2007-06-20 18:28:47 +00:00
Enno Rehling
96a2b1c779
Include cleanup.
2007-06-20 00:34:02 +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
8159fdae46
http://eressea.upb.de/mantis/view.php?id=1172
...
"Fliehende Einheit verliert Waffen"
Miscalculated lootfactor
2007-04-19 14:54:17 +00:00
Enno Rehling
c95342a88b
cleaning up in the magic code a little, and making the actual casting a separate function for easier debugging.
2007-03-25 18:37:28 +00:00
Enno Rehling
bc8b097f32
http://eressea.upb.de/mantis/view.php?id=1153
...
"keine Beute"
Bei 100% Tod wurde skaliert bevor Beute verteilt wurde, Beute gab es nur wenn
die Einheit noch jemanden am leben hattte. Ist repariert.
2007-03-16 20:59:15 +00:00
Enno Rehling
5673207fe3
http://eressea.upb.de/mantis/view.php?id=1151
...
"Einheit konnte sich nach Kampf nicht bewegen"
Not clearing thisorder for fleeing units might do the trick.
2007-03-11 23:03:10 +00:00
Enno Rehling
4ea302940f
http://eressea.upb.de/mantis/view.php?id=1151
...
"Einheit konnte sich nach Kampf nicht bewegen"
Die KAEMPFE FLIEHE logik hat drauf vertraut, das movement nur nach UFL_NOTMOVING schaut, nicht nach LONGACTION. dafuer muss aber eine Menge getan werden, das nicht wurde. Jetzt aber...
2007-03-11 22:18:58 +00:00
Enno Rehling
6df82c0749
http://eressea.upb.de/mantis/view.php?id=1148
...
"Beute von fliehenden Einheiten nach neuen Kampfregeln"
only loot for dead units is given to the enemy.
2007-03-05 18:37:58 +00:00
Enno Rehling
68e2ec932f
http://eressea.upb.de/mantis/view.php?id=1149
...
"Ozean wird im CR zum Regionstyp Mahlstrom, verliert im CR aber seinen Namen"
Maelstrom wird jetzt programmatisch in terrain_name gemacht (auch wenn es besser in terrain::name() sein sollte).
2007-03-04 22:27:32 +00:00
Enno Rehling
6dd3e9b1d4
FAST_DEBUG kann wieder ausgeschaltet werden.
2007-03-04 21:58:19 +00:00
Enno Rehling
07cb8d1fad
removing units (versteinern) cleaned up and now invalidates the fast-cache so the assert shouldn't trigger any more.
2007-03-04 21:52:13 +00:00
Enno Rehling
e7e0ef994b
DEBUG_FAST macro and extra code to verify the FASTCOUNT code.
2007-03-04 21:30:39 +00:00
Enno Rehling
2576f781d4
validation code for FASTROW optimization
2007-03-04 18:46:01 +00:00
Enno Rehling
373e869931
http://eressea.upb.de/mantis/view.php?id=1147
...
"FOLGE trotz langem Kampf"
Die Berechnung ob eine Seite Bewacher hat, war ziemlich falsch.
2007-03-04 18:40:52 +00:00
Enno Rehling
0f0155fd0c
Disabling optimizations because one of them broke the combat asserts in
...
round 512.
Fixing a sprintf bug in building names
2007-03-04 17:52:59 +00:00
Enno Rehling
602853f0e2
Message-fixes
2007-02-25 09:02:43 +00:00
Enno Rehling
e380670a34
- battle, smarter optimization
...
- messages, bugfix $strlen
2007-02-24 22:26:50 +00:00
Enno Rehling
0e2478bdb9
FASTROW macro to slightly speed up get_unitrow()
2007-02-24 20:09:52 +00:00
Enno Rehling
4c58270bb9
FASTCOUNT macro to speed up count_enemies()
2007-02-24 11:08:07 +00:00
Enno Rehling
15d056e423
message fixes
2007-02-23 22:06:39 +00:00
Enno Rehling
6c74bce4cd
Khadar-induced translations of mostly combat stuff.
2007-02-22 22:53:53 +00:00
Enno Rehling
90c0cc9a64
Feature: friedliebende Rassen (ungenutzt)
...
Zauber Bergwaechter nur in Berg/Gletscher
2007-02-19 18:01:37 +00:00
Enno Rehling
8439981256
small optimization, easier on the debugging
2007-02-18 17:43:23 +00:00
Enno Rehling
8115caaa56
Beute auch in 1-Runden Kaempfen.
2007-02-18 16:44:24 +00:00
Enno Rehling
994b5b5076
Fliehende Einheiten verlassen das Gebaeude nur, wenn ihr Kampfstatus auch auf FLIEHE steht.
2007-02-14 17:54:04 +00:00
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
01742536e8
define SIMPLE_ESCAPE to allow units with ST_FLEE a MOVE order, but no other long orders (step II of new rules)
2007-02-10 11:58:54 +00:00
Enno Rehling
1d398a46fb
define SIMPLE_ESCAPE to disable units running to neighbouring regions in combat (step I of new rules)
2007-02-10 11:25:23 +00:00
Enno Rehling
eb2603248d
Bugfix Schiffschaden (Ouch)
2007-02-05 21:30:45 +00:00
Enno Rehling
03d96be44f
warning
2007-01-31 15:30:57 +00:00
Enno Rehling
622d0d496e
bugfix make_side
2007-01-31 15:28:51 +00:00
Enno Rehling
b116026d1d
http://www.pbem-spiele.de/forum/viewtopic.php?t=2748
...
SIMPLE_COMBAT enables new combat rules:
- guard command shortens combat
- combat in non-land is always short
- ships take (rounds-1)*5% damage
fixed a crash in xmlreader.
2007-01-31 10:17:53 +00:00
Enno Rehling
2b3daae8e3
removing old COUNT_DF define.
2007-01-30 22:20:13 +00:00