Commit Graph

3026 Commits

Author SHA1 Message Date
Enno Rehling 67184b0c96 Unicode WIP:
- building name changes
- locale optimization
- fixing some error messages
2007-08-13 07:29:39 +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 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 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 376172adcd Unicode WIP:
- sinking ships i18n
2007-07-23 19:36:43 +00:00
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 20a190213e The Unicode port gets a branch, there are too many changes for this to be done in one smooth commit, and I want the option of running it side-by-side with the old code. 2007-06-26 09:29:51 +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