Commit graph

2737 commits

Author SHA1 Message Date
Enno Rehling
e63c3dc4a1 Unicode WIP:
- creport.c compiles
2007-07-22 09:31:39 +00:00
Enno Rehling
7031e9d032 Unicode WIP:
- a lot of set_string calls replaced.

Now I mostly have to work on the report-writing code and this is done.
2007-07-21 15:35:07 +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
219e836791 XML-configurable, Unicode-enabled naming of dragons. 2007-06-28 00:29:42 +00:00
Enno Rehling
eea094a010 gcc did not like xstrcat 2007-06-28 00:13:30 +00:00
Enno Rehling
0059254797 XML-configurable, unicode-enabled naming of undead, skeleton, ghoul and zombie 2007-06-28 00:06:43 +00:00
Enno Rehling
1637950201 Started converting the naming-functions (iso-8859-1 constants must be removed from code). it's stupid monkey labour. 2007-06-27 23:32:24 +00:00
Enno Rehling
57ae5f8fcd wonderful. gcc will not let me pass a xmlChar** into a const xmlChar**
function.
2007-06-27 23:04:26 +00:00
Enno Rehling
68f4ba23f7 xml includes 2007-06-27 22:42:19 +00:00
Enno Rehling
fc889b8301 Unicode WIP, does not compile.
- many spell messages now in both languages.
2007-06-27 20:52:43 +00:00
Enno Rehling
13a019335e bugs found with gcc 2007-06-27 20:51:56 +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
0a997cadcd compilation fixes 2007-06-27 01:03:46 +00:00
Enno Rehling
588c136071 Unicode WIP, does not compile.
- finishing for today, several more files compile.
2007-06-27 00:54:54 +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
ea07884657 Unicode WIP, does not compile.
- monsters use create_order instead of parse_order because that means less use of sprintf and buf[].
- rename drachen_name to dragon_name.
2007-06-26 21:50:07 +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
6b4ad684af Unicode WIP: Mostly Jamfile fixes for linux and some unuse code disabled 2007-06-26 09:51:18 +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
fd7ddc2e2a old copy/paste bug 2007-06-26 01:42:43 +00:00
Enno Rehling
997b3cd21b duplicate xmlChar definition is problematic 2007-06-26 01:12:14 +00:00
Enno Rehling
4a34b3443b WIP: utf8 support (yes, this is madness) 2007-06-26 00:24:50 +00:00
Enno Rehling
77f8bda91b WIP: utf8 support (yes, this is madness) 2007-06-26 00:22:31 +00:00
Enno Rehling
60651018aa slight mistake in the braineater description 2007-06-25 02:53:19 +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
2610986a5a Complete potion descriptions, thanks to Khadar 2007-06-24 17:54:48 +00:00
Enno Rehling
706419c36b vc needs to know about the synonym removal 2007-06-24 14:06:47 +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
1729f137de charset-angabe im CR (always IDO-8859-1 right now) 2007-06-24 12:51:16 +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
5dbeb63531 potion texts do not belong inside the code. 2007-06-20 19:41:45 +00:00
Enno Rehling
fde8e9bada old weapons code that is no longer needed since all weapons have been in XML for a long time. 2007-06-20 18:29:46 +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
004d0f856c newly unused code can go. less code = good. 2007-06-20 18:19:43 +00:00
Enno Rehling
1a2c3942f1 Moving all item definitions to XML where they belong. 2007-06-20 18:15:29 +00:00
Enno Rehling
fde595c7f7 http://eressea.upb.de/mantis/view.php?id=1198
- FOLLOW SHIP id [speed]
2007-06-20 12:54:47 +00:00
Enno Rehling
e3496dd9e9 gcc doesn't like __cdecl. why was this here? 2007-06-20 00:45:22 +00:00
Enno Rehling
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling
878914636d include not necessary 2007-06-13 19:29:26 +00:00
Enno Rehling
4614664164 Invalid format specifier 2007-06-13 12:39:09 +00:00
Enno Rehling
0c05d8f978 Lua 5.1 has deprecated the old for-syntax for tables. 2007-06-13 12:38:15 +00:00
Enno Rehling
9d72640755 Compiles with LUA 5.0, too 2007-06-11 23:56:04 +00:00
Enno Rehling
8c57e05798 Made Eressea compile and run with lua 5.1 2007-06-11 23:00:15 +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
29cfece1f3 http://eressea.upb.de/mantis/view.php?id=1195
"Welche Sprache spricht mein Gegenüber"

Info für andere Parteien jetzt auch im CR.
2007-06-07 20:41:13 +00:00
Enno Rehling
9f86a467b7 compile fixes 2007-05-30 01:23:21 +00:00
Enno Rehling
7233af54b4 Simple allow/deny style restrictions for archetypes (let only humans recruit gamedesigners, etc).
These need to be more powerful to be useful, and the current way they are implemented is not, but the general idea strikes me as good.

Also, feedback should be configurable for each failed rule.
2007-05-30 01:21:09 +00:00
Enno Rehling
0ebf9e3187 RTS/Archetypes (WIP):
- message and locale-fixes
2007-05-28 21:10:59 +00:00
Enno Rehling
5ca0e5cd8a simplified sue of localized parameter-strings in messages 2007-05-28 20:04:42 +00:00
Enno Rehling
b5d6b0876e give player an error message when a message is missing. 2007-05-28 19:53:52 +00:00
Enno Rehling
54446e0a1e RTS/Archetypes (WIP):
- tested and fixed archetype-recruiting
2007-05-28 19:45:08 +00:00
Enno Rehling
2651973059 RTS/Archetypes (WIP):
- equipment for new factions
- game gets a calendar
2007-05-28 17:52:24 +00:00
Enno Rehling
0711b51cfe min/max confusion. again. 2007-05-28 17:32:15 +00:00
Enno Rehling
c1ba34a268 archetype-recruiting can be limited by building-size 2007-05-28 17:31:40 +00:00
Enno Rehling
bf89b256e5 broken xml file 2007-05-28 16:52:46 +00:00
Enno Rehling
e639f53ea8 last commit didn't compile 2007-05-28 16:51:23 +00:00
Enno Rehling
b1bf54067e welcomepath is no longer in use. 2007-05-28 16:10:34 +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
0fedaf43b2 building_type::name gets an extra parameter (for future use) 2007-05-28 09:46:23 +00:00
Enno Rehling
e2c06c8b46 DESTROY command will recycle materials again (but only when building/ship is completely destroyed). 2007-05-28 09:34:26 +00:00
Enno Rehling
31bcc1030a recycle="0.5" is a more sensible default for building materials. 2007-05-28 09:26:08 +00:00
Enno Rehling
fa6192daf9 Christmas update: we celebrate Knut. 2007-05-27 21:48:29 +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
1ca7075c09 NEW_MIGRATION define is obsolete 2007-05-27 20:13:47 +00:00
Enno Rehling
dfc89b163d http://eressea.upb.de/mantis/view.php?id=1189
"Kein Anpflanzen von Kräutern"

Bessere Fehlermeldungen fuer PFLANZE/ZUECHTE, und beide Funktionen zu einer zusammengefuehrt.
2007-05-22 17:09:23 +00:00
Enno Rehling
425a1eb390 Die Einheit hat diesen Gegenstand zwar, aber sämtliche $int($reservation) $resource($resource,$reservation) sind reserviert. 2007-05-15 20:11:25 +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
9671629f47 Jamfile optimization 2007-05-03 11:08:51 +00:00
Enno Rehling
74de05a4d3 http://eressea.upb.de/mantis/view.php?id=1178
"Boot und Kueste"

localization of ", " returns "and"? weird.
2007-04-27 11:31:02 +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
a4ab94eabd nobody really needs the mapper anymore... 2007-04-22 01:29:01 +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
8d804fecdb unintentional comma operator 2007-04-19 15:14:52 +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
cb65679573 zuviel entfernt 2007-04-15 10:42:26 +00:00
Enno Rehling
f227f1a7b1 Deutsche Rechtschreibung: Pluralbildung von Abkuerzungen gibt es nicht. 2007-04-15 10:38:34 +00:00
Enno Rehling
72d0596bec strcmp() bugfixes 2007-04-15 08:01:12 +00:00
Enno Rehling
6283910959 - Fehlermeldungen ueber fehlende item-infos und Rasseninfos entfernt
- Falsche Rasseninfos (Attacken) aus strings.xml entfernt
2007-04-08 08:24:09 +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
81a89b8d47 quicker % 2007-04-04 19:27:20 +00:00
Enno Rehling
85e9803acf bugfix xmastrees 2007-04-04 19:25:40 +00:00
Enno Rehling
e5bd9e8199 funktion. braucht klammern. 2007-04-04 18:52:11 +00:00
Enno Rehling
a8e543c3f3 Error message when password is wrong. 2007-03-25 20:00:14 +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
98141baec1 http://eressea.upb.de/mantis/view.php?id=1164
"ZAUBERE Gabe~des~Chaos produziert keine Meldung"

korrekte uebergabe des levels erzeugt fehlermeldung.
2007-03-25 17:29:31 +00:00
Enno Rehling
ae4f52e80d http://eressea.upb.de/mantis/view.php?id=1156
"Bergwächter bewacht Ebene"

Spruchbeschreibung aktualisiert.
2007-03-25 09:59:25 +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
c722a382a2 Generalisierung der Tests fuer lange Befehle, (Insekten, Meermenschen auf See usw.) damit ich die nicht ueberall vergesse. 2007-03-25 00:04:40 +00:00
Enno Rehling
eb1d2373e8 http://eressea.upb.de/mantis/view.php?id=1157
"Menschen reparieren Schiffe auf See"

lange befehle sind auf see nicht erlaubt.
2007-03-24 23:06:55 +00:00
Enno Rehling
28582c6728 http://eressea.upb.de/mantis/view.php?id=1160
"Kein langer Befehl nach angeblichem Kampf"

Nur ein bischen Kosmetik.
2007-03-24 21:14:01 +00:00