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
6acb1e22c5
- fixed the summary.c
...
- implemented unicode_utf8_strcasecmp function
- fixed some xml files
- code compiles and runs on the console
TODO:
* switch from xmlChar to char again
* eliminate remaining warnings
* report.[hc] are still disabled
OPTIONAL:
* handle latin1 input?
2007-08-09 06:42:37 +00:00
Enno Rehling
940d236edc
- filereader.c rewritten since the initial implementation is in the moving van.
...
- moved some summary functionality (emails, aliases) to Lua code
- made default.lua an include for all the different run-scripts
report.c is the last file that needs some work, everything else should be fine. Most importantly, all the messages are not internationalized, so that means just about no more German in the code. Yay!
2007-08-08 07:43:24 +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
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
25cd0e4b66
added an option to have certain races supply a description without a need to
...
set u->display everywhere. This was costing 24 MB of memory just for the
braineaters alone, a terrible waste.
2007-06-25 01:50:34 +00:00
Enno Rehling
96a2b1c779
Include cleanup.
2007-06-20 00:34:02 +00:00
Enno Rehling
41a9ffb7b3
compile fixes, report fixes
2007-03-09 23:38:13 +00:00
Enno Rehling
1030e44c07
- All the cinfo_* functions will now return a message * object, which is nicer than using buf[].
...
- Some English translation.
2007-03-09 21:30:00 +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
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
523f47eb58
maximum backup (2 minutes)
2007-02-25 12:58:53 +00:00
Enno Rehling
546d3a2e1d
sleep/retry when errno during report writing, small fix
2007-02-25 11:52:56 +00:00
Enno Rehling
27c188ea1c
report directory in .ini file
...
sleep/retry when errno during report writing.
2007-02-25 11:10:13 +00:00
Enno Rehling
602853f0e2
Message-fixes
2007-02-25 09:02:43 +00:00
Enno Rehling
6c74bce4cd
Khadar-induced translations of mostly combat stuff.
2007-02-22 22:53:53 +00:00
Enno Rehling
3567e3f783
http://eressea.upb.de/mantis/view.php?id=1141
...
"Partei fehlt im Report"
Behandlung von Turmregionen. Hoffentlich richtig.
2007-02-21 19:59:27 +00:00
Enno Rehling
67fd90f3fc
http://eressea.upb.de/mantis/view.php?id=1136
...
"Großteil der Parteinamen fehlt im Report"
Auf-/Absteigende Reihenfolge der see_* Prioritaeten verwechselt.
2007-02-18 11:28:38 +00:00
Enno Rehling
05087b6d8e
wrong region used
2007-02-14 22:47:38 +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
91e7829b3c
http://eressea.upb.de/mantis/view.php?id=975
...
"SPIONIERE bringt durchwegs falsche Resulate"
Falsche Schleife. Bei der Gelegenheit Spionage nach spy.c verlegt, und das ganze wegen der Sprueche die es brauchen in ein anderes Directory verschoben, auch wenn ich eigentlich meine, da gehoert es nicht hin...
Jamfile-Anpassungen kommen gleich.
2007-02-03 14:09:03 +00:00
Enno Rehling
94966e8eda
sanity-checks for potential divisions by zero (u->number)
2006-10-15 14:09:59 +00:00
Enno Rehling
ae41442b01
Fix der NMR-Berechnung
2006-08-20 16:23:46 +00:00
Enno Rehling
c3e4e828a8
NMR-Zaehlung auch fuer LUA
2006-08-20 13:32:03 +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
7b76da7c39
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:04:49 +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
61a6a52665
Bessere hashgröße für seenhash
2006-02-14 23:03:49 +00:00
Enno Rehling
bc2cedd34f
fix invalid create_mage calls
...
prepare to re-enable worldmap
remove some dead code
2006-01-29 08:50:53 +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
55b9af27c2
http://eressea.upb.de/mantis/view.php?id=787
...
Signifikanter CR/NR-Unterschied
- das Regionsintervall wurde in write_plaintext() nicht korrekt benutzt.
2006-01-21 08:34:01 +00:00
Enno Rehling
7eee06c285
continued: new argument type "items" or "resources" (previous solution didn't allow lists of resources, which come in handy for build-error messages).
2006-01-13 21:20:19 +00:00
Enno Rehling
af59e2f09c
new argument-type for messages: items.
...
not the most efficient, since it takes a deep copy of the list.
2006-01-08 12:25:00 +00:00
Enno Rehling
357a73e826
XML reports - incomplete implementation, might finish it eventually.
2005-11-18 23:23:47 +00:00
Enno Rehling
028753b06b
- MACHEN ALLES "Wasser des Lebens" sollte jetzt gehen.
...
- Alte Funktion entfernt.
2005-11-06 11:33:19 +00:00
Enno Rehling
d2a75f15fe
code cleanup, reports. report types are now registered (some code I had on my disk since the days I was writing xml reports), and a new mailit format (reports.txt replaces mailit). Also, no more writing of shellscripts from the server, since that's done by an external script now.
2005-11-02 21:10:40 +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
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
1771a81c52
Neues Datenformat macht Schluss mit der Speicherung von spell-ids im Datenfile.
2005-10-08 15:25:21 +00:00
Enno Rehling
8e2225e4d5
translating a couple more spells
...
removing unnecessary includes of spell.h
2005-07-26 10:17:43 +00:00
Enno Rehling
659d32e5f3
at_follow Attribut wird nicht mehr im CR/NR ausgegeben, da es ohnehin nicht gespeichert wird.
2005-07-22 18:19:24 +00:00
Enno Rehling
fb7937a37d
last commit caused a crash. Also cleaning up the NR order writing a bit.
2005-07-16 21:18:22 +00:00
Enno Rehling
050092015e
http://eressea.upb.de/mantis/view.php?id=548
...
DEFAULT-Befehl funktioniert wieder nicht (aber diesmal auf andere Weise)
Im NR stehen die alten Befehle auch, wenn man sich mit DEFAULT einen neuen gegeben hat.
2005-06-19 21:40:46 +00:00
Enno Rehling
0b8c2c94ef
Potential buffer overruns galore.
2005-06-17 18:12:58 +00:00
Enno Rehling
4d0cfa34fa
messages müssen für den mapper nicht registriert werden.
...
itemcloak cursetype kann in einer static-variablen gehalten werden.
2005-06-13 20:28:27 +00:00
Enno Rehling
9dc06958e2
Even more flags to reduce attribute-lookups.
...
double bookkeeping can be scary, but i think it should be rather safe in these cases.
2005-06-12 17:57:14 +00:00
Enno Rehling
8242e9ed41
Eressea ist 64-bit ready. Denke ich jedenfalls.
2005-06-09 22:10:35 +00:00