Commit Graph

158 Commits

Author SHA1 Message Date
Enno Rehling b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +00:00
Enno Rehling cae7e67fdf Unicode WIP
- Bugfix region::connect structure not initialized
- set encoding from Lua
2007-08-16 06:53:00 +00:00
Enno Rehling 9c88e406fd - .ini file ssettings for CRT debugging
- quick alloc-optimization for resolve.c
2007-08-15 06:27:40 +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 1a2c3942f1 Moving all item definitions to XML where they belong. 2007-06-20 18:15:29 +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 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 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 fa6192daf9 Christmas update: we celebrate Knut. 2007-05-27 21:48:29 +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 72d0596bec strcmp() bugfixes 2007-04-15 08:01:12 +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 426a8a34f2 - Do not trust strcheck() in Release
- Nobody needs strnzcpy() anymore, use bsdstring.h
2007-02-25 18:49:28 +00:00
Enno Rehling 5e99e84614 http://eressea.upb.de/mantis/view.php?id=1135
"Untote greifen sofort nach dem Aufstehen an"

spawn_* Funktionen erst am Ende der Auswertung
2007-02-18 11:27:26 +00:00
Enno Rehling bb374629ba Angepasste Jamfiles 2007-02-03 15:26:28 +00:00
Enno Rehling 97a2cbe5b0 Effekt von Weihnachtsbaum, Regionsmeldungen. 2007-01-13 21:55:11 +00:00
Enno Rehling dd58ca4830 christmas implementation (not very fast, but working) 2007-01-13 21:30:36 +00:00
Enno Rehling 56a28511a4 Weihnachtsgnom 2006 2006-12-23 23:58:03 +00:00
Enno Rehling 51fb741bce FUZZY_BASE36 fuer ein paar Parteien.
Falsche Meldung fuer curse-removal
2006-12-03 13:24:11 +00:00
Enno Rehling 0bf8468210 Sonnensegel macht +1 Geschwindigkeit. 2006-11-05 20:14:07 +00:00
Enno Rehling fb63929d81 http://eressea.upb.de/mantis/view.php?id=1045
Einheit besitzt "-1 Sternenstaub"?

lua interface benoetigt Zugriff auf den Regionspool um use_-Funktionen korrekt zu implementieren.
Issue: 1045
2006-10-28 07:45:59 +00:00
Enno Rehling d02be7811a cleanup 2006-10-07 21:26:31 +00:00
Enno Rehling 29f7128dee cleanup 2006-10-07 21:25:11 +00:00
Enno Rehling d8cff1f61f lua functions:
message_unit
  message_region
  message_faction
2006-10-04 22:25:39 +00:00
Christian Schlittchen 1162b6a795 Bugfixes WdW Sphinx und Phoenix 2006-09-17 18:20:36 +00:00
Enno Rehling ae41442b01 Fix der NMR-Berechnung 2006-08-20 16:23:46 +00:00
Enno Rehling 45fad69789 fi -> end 2006-08-20 13:33:01 +00:00
Enno Rehling c3e4e828a8 NMR-Zaehlung auch fuer LUA 2006-08-20 13:32:03 +00:00
Enno Rehling 6b835e9b82 - Making the new highlight/select bindings work
- script to move selected regions
2006-05-25 22:34:58 +00:00
Christian Schlittchen 10b1306b30 Diverse wdw-Fixes 2006-05-07 21:11:49 +00:00
Enno Rehling 288961e38a lua bindings:
- moved gamecode-related ones to a new object file
- added bindings to the gmtool
- fixed scripts that used set_brain()
2006-04-16 14:18:09 +00:00
Enno Rehling 6ed9ea2a9b call create_mage() for familiars
created a new lua file for familiar specializations, not really any content for now.
2006-02-26 13:24:16 +00:00
Enno Rehling 318f348f27 use snowman 2006-02-26 00:59:49 +00:00
Enno Rehling 7d856b43da Extrem blöder Bug in Schneemann-Routine 2006-02-12 23:37:56 +00:00
Enno Rehling 9475e47606 - bugfix capacities
- a little cleanup
2006-02-11 23:18:10 +00:00
Enno Rehling e936284347 Massive changes:
- removed all hadcoded weapons
- added code to put resources like iron&wood in XML
- added laen & wood to XML
- fixed damage for mallorn lance
- removed the old entrise code
- added new ent code in lua, eressea-only
2006-02-11 16:11:16 +00:00
Enno Rehling 640652ef99 earn_silver Zauber in script/xml ausgelagert.
bugfix snowman
avoid huge amounts of log-messages
handle renaming of spells.
2006-02-05 15:48:52 +00:00
Enno Rehling 7580c0fd72 doppelspieler 2006-01-29 15:11:20 +00:00
Christian Schlittchen d8de765bb7 - Quickfix fuer Crashbug im Mapper beim Erzeugen neuer Einheiten
- WdW-Sphinx-Kram
2006-01-15 18:47:52 +00:00
Enno Rehling bde8256028 http://eressea.upb.de/mantis/view.php?id=788
- Muschelmeldung
2006-01-15 13:44:52 +00:00
Enno Rehling 77bc58aabd bugfix: use_item scripts must return a value 2006-01-08 10:24:51 +00:00
Enno Rehling ba555c842a somehow random_terrain still crashes. oh, and tha familiar stuff was in the
wrong function
2006-01-01 22:20:52 +00:00
Enno Rehling 657fc3d123 WDW_PHOENIX define removed:
- Der Initialisierungs-Code ist in LUA reimplementiert.

- Ich habe das ganze spoils-Konzept etwas allgemeiner gemacht, man kann jetzt einfach ein equipment-objekt in XML definieren (siehe vinyambar-wdw.xml) der die spoils für eine Rassea angibt, (z.B. phonix_spoils nennen).

- Das gleiche für Drachen und Seeschlange gemacht.
2006-01-01 16:58:59 +00:00