Commit graph

654 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
54446e0a1e RTS/Archetypes (WIP):
- tested and fixed archetype-recruiting
2007-05-28 19:45:08 +00:00
Enno Rehling
e639f53ea8 last commit didn't compile 2007-05-28 16:51:23 +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
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
9671629f47 Jamfile optimization 2007-05-03 11:08:51 +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
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
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
f9a39f6717 bugfix 2007-03-11 21:46:45 +00:00
Enno Rehling
e9feec08ba Routine fuer "Teure Fremde" hat auch Untote korrigiert. 2007-03-11 20:52:09 +00:00
Enno Rehling
fc121f99a6 command line parsing starts after the - 2007-03-01 07:55:44 +00:00
Enno Rehling
3428e5bb93 Exporting score (was used for HSE4) 2007-02-28 22:15:23 +00:00
Enno Rehling
f1a2a355d0 speedup for is_guarded(), which is more important with new combat code. 2007-02-25 13:35:52 +00:00
Enno Rehling
27c188ea1c report directory in .ini file
sleep/retry when errno during report writing.
2007-02-25 11:10:13 +00:00
Enno Rehling
a615089853 compile-fixes 2007-02-23 21:22:14 +00:00
Enno Rehling
61a479ad3f More English translations for spells and other parts of the code (addmessage replacements FTW) 2007-02-23 21:18:35 +00:00
Enno Rehling
d86835900f argh. lomem settings falschrum 2007-02-18 10:32:39 +00:00
Enno Rehling
96302d39b4 http://eressea.upb.de/mantis/view.php?id=1130
"Schattendämonen/-meister"

Es gibt ein neues Rassen-flag, dass das bestehelen fuer eine Rasse unterbindet. Wird eingesetzt fuer SD/SM.

Ausserdem: Eine Menge falsch gesetzter XML-tags repariert
2007-02-17 12:34:07 +00:00
Enno Rehling
8e9fb0f25b old command line option removed 2007-02-10 12:28:30 +00:00
Enno Rehling
4f5c8e1878 - removing demonfix
- adding ship.maxsize to lua interface
2007-02-07 17:58:31 +00:00
Enno Rehling
8c82b2815e more crashes caused by shipowner==NULL 2007-02-04 13:30:06 +00:00
Enno Rehling
bb374629ba Angepasste Jamfiles 2007-02-03 15:26:28 +00:00
Enno Rehling
91e7829b3c http://eressea.upb.de/mantis/view.php?id=975
"SPIONIERE bringt durchwegs falsche Resulate"

Falsche Schleife. Bei der Gelegenheit Spionage nach spy.c verlegt, und das ganze wegen der Sprueche die es brauchen in ein anderes Directory verschoben, auch wenn ich eigentlich meine, da gehoert es nicht hin...

Jamfile-Anpassungen kommen gleich.
2007-02-03 14:09:03 +00:00
Enno Rehling
3b180b2980 gmtool compilation problem fixed. 2007-01-30 22:58:49 +00:00
Enno Rehling
2eb2bf56a9 Piraterie Crashfix 2007-01-21 09:25:23 +00:00
Enno Rehling
e0f05aa9fd LUA: get_season() function 2007-01-13 21:34:32 +00:00
Enno Rehling
3067eb51ea region-keys and some renaming. 2007-01-13 21:29:57 +00:00
Enno Rehling
97342e5b81 http://eressea.upb.de/mantis/view.php?id=1096
Bergwächter können auch ohne Waffen bewachen.
2007-01-01 12:06:29 +00:00
Enno Rehling
96ef8640f3 verbosity in inifile
remove dead binding.
2006-11-22 22:17:15 +00:00
Enno Rehling
39d4c22186 Making this thing compile on windows. 2006-11-22 21:59:24 +00:00
Enno Rehling
71470c7fe2 added an ini-file reader to gmtool and server (the command line gets too damn long) 2006-11-22 21:07:48 +00:00
Enno Rehling
00d0bbc3b6 Removing some defines that have long become the norm for all games. 2006-11-04 21:38:25 +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
d8cff1f61f lua functions:
message_unit
  message_region
  message_faction
2006-10-04 22:25:39 +00:00
Enno Rehling
c3e4e828a8 NMR-Zaehlung auch fuer LUA 2006-08-20 13:32:03 +00:00
Enno Rehling
ed70863843 Total ohne Not mal wieder eine grosse Umstellung gemacht: Diesmal am Parser.
Okay, natuerlich habe ich damit was im Sinne: Das ist eine Vorbereitung auf voll geskriptete, neu zugefuegte Befehle und anderes Processing (aus Skripten). Fuer ein neues Spiel.

Hoffen wir, dass nicht zuviel kaputtgeht :-)
2006-08-12 19:15:16 +00:00
Enno Rehling
80e445fe96 guessing the name of the order file if it isn't specified. 2006-07-28 22:08:00 +00:00
Enno Rehling
da6e342ff3 Lua extension: ships get a weight and capacity property. 2006-07-25 09:57:47 +00:00
Enno Rehling
19870b9b2b Distanzberechnungen in Lua 2006-07-24 23:18:38 +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
Enno Rehling
964387c834 Erweiterung, um aus einem vom gmtool heraus aufgerufenen Skript Regionen zu highlighten oder zu selektieren. Noch ungetestet. 2006-05-25 14:56:10 +00:00
Enno Rehling
d72c0ab07e LUA: region.herbtype 2006-05-08 20:28:53 +00:00
Christian Schlittchen
10b1306b30 Diverse wdw-Fixes 2006-05-07 21:11:49 +00:00
Enno Rehling
978242f52c böser fehler in der fix_familiar() routine von letzter woche. 2006-04-22 18:43:58 +00:00
Enno Rehling
da12fb8586 lua properties for get/set familiar. 2006-04-22 11:32:28 +00:00
Enno Rehling
4c3e912a30 added the forgotten bindings to gamecode 2006-04-17 10:08:13 +00:00
Enno Rehling
4d82a5eca3 saving also on 'S' (since F2 isn't reliable) 2006-04-16 17:26:50 +00:00
Enno Rehling
7c80bbfebb lua-skripting für gmtool fertig 2006-04-16 16:32:14 +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
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
ec1f6c9963 lua-gmtool kompiliert unter linux 2006-04-16 13:04:52 +00:00
Enno Rehling
4316903e9a lua for the gmtool 2006-04-16 12:48:55 +00:00
Enno Rehling
573d283e92 'H': highlight (by terrain/units/faction/ships/none)
'T': tag (by terrain/units/faction/ships/none)
't': tag/untag current region
2006-04-14 16:56:48 +00:00
Enno Rehling
5e57e78818 fix familiar-fixes 2006-04-09 19:19:18 +00:00
Enno Rehling
11bc581285 gmtool, angefangen highlighting zu implementieren.
bugfixes letzter eressea-commit
2006-04-09 18:13:47 +00:00
Enno Rehling
2f8e9e2053 on a hunch, checking that number of mages is correct. Also, removing invalid familiars. 2006-04-09 18:10:57 +00:00
Enno Rehling
fc70d1d66a fix for fix_familiars complaining about goblins.
indentation fixes.
2006-04-09 17:35:15 +00:00
Enno Rehling
3145295ad4 http://eressea.upb.de/mantis/view.php?id=869
BEWACHE nach "langen" Kampf nicht möglich; Fehlermeldungen nach "langen" Kampf

Noch ein Flag eingeführt. Hoffe, dass das klappt.
2006-03-26 21:49:37 +00:00
Enno Rehling
a14d57f32d made the save function work, and not print so much (quiet now understands
'real quiet' as anything >=2 in some places).
Made the listbox code handle PNEXT and PPREV, very helpful for the faction
list.
2006-03-26 21:14:35 +00:00
Enno Rehling
a04cb3efbd http://eressea.upb.de/mantis/view.php?id=871
Units with FIGHT FLEE|NOT get -1 in tactics (implementation bug fixed)
2006-03-26 09:36:55 +00:00
Enno Rehling
a4f3784cb3 even less refreshing. 2006-03-26 00:08:34 +00:00
Enno Rehling
6da812e00c missing project file for VC7.1 2006-03-25 18:10:33 +00:00
Enno Rehling
34d5a238a3 improving the update speed of curses windows over my slow ssh connection,
less redraws.
2006-03-25 18:05:22 +00:00
Enno Rehling
bb1ba6b366 The new GM tool, added to the eressea/ directory. All that remains is to
salvage some mapper functionality and stuff it in there (and cleanup), then
the mapper/ directory can go.
2006-03-24 07:35:51 +00:00
Enno Rehling
d5b6803137 http://eressea.upb.de/mantis/view.php?id=845
Vertrauter hat keine Zauber
- Korrekturroutine komplett
2006-02-26 15:48:56 +00:00
Enno Rehling
d598babbb1 http://eressea.upb.de/mantis/view.php?id=845
- Vertraute haben keine Zauber, korrektur-routine.
2006-02-26 14:08:19 +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
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
4bc803ef2c http://eressea.upb.de/mantis/view.php?id=826
Wrong wages for orcs

also:
- removing some really old GMcommand code.
2006-02-12 20:10:32 +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
d63090111d return statement in void function = evil 2006-02-11 08:31:18 +00:00
Enno Rehling
d5c94df710 the awkwardly named 'young tree' is now called 'sapling' 2006-02-10 22:24:20 +00:00
Enno Rehling
102a68f01e eliminating iconv in favor of the encoding in libxml2 2006-02-09 22:43:31 +00:00
Enno Rehling
589b1b036a making the old eressea binary run on x64:
- normalvariate fix.
- familiars again
- invalid assert
- forgot init_reports
2006-02-09 22:20:28 +00:00
Enno Rehling
a1de5d5701 old eressea executable has problems with non-existing lua spells. 2006-02-09 19:57:25 +00:00
Enno Rehling
ef2e1c8da9 project eressa64: trying to run eressea natively on 64 bit hardware. 2006-02-09 19:39:17 +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
9466428c4d bugfix: create_mage u. Dämonen/VERGESSE
Windows: weg mit der Debug-CRT
2006-02-05 10:47:28 +00:00
Enno Rehling
4b0074cb3a don't use MT library for release 2006-02-04 13:08:44 +00:00
Enno Rehling
74b15fcd70 global warming only in summer - fix 2006-02-04 11:59:03 +00:00
Enno Rehling
fcbc834a2b global warming only in summer 2006-02-04 11:54:51 +00:00
Enno Rehling
5230bfd473 LUA: making faction.info writeable 2006-01-29 22:52:42 +00:00