Commit graph

50 commits

Author SHA1 Message Date
Enno Rehling
b63200adf9 Eressea can now be compiled and debugged with Eclipse CDT
Several changes to config.h mean that I probably broke compilation on some platforms. That really needs cleaning up.
2008-04-20 14:48:15 +00:00
Enno Rehling
fa375ed8b4 unicode fix to abbreviated orders 2007-09-03 22:23:30 +00:00
Enno Rehling
79dc9acf5f - fixing race prefixes
- fixing some latin1 loading
- improved the spell-syntax writer
- replaced my email address
2007-09-02 18:11:17 +00:00
Enno Rehling
d434b73617 - resizing buffer in battle.
- not writing past-the-end in orders.
- fix for show_allies.
2007-09-02 07:57:31 +00:00
Enno Rehling
a1865ee2fa - Undo modifications to strlcpy from rev 3631
- Many more warnings when buffers too small.
2007-09-01 23:40:58 +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
d48d8ec348 Unicode WIP:
- Visual C++ 2005 project files
- Savegames
- i18n for many more spells
2007-07-17 15:33:48 +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
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
f1b26f0234 Mehrere Bugfixes die aus der vorangegangenen Aenderung resultierten.
Ausserdem: Bei falsch geschriebenen Befehlen (ZCHTE) wird der falsche Befehl
in der Meldung ausgegeben.
2006-08-13 00:36:42 +00:00
Enno Rehling
7819848524 fixed buffersize-calculation for orders. 2006-01-29 13:52:49 +00:00
Enno Rehling
fe4ce3261f saving some strdup() calls 2006-01-24 23:19:09 +00:00
Enno Rehling
bcf0b8d446 removed the old GROWING_TREES macro.
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00
Enno Rehling
d674bf8f13 Automatic conversion LIEFERE -> @GIVE 2005-07-25 21:14:52 +00:00
Enno Rehling
0b8c2c94ef Potential buffer overruns galore. 2005-06-17 18:12:58 +00:00
Enno Rehling
23ab322ee1 http://eressea.upb.de/mantis/view.php?id=562
"LERNE Waffenloser Kampf" ohne Tilde

Ich mache mal Quotes um den String, wenn er ein Blank enthält.
2005-06-17 08:50:59 +00:00
Enno Rehling
21d2bb231d Programmablauf falsch bei LERNE MAGIE 2005-05-29 08:53:31 +00:00
Enno Rehling
ff265f489c The maximum number of references (32K) for the WORK order was exceeded. 2005-05-29 01:11:52 +00:00
Enno Rehling
7ad836e8e4 http://eressea.upb.de/mantis/view.php?id=522
LERNEN Magie hat einen optionalen Parameter, was ich vergessen hatte.
2005-05-22 21:02:42 +00:00
Enno Rehling
7ed6f06a15 Bugfixes an replace_order 2005-05-22 12:26:19 +00:00
Enno Rehling
2a04a9a22c Speicherspar-Features für Befehle disabled. 2005-05-22 10:56:19 +00:00
Enno Rehling
87f6a9e390 kleines null-pointer problem. 2005-05-11 20:38:19 +00:00
Enno Rehling
8a9727e5f2 letzter Schliff an den order-Strukturen und möglichen defines. 2005-05-11 20:24:51 +00:00
Enno Rehling
d72f078d55 duplicate strdup is no good. 2005-05-11 20:03:46 +00:00
Enno Rehling
2e7e23ad97 small bugfix. 2005-05-11 17:07:49 +00:00
Enno Rehling
17419a3164 sharing STUDY orders between units.
monsters: code cosmetics
2005-05-11 16:12:42 +00:00
Enno Rehling
198f2cf90f Das mit dem neuen Befehls-handling zieht Kreise. 2005-05-09 22:30:43 +00:00
Enno Rehling
a285399f9a valgrind mochte das mit den bit-sizes nicht. nagut. 2005-05-09 21:18:51 +00:00
Enno Rehling
e2d87d2b2a Reference-counting in Befehlen. Derzeit nur für Befehle ohne Parameter.
jetzt mit define SHARE_ORDERS aktivierbar.
2005-05-09 20:01:28 +00:00
Enno Rehling
c755cf39f2 Reference-counting in Befehlen. Derzeit nur für Befehle ohne Parameter. 2005-05-09 19:57:44 +00:00
Enno Rehling
001d9461a1 Wir machen jetzt wieder eine Kopie alter länglicher Befehle. Vielleciht hilft es. 2005-05-01 11:32:24 +00:00
Enno Rehling
7e027ada71 null-pointer problem wenn SHORT_STRINGS aktiv 2005-04-30 17:16:17 +00:00
Enno Rehling
092b249060 unit::lastorder entfernt. Das Konzept eines einzelnen langen Befehles hat ausgedient, spätestens seit @ existiert. 2005-04-30 17:07:46 +00:00
Enno Rehling
3bf96bdb12 http://eressea.upb.de/mantis/view.php?id=480
FOLGE SCHIFF wird ein langer Befehl

Neuer Parameter --lomem, um unkritische Strings zu ignorieren (spart mindestens 150 MB Speicher). Nicht für echte Auswertungen verwenden!

Tests für display/name/etc == NULL
2005-04-23 09:47:03 +00:00
Enno Rehling
ad692ba667 bugfix isalnum
HSE-Skripte
2005-02-19 14:09:22 +00:00
Enno Rehling
94c596c388 http://eressea.upb.de/mantis/view.php?id=444
!isalnum statt isspace sollte den Parser weniger Anfaellig amchen fuer
bekloppte Mailer.
2005-02-18 13:47:37 +00:00
Enno Rehling
f0f97913e9 * befehle einlesen: space am ende des befehles
* datenfile: Befehle haben die " nicht escaped

* cr: rendered-strings sind nicht escaped.
2004-07-02 19:08:53 +00:00
Enno Rehling
075ab8d997 - Bugfix Patzermeldungen,
- Entfernte Befehle kriegen next=NULL, assert desselben.
2004-06-27 12:19:58 +00:00
Enno Rehling
850d4704e4 Doppelte @ ignorieren 2004-06-27 08:41:55 +00:00
Enno Rehling
f1f23e3ff3 Der letzte commit war etwas verfüht... 2004-06-26 21:03:42 +00:00
Enno Rehling
612cb54ed9 - Ein Haufen kleiner Dinge, und ein crashfix in Bauernblut. 2004-06-26 20:51:19 +00:00
Enno Rehling
a8ed2663ef falscher befehl ge-free'd, crash 2004-06-26 09:28:39 +00:00
Enno Rehling
896d8b0e96 - Fixes an den orders
- Monster-Skripting in Lua (fast fertig)
- Mapper wieder lauffähig
2004-06-22 22:00:36 +00:00
Enno Rehling
5e4b063b9b - Backport der orders aus E2 2004-06-21 16:45:27 +00:00
CVS2SVN
9a3c1cbae7 This commit was manufactured by cvs2svn to create branch
'eressea-freeze'.
2003-11-09 23:36:11 +00:00