Enno Rehling
d6cce4fb40
converting output to stdio for windows CP1252
2007-10-28 23:13:46 +00:00
Enno Rehling
a79d40a91f
removing the naming confusion between elven horse and unicorn in the source
2007-10-12 22:14:01 +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
7dda1968ee
http://eressea.upb.de/mantis/view.php?id=1264
...
"Rekrutieren nicht möglich trotz besänftigten Aufstandes"
http://eressea.upb.de/mantis/view.php?id=1265
"Turned back into a toad for no reason"
2007-08-31 06:52:27 +00:00
Enno Rehling
a33d59b21a
Unicode WIP:
...
This code did a full run of turn 531, with all reports.
- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
2007-08-21 07:04:44 +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
55e0656250
unicode branch gets premake
2007-08-05 12:19:56 +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
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
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
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
c95342a88b
cleaning up in the magic code a little, and making the actual casting a separate function for easier debugging.
2007-03-25 18:37:28 +00:00
Enno Rehling
98141baec1
http://eressea.upb.de/mantis/view.php?id=1164
...
"ZAUBERE Gabe~des~Chaos produziert keine Meldung"
korrekte uebergabe des levels erzeugt fehlermeldung.
2007-03-25 17:29:31 +00:00
Enno Rehling
4ea302940f
http://eressea.upb.de/mantis/view.php?id=1151
...
"Einheit konnte sich nach Kampf nicht bewegen"
Die KAEMPFE FLIEHE logik hat drauf vertraut, das movement nur nach UFL_NOTMOVING schaut, nicht nach LONGACTION. dafuer muss aber eine Menge getan werden, das nicht wurde. Jetzt aber...
2007-03-11 22:18:58 +00:00
Enno Rehling
6c8c7ae592
http://eressea.upb.de/mantis/view.php?id=1146
...
"Astraler Ruf findet Einheiten nicht"
Fehlerkontrolle muss in den spell selbst hinein, weil SEARCHGLOBAL nicht testet, aber wegen Einheit in anderer Region noetig.
Meldung ueber fehlende Einheit fuer Zauber in eigene Funktion gesplittet.
2007-03-04 20:26:31 +00:00
Enno Rehling
88b041880c
The power of 2, faster.
2007-02-12 23:08:32 +00:00
Enno Rehling
a9a8a9a6d3
crashbug leere magier
...
error fuer fehlende curseinfo
2007-02-11 21:48:35 +00:00
Enno Rehling
bb5aa58454
http://eressea.upb.de/mantis/view.php?id=1053
...
"Fehler in Fehlermeldung bei Auramangel"
korrekte Anzahl fehlender Komponenten
2007-02-11 17:22:43 +00:00
Enno Rehling
8d5ee9c811
crash
2007-02-04 13:25:05 +00:00
Enno Rehling
94966e8eda
sanity-checks for potential divisions by zero (u->number)
2006-10-15 14:09:59 +00:00
Enno Rehling
31b8b57b77
Crashbug: Magieregeneration fuer tote Magier
2006-10-01 08:09:48 +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
d47f599537
crashbug toter magier mit antimagiczone
2006-04-23 08:56:51 +00:00
Enno Rehling
d8a89d7630
familiar crap.
2006-04-22 21:45:59 +00:00
Enno Rehling
da12fb8586
lua properties for get/set familiar.
2006-04-22 11:32:28 +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
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
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
a1de5d5701
old eressea executable has problems with non-existing lua spells.
2006-02-09 19:57:25 +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
77602d1316
http://eressea.upb.de/mantis/view.php?id=810
...
cast_level statt co->level in der message
2006-02-05 13:06:27 +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
939773826b
init of old items fails with new hash function
2006-02-04 17:28:19 +00:00
Enno Rehling
546524fe0c
duplicate attribute error
2006-01-29 15:57:47 +00:00
Enno Rehling
7a3ca3ce5b
- indentation fixes
...
- statistics beautification
2006-01-29 14:05:28 +00:00
Enno Rehling
b0e5f436cd
- lots of memory leaks fixed.
2006-01-29 01:55:36 +00:00
Enno Rehling
2ac568cfa7
compile-fix
2006-01-13 23:11:50 +00:00
Enno Rehling
e19a918291
magic uses new argument type to report missing components.
2006-01-13 21:27:16 +00:00
Enno Rehling
6ad7a5562e
code cleanup: removed all old cases of new_message being called, and the function itself.
2006-01-08 11:33:10 +00:00
Enno Rehling
bf6dbe4b26
fixing a few crashes when new_race[i] is null.
...
error handling for missing seenspells.
2006-01-02 08:38:46 +00:00
Enno Rehling
c60502bfc8
find_spellbyid() kriegt nen magietyp für den fall wo zwei zauber gleich heissen, und nicht über ihre 'alte' id erkannt werden, sondern den hash des namens (für seenspell)
2006-01-01 20:11:09 +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
eba19999f4
noch mehr funktionen mit new_ prefix aus pool.h bekommen den entfernt.
2005-10-30 15:42:15 +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
Enno Rehling
ac30257333
removed a lot of old code that used or initialized potions and herbs, moved those to the xml data instead. also made spells use resource_type instead of resource_t to have one less place where those are used.
...
The tech-tree loading is now smart enough that a resource can depend on another one that isn't loaded yet (it builds a dummy of the resource at first). his can backfire if you then forget to define that resource for real, i'll eventually need error-handling there.
2005-10-25 20:44:18 +00:00