Commit graph

321 commits

Author SHA1 Message Date
Enno Rehling
23505d2b84 Slightly more cache-friendly hashing (WIP) 2008-04-24 01:37:47 +00:00
Enno Rehling
36812c1168 making a warning go away. clarifying the need to remove the _MODULE defines and how to. 2008-04-20 15:18:43 +00:00
Enno Rehling
b63200adf9 Eressea can now be compiled and debugged with Eclipse CDT
Several changes to config.h mean that I probably broke compilation on some platforms. That really needs cleaning up.
2008-04-20 14:48:15 +00:00
Enno Rehling
3e475d63ad SIMPLE_ESCAPE and SIMPLE_COMBAT no longer needed. 2008-03-29 09:15:14 +00:00
Enno Rehling
40898eea55 http://eressea.upb.de/mantis/view.php?id=1365
"ALLES funktioniert nicht bei GIB"
- disabling OPTION MATERIALPOOL
2008-02-12 18:26:30 +00:00
Enno Rehling
55fc1ccd47 http://eressea.upb.de/mantis/view.php?id=1351
"Gegner bewegt sich im Astralraum, obwohl er einen langen Kampf hatte"
- made guarding astral space work.
2008-02-05 15:23:07 +00:00
Enno Rehling
16d55c2eaf http://eressea.upb.de/mantis/view.php?id=1361
"Blick in die Realität mit falschem Namen"
- make invisible races disappear from the CR.
2008-02-04 18:33:53 +00:00
Enno Rehling
adab7ea8f6 fixing log output (umlauts)
fixing battledebug
2008-01-22 03:47:32 +00:00
Enno Rehling
1d47c99f18 ufindhash negative ids assert 2007-12-13 16:18:20 +00:00
Enno Rehling
09a08fb84a fixing the item use functions and making future fuckups less likely 2007-12-03 19:26:17 +00:00
Enno Rehling
d6cce4fb40 converting output to stdio for windows CP1252 2007-10-28 23:13:46 +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
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
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
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
8e897d29be movement.h -> move.h 2007-08-05 12:26:46 +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
b2cbb1234b Unicode WIP, does not compile.
- finishing for today. Spells still need work, the error-messages need translation.
2007-06-28 00:39:55 +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
39ce1bd0dd Unicode WIP, does not compile.
- xmlStr functions have bad signatures, replacing them with defines in config.h
- more removal of buf[] usage
2007-06-27 00:08:46 +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
32a3c0103f The synonym attribute was not in use, and relied on the old race_t type to
idntify races. It is better to use racename-attributes for this, I think.
2007-06-24 14:04:42 +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
4a75e13cb0 http://eressea.upb.de/mantis/view.php?id=1196
"Tarnung und Bilden neuer Einheiten"

Tarn-Status wird vererbt
2007-06-07 20:42:00 +00:00
Enno Rehling
b27da8c056 Archetypes (WIP): "RECRUIT 15 knight"
creates XML-configurable pre-skilled units for game variants with faster reinforcements.
Speeding up locale-string lookup a little bit, and making it more unified for different classes of strings (so new ones are easily added).
2007-05-28 16:03:48 +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
07ecc3e517 calling getplane() and rplane() is a real waste of cycles (and happens enough to shortcut it) 2007-03-01 21:51:35 +00:00
Enno Rehling
c355a5d862 bugfix buffer bounds 2007-02-28 21:50:19 +00:00
Enno Rehling
426a8a34f2 - Do not trust strcheck() in Release
- Nobody needs strnzcpy() anymore, use bsdstring.h
2007-02-25 18:49:28 +00:00
Enno Rehling
f1a2a355d0 speedup for is_guarded(), which is more important with new combat code. 2007-02-25 13:35:52 +00:00
Enno Rehling
bbe226e22e http://eressea.upb.de/mantis/view.php?id=1130
"Schattendämonen/-meister"

Es gibt ein neues Rassen-flag, dass das betreten von Schiffen fuer eine Rasse unterbindet. Wird eingesetzt fuer SD/SM.
2007-02-17 12:51:40 +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
cb4037dd56 warning 2007-02-12 07:29:07 +00:00
Enno Rehling
c61127ab6f SIMPLE_ESCAPE: Flucht verhindert BEWACHE. 2007-02-12 07:27:04 +00:00
Enno Rehling
eb0843b92c asserting that people don't do stupid things. 2007-02-07 17:49:26 +00:00
Enno Rehling
807df53a4b improved sql updates 2006-12-02 10:10:59 +00:00
Enno Rehling
84f54d2642 forgot to commit a fix 2006-11-13 08:50:03 +00:00
Enno Rehling
6d4c4240a1 crashfix for calling destroy_unit on a unit that has already been destroyed. 2006-11-12 09:50:23 +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
a87cc547e1 fixed problems with units that had no faction 2006-10-23 17:21:13 +00:00
Enno Rehling
94966e8eda sanity-checks for potential divisions by zero (u->number) 2006-10-15 14:09:59 +00:00
Enno Rehling
341b29c401 disable clone-spell (quit-crash)
fix order of restart and quit command (spell-crash)
2006-10-08 11:19:35 +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
ed70863843 Total ohne Not mal wieder eine grosse Umstellung gemacht: Diesmal am Parser.
Okay, natuerlich habe ich damit was im Sinne: Das ist eine Vorbereitung auf voll geskriptete, neu zugefuegte Befehle und anderes Processing (aus Skripten). Fuer ein neues Spiel.

Hoffen wir, dass nicht zuviel kaputtgeht :-)
2006-08-12 19:15:16 +00:00