Commit graph

69 commits

Author SHA1 Message Date
Enno Rehling
7cb18e90ea http://eressea.upb.de/mantis/view.php?id=1408
"Zauberpatzer - Effektmeldung"
- fixed positive message should be negative
- fixed ct_find
- fixed a few places not checking u->number or u->region
- speeding up pool when units have no items.
2008-05-27 22:03:57 +00:00
Enno Rehling
f54037295a compat fixes for old datafiles (turn 287) 2008-05-27 09:21:56 +00:00
Enno Rehling
577601f912 support code for reading data files with old curses 2008-05-27 07:58:04 +00:00
Enno Rehling
186a575c7c http://eressea.upb.de/mantis/view.php?id=1432
"Der strict-aliasing fix zerstoert Referenzen"
- mostly rewrote the whole delayed resolution code.

http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- made a mistake deleting damaged ships.

also:
- WORMHOLE_MODULE is now a config option
2008-05-24 00:20:00 +00:00
Enno Rehling
599fa82a27 http://eressea.upb.de/mantis/view.php?id=1411
"Server does not compile with -fstrict-aliasing"
- fixed all the aliasing-issues that gcc reported.
2008-05-17 15:21:17 +00:00
Enno Rehling
4afcf145f5 - remove the "confusion" spells because they do not work. 2008-05-13 20:22:31 +00:00
Enno Rehling
c05aad1b14 - binary storage uses packed int
- creport: disabled writing of r->uid
- creport: fixed missing quotes
2008-04-27 09:52:03 +00:00
Enno Rehling
bc5fa11611 - made a storage class that wraps disk i/o for data files
- recreated old behaviour in text_storage class
- built binary_storage class: saves 60% of load time, adds 20% to file size.

next: gzip & others?
2008-04-26 14:55:22 +00:00
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
33da72e28a http://eressea.upb.de/mantis/view.php?id=1308
"Fehler bei "Schlechte Träume""
- fixed curse_active check.
2008-03-05 18:39:44 +00:00
Enno Rehling
e04184b673 asserts 2007-12-13 16:19:49 +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
af36f06b15 i18n progress: moved all curseinfo messages to XML file, removed info_str 2007-09-02 15:42:48 +00:00
Enno Rehling
55e0656250 unicode branch gets premake 2007-08-05 12:19:56 +00:00
Enno Rehling
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +00:00
Enno Rehling
614aa80bdf CURSE_ISNEW moved so that it's generally defined by the curse_type, since most spells actually start working in the same round. 2007-04-22 00:30:12 +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
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
fd06a885f0 More curseinfo everywhere, less code. 2007-02-23 23:38:44 +00:00
Enno Rehling
bb374629ba Angepasste Jamfiles 2007-02-03 15:26:28 +00:00
Enno Rehling
0bf8468210 Sonnensegel macht +1 Geschwindigkeit. 2006-11-05 20:14:07 +00:00
Enno Rehling
94966e8eda sanity-checks for potential divisions by zero (u->number) 2006-10-15 14:09:59 +00:00
Enno Rehling
a421c1a31d http://eressea.upb.de/mantis/view.php?id=681
"Todeswolke läßt sich nicht bannen"

at_deathcloud kann weg. curse_type kriegt eine age() funktion, so dass der effekt von deathclouds mit normalen "curse" attributen gemacht werden kann.
2006-07-28 11:41:57 +00:00
Enno Rehling
7077587834 http://eressea.upb.de/mantis/view.php?id=681
"Todeswolke läßt sich nicht bannen"

Todeswolke in einen echten curse umgewandelt. Kompatibilitaet zur alten TW sollte gewaehrleistet sein. Alles muss nochmal getestet werden, denk ich.
2006-07-28 01:31:23 +00:00
Enno Rehling
23247f1831 avoiding a_select some more, and removing the unused compare-functions 2006-02-26 11:12:25 +00:00
Enno Rehling
5c474b9eb7 a_select is not fast, so we try to avoid it 2006-02-26 11:09:00 +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
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
5296949c1b Alle Hashfunktionen mit Primzahlen, evtl. bessere Performance. 2004-05-26 06:42:58 +00:00
Enno Rehling
ac517da404 Anpassungen mehrerer Zauber daran, dass power double ist.
Crashfix falscher typecast.
Mehr Stellen auf Benutzung von float-wahrscheinlichkeiten und boolean chance(double) angepasst
2004-02-09 22:20:40 +00:00
Enno Rehling
21c3da74e1 Das ging so natürlich nicht... Weil man bei ct_find ja abkürzen darf. Bessere Lösung in Sicht. 2004-01-15 22:45:26 +00:00
Enno Rehling
4349ce9456 bugfix non-case-sensitive ct_find 2004-01-15 22:29:41 +00:00
Enno Rehling
7ced18cfef stupid segfault... 2004-01-15 22:13:45 +00:00
Enno Rehling
0dce9060e9 making ct_find faster, since it's the slowest function in the game. 2004-01-15 22:11:19 +00:00
Christian Schlittchen
1f2eb75678 - Umstellung castorder->force und curse->vigour von int auf double. 2004-01-04 16:02:02 +00:00
Enno Rehling
8823db9702 - Bugfixes and code-merges between freeze and HEAD branch. Minor changes that should not affect the code
- Bugfix to P_BERSERK
2003-07-29 09:48:03 +00:00
Enno Rehling
76b0371100 Schiffe können, wenn CHECK_OVERLOAD_ON_ENTER defined ist, nicht betreten werden wenn das die Kapazität sprengt. 2002-11-25 15:30:51 +00:00
Enno Rehling
043380ae84 Assert was invalid
illegal parameters to scanf
2002-11-02 14:48:12 +00:00
Enno Rehling
0ca87233d3 subscription information is now imported from the database 2002-11-02 14:10:52 +00:00
Enno Rehling
0997aca643 Bugfix Antimagie/create_curse 2002-10-20 08:54:37 +00:00
Katja Zedel
8ab0c0cb13 fix buildingspells teil 1 2002-05-11 17:08:54 +00:00
Katja Zedel
4c096ba6f6 noch ein wenig hin und her geschiebe 2002-05-09 20:28:55 +00:00
Katja Zedel
b97355f2a4 regions curse 2002-05-09 17:34:43 +00:00
Katja Zedel
eca624d887 noch ein bischen curse 2002-05-09 12:36:43 +00:00
Enno Rehling
db6d04c888 grosser commit mit vielen curses 2002-05-09 12:19:15 +00:00
Enno Rehling
dfa6fe7397 * curse_type structs statt großem array.
* kompatibilitäts-array mit alten namen.
2002-05-09 12:06:28 +00:00
Katja Zedel
beefc1f7ec die waren noch nicht drin 2002-05-09 11:17:31 +00:00
Katja Zedel
62f473161a regions curse umgestellt 2002-05-09 10:22:12 +00:00