Commit graph

193 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
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
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
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
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
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
fd7ddc2e2a old copy/paste bug 2007-06-26 01:42:43 +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
1729f137de charset-angabe im CR (always IDO-8859-1 right now) 2007-06-24 12:51:16 +00:00
Enno Rehling
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +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
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
68e2ec932f http://eressea.upb.de/mantis/view.php?id=1149
"Ozean wird im CR zum Regionstyp Mahlstrom, verliert im CR aber seinen Namen"

Maelstrom wird jetzt programmatisch in terrain_name gemacht (auch wenn es besser in terrain::name() sein sollte).
2007-03-04 22:27:32 +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
546d3a2e1d sleep/retry when errno during report writing, small fix 2007-02-25 11:52:56 +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
a9a8a9a6d3 crashbug leere magier
error fuer fehlende curseinfo
2007-02-11 21:48:35 +00:00
Enno Rehling
a80d69ceb5 http://eressea.upb.de/mantis/view.php?id=1001
"Wirkungsdauer von Wasserelementar anzeigen"

curseinfos fuer schiffe u.a. repariert.
2007-02-11 12:10:51 +00:00
Enno Rehling
eedb4e1ae9 http://eressea.upb.de/mantis/view.php?id=1052
"zauber-syntax in den cr aufnehmen"

boeser bug, der zauber-block in magellan unleserlich machte
2007-02-11 10:25:41 +00:00
Enno Rehling
ca347ea1f7 http://eressea.upb.de/mantis/view.php?id=1052
"zauber-syntax in den cr aufnehmen"

bugfix
2007-02-10 11:16:01 +00:00
Enno Rehling
f60ec33f2a http://eressea.upb.de/mantis/view.php?id=1052
"zauber-syntax in den cr aufnehmen"
2007-02-10 10:20:18 +00:00
Enno Rehling
8c82b2815e more crashes caused by shipowner==NULL 2007-02-04 13:30:06 +00:00
Enno Rehling
5e2a2f3b9a Einzahl/Mehrzahl Diskrepanz im CR. 2007-01-17 19:15:46 +00:00
Enno Rehling
02b012ed47 http://eressea.upb.de/mantis/view.php?id=960
"0 Wirkungen Siebenmeilentee"
Ausgabe in CR und NR respektiert "leere" attribute.
Issue: 960
2006-07-24 20:49:58 +00:00
Enno Rehling
dabb8ae3c2 http://eressea.upb.de/mantis/view.php?id=907
Fix to the fix for ship-damage
2006-05-19 19:37:33 +00:00
Enno Rehling
d47957487a http://eressea.upb.de/mantis/view.php?id=902
Verfuegbare Beladung auf Schiffen fehlerhaft
2006-05-07 21:54:53 +00:00
Enno Rehling
1e5aeac0e5 familiarmage attribute in CR
bindings for the GM tool (selection, current region)
2006-04-16 16:11:16 +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
d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling
3248053efe Messages benutzen alte Hashfunktion für Typ-Key. 2006-02-07 21:31:55 +00:00
Enno Rehling
5dd2542586 Fehler bei neuem itemlisten-argument 2006-01-21 18:10:46 +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
6df45d2a93 weight, cargo & capacity in the CR. 2006-01-18 23:12:59 +00:00
Enno Rehling
ba0851da7a There is probably no good way to do this in a CR: writing out a list of missing objects in a message object. 2006-01-13 22:30:24 +00:00
Enno Rehling
b49d1cadca Aus dem TODO:
- WDW spells per XML definiert, so dass sie nicht in Eressea auftauchen, aber auch kein define benötigen

- Neue Variante des seenspell-attributes.

- weniger find_spellbyid() aufrufe.
2006-01-01 18:35:55 +00:00
Enno Rehling
eadda41bcb no more find_spellbyid for resource files. 2006-01-01 17:19:51 +00:00
Enno Rehling
4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +00:00
Enno Rehling
15031089b4 http://eressea.upb.de/mantis/view.php?id=772
Falsche Lohn-angabe im CR
2005-12-04 17:15:30 +00:00
Enno Rehling
7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling
357a73e826 XML reports - incomplete implementation, might finish it eventually. 2005-11-18 23:23:47 +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
7cfc188e64 bug in pool-parameters (mode and amount mixed up in production code) 2005-10-30 11:55:22 +00:00