Commit graph

212 commits

Author SHA1 Message Date
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
77bb331bc5 Unicode WIP:
some message-fixes, building types that had been broken since forever, small stuff
2007-08-12 13:56:59 +00:00
Enno Rehling
dbfb50625e Unicode WIP:
- bugfixes ongoing
2007-08-12 13:02:24 +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
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
f013ead006 removing old visual studio files 2007-08-05 12:28:15 +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
d37f068104 Unicode WIP:
- i18n for more spells.
2007-07-18 06:22:13 +00:00
Enno Rehling
6fe368d790 Unicode WIP:
- i18n for more spells.
2007-07-17 18:42:47 +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
68f4ba23f7 xml includes 2007-06-27 22:42:19 +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
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
08d10d8588 assert wg. falscher message-parameter (der sollte eigentlich nicht noetig
sein)
2007-05-13 11:43:38 +00:00
Enno Rehling
cd982034e4 http://eressea.upb.de/mantis/view.php?id=1179
"Textausgabe bei "Vertrauten rufen" falsch"
2007-04-27 11:27:12 +00:00
Enno Rehling
89108c997b uninitialized use of variable 2007-04-22 16:30:43 +00:00
Enno Rehling
6c71a3765a wrong message parameters make crash 2007-04-22 14:09:34 +00:00
Enno Rehling
668809b9c2 Beautification: New English texts, some NR fixes. 2007-04-22 12:45:54 +00:00
Enno Rehling
c36b14e9e0 Nur Boote und Langboote koennen per Zauber fliegen.
Ein Item fuer den Flug von anderen Schiffen.
2007-04-22 01:10:38 +00:00
Enno Rehling
614aa80bdf CURSE_ISNEW moved so that it's generally defined by the curse_type, since most spells actually start working in the same round. 2007-04-22 00:30:12 +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
d57e6724d1 http://eressea.upb.de/mantis/view.php?id=1170
Translating the familiar-description and moving some part to documentation.
2007-04-08 07:43:39 +00:00
Enno Rehling
64fa29f9df http://eressea.upb.de/mantis/view.php?id=1162
"BENENNE und BESCHREIBE bei TEMP-Einheiten funktioniert nicht"

Die neue generalisierte Logik hat zugeschlagen :-(

Ausserdem wieder eine Reihe englischer Uebersetzungen.
Issue: 1162
2007-03-25 09:52:23 +00:00
Enno Rehling
26fc10dbc9 sp_rallypeasantmob crashed last week 2007-03-24 19:32:30 +00:00
Enno Rehling
0bee2f7f25 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Falsche REgion getestet, hah.
2007-03-12 20:51:24 +00:00
Enno Rehling
9aef2904c3 sp_generous translation 2007-03-11 22:59:12 +00:00
Enno Rehling
4c463f1fc3 More English spell effects 2007-03-11 21:46:04 +00:00
Enno Rehling
c0ec4a9a15 English spell effect 2007-03-11 21:37:38 +00:00
Enno Rehling
349f6f9828 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Kosmetischer Fix.

Ausserdem:
- Schiffsbeschleunigung auf Englisch
- less verbose on the monster spawns
2007-03-11 14:03:41 +00:00
Enno Rehling
9370a34190 bugfix info_str messages 2007-03-09 22:10:01 +00:00
Enno Rehling
0423debfde - All the cinfo_* functions will now return a message * object, which is nicer than using buf[]. 2007-03-09 21:34:40 +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
041a258ab2 do not crash when missing curseinfo 2007-03-07 13:24:12 +00:00
Enno Rehling
39e942fd99 Zwei neue Zauberbeschreibungen in Englisch. 2007-03-05 20:57:38 +00:00
Enno Rehling
34c20e5c94 translation: Blick in die Realitaet 2007-03-05 19:19:49 +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
6c8c7ae592 http://eressea.upb.de/mantis/view.php?id=1146
"Astraler Ruf findet Einheiten nicht"

Fehlerkontrolle muss in den spell selbst hinein, weil SEARCHGLOBAL nicht testet, aber wegen Einheit in anderer Region noetig.
Meldung ueber fehlende Einheit fuer Zauber in eigene Funktion gesplittet.
2007-03-04 20:26:31 +00:00
Enno Rehling
6b6132605f http://eressea.upb.de/mantis/view.php?id=1143
"Ich habe mit dem Astralen Ruf eine mir unbekannte Einheit gerufen"

sp_pullastral gibt eine Region an. Da ist SEARCHGLOBAL der falsche Parameter fuer den Zauber, und fuehrt zu massivem exploit.
2007-02-28 22:22:40 +00:00
Enno Rehling
dc8dda6430 removing unused function 2007-02-23 23:43:23 +00:00