Commit graph

2962 commits

Author SHA1 Message Date
Enno Rehling
371409e943 - prevent empty "private" attribute
- remove the HEROES define. Code works.
2008-04-26 18:55:58 +00:00
Enno Rehling
aaf8668257 fixes duplicate planes (again) 2008-04-26 16:48:50 +00:00
Enno Rehling
77b292e05a compilation fixes GCC. 2008-04-26 16:46:05 +00:00
Enno Rehling
43422a0619 fix for duplicate astral plane 2008-04-26 16:45:39 +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
43f00be173 ptries are disabled again 2008-04-25 15:46:39 +00:00
Enno Rehling
4364f25952 jamfile fixed 2008-04-25 14:32:07 +00:00
Enno Rehling
1dd05538ad - added a testsuite
- testcase skill-parser
- findskill uses patricia
2008-04-25 14:31:38 +00:00
Enno Rehling
a2abcfe177 more intelligent values for hashtable sizes. 2008-04-24 18:14:14 +00:00
Enno Rehling
23505d2b84 Slightly more cache-friendly hashing (WIP) 2008-04-24 01:37:47 +00:00
Enno Rehling
34edc042bc mremap only if __USE_GNU 2008-04-24 01:17:11 +00:00
Enno Rehling
db0d1f8948 fixed compilation warnings caused by DLMALLOC 2008-04-24 01:13:47 +00:00
Enno Rehling
fde26f97ea write the id in the CR 2008-04-22 22:09:39 +00:00
Enno Rehling
0f06356d70 fixing to remove the platform-specific includes 2008-04-22 21:11:40 +00:00
Enno Rehling
d8bcc61a76 problem after last commit 2008-04-22 11:50:06 +00:00
Enno Rehling
5d731316c3 - Changed a couple of compiler-settings
- Removed a bunch of warnings (shadowing variables)
2008-04-22 10:40:20 +00:00
Enno Rehling
2557e013fa - regions get a unique id (uid)
- new data format
- not in the CR yet
- fix for terrain (tutorial crash)
2008-04-22 10:06:53 +00:00
Enno Rehling
36812c1168 making a warning go away. clarifying the need to remove the _MODULE defines and how to. 2008-04-20 15:18:43 +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
485715a5ef corridors get a coast and walls become more wall-ish 2008-04-20 12:26:15 +00:00
Enno Rehling
a2ae6a0ea9 Some fixes for Linux and removing some dead code. 2008-04-19 16:56:15 +00:00
Enno Rehling
6739d5ff7e Integrated the editor into the main executable (which means it now requires curses). Should make a #define to disable compilation. 2008-04-19 16:12:13 +00:00
Enno Rehling
6f9f857a83 http://eressea.upb.de/mantis/view.php?id=1201
- parsing fucked up quotes when finding escaped chars.
- also, removed a warning
2008-04-18 23:12:23 +00:00
Enno Rehling
1e8af4e0e5 http://eressea.upb.de/mantis/view.php?id=1394
- fixing toads that lose their changerace attribute
2008-04-17 15:56:41 +00:00
Enno Rehling
536b177387 http://eressea.upb.de/mantis/view.php?id=1393
- make mindblast less crazy
2008-03-29 22:06:20 +00:00
Enno Rehling
3e475d63ad SIMPLE_ESCAPE and SIMPLE_COMBAT no longer needed. 2008-03-29 09:15:14 +00:00
Enno Rehling
3fbf8ffbfc resizing a buffer that was way too small 2008-03-10 12:18:21 +00:00
Enno Rehling
c7fe1c21ee http://eressea.upb.de/mantis/view.php?id=1374
let toads move
2008-03-05 21:45:12 +00:00
Enno Rehling
bb1059eaa1 http://eressea.upb.de/mantis/view.php?id=1364
"Wechsel von Astralraum in den Realraum möglich, obwohl Der Kontakt zur Realistät verhindert ist."
- was checking the wrong region.
2008-03-05 21:27:55 +00:00
Enno Rehling
1f69fb7060 http://eressea.upb.de/mantis/view.php?id=1280
do not count healed people among kills.
2008-03-05 20:58:44 +00:00
Enno Rehling
91ece491e5 http://eressea.upb.de/mantis/view.php?id=1344
"Kampfallianzen fehlerhaft"
New units must not be added to a group in another faction, ever.
2008-03-05 19:30:52 +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
8bf96a5726 indentation fixes 2008-03-05 18:24:30 +00:00
Enno Rehling
bf544ef1be http://eressea.upb.de/mantis/view.php?id=1255
"keine Meldung ob Zauber erfolgreich oder nicht"
added a missing message
2008-03-05 16:24:50 +00:00
Enno Rehling
a94a80aa8f http://eressea.upb.de/mantis/view.php?id=1254
"Zauber kostet keine Aura"
2008-03-05 16:17:51 +00:00
Enno Rehling
280f5a1e97 missing newline in battle-logs 2008-03-05 15:50:59 +00:00
Enno Rehling
50504f0baf eliminating duplicate message-types. 2008-03-05 14:21:58 +00:00
Enno Rehling
68edb409fb - prevent heros from being promoted twice
- don't initialize order parser twice
- Übergabe von Helden an TEMP-Einheiten erlauben
2008-03-03 16:43:09 +00:00
Enno Rehling
1fb793509c indentation 2008-02-29 00:26:19 +00:00
Enno Rehling
92b79a1914 http://eressea.upb.de/mantis/view.php?id=1381
typo
2008-02-28 22:26:53 +00:00
Enno Rehling
aabdbd0325 http://eressea.upb.de/mantis/view.php?id=1378
- typo
2008-02-28 19:48:35 +00:00
Enno Rehling
fe9bc734da http://eressea.upb.de/mantis/view.php?id=1366
"Doppelte Fehlermeldung"
- remove error message from inner function.
2008-02-12 18:51:22 +00:00
Enno Rehling
40898eea55 http://eressea.upb.de/mantis/view.php?id=1365
"ALLES funktioniert nicht bei GIB"
- disabling OPTION MATERIALPOOL
2008-02-12 18:26:30 +00:00
Enno Rehling
321723f69f http://eressea.upb.de/mantis/view.php?id=1367
"Gib Personen an Region ohne Wirkung"
- fixed previous bugfix
2008-02-12 17:59:41 +00:00
Enno Rehling
e37b55699c http://eressea.upb.de/mantis/view.php?id=1250
- added missing feedback for spell
2008-02-07 20:56:22 +00:00
Enno Rehling
b602fbfab3 http://eressea.upb.de/mantis/view.php?id=1362
"Beschreibung des Schneemanns unvollständig"
- fixed display of attacks
2008-02-05 15:36:43 +00:00
Enno Rehling
55fc1ccd47 http://eressea.upb.de/mantis/view.php?id=1351
"Gegner bewegt sich im Astralraum, obwohl er einen langen Kampf hatte"
- made guarding astral space work.
2008-02-05 15:23:07 +00:00
Enno Rehling
f51e9c9de1 indentation 2008-02-04 23:39:05 +00:00
Enno Rehling
b7fdfc5922 http://eressea.upb.de/mantis/view.php?id=1325
- fixed army_index
2008-02-04 23:36:22 +00:00
Enno Rehling
3a56a1127c http://eressea.upb.de/mantis/view.php?id=1349
"Dämonen gehen an die Bauern"
- fixed recruit/release of demons.
2008-02-04 23:14:50 +00:00
Enno Rehling
7dc301596e http://eressea.upb.de/mantis/view.php?id=1352
- mo message for failed astral transport
2008-02-04 21:15:03 +00:00
Enno Rehling
1318b4491d http://eressea.upb.de/mantis/view.php?id=1356
- fixed monster attacks
2008-02-04 19:55:11 +00:00
Enno Rehling
a2c02ff638 http://eressea.upb.de/mantis/view.php?id=1360
"Dumpfbackenbrot funktioniert nicht?"
- removed old RTF_SNEAK flag (no longer required)
2008-02-04 19:22:55 +00:00
Enno Rehling
ea71efe3f2 http://eressea.upb.de/mantis/view.php?id=1360
"Dumpfbackenbrot funktioniert nicht?"
- removed old RTF_SNEAK flag (no longer required)
2008-02-04 18:48:20 +00:00
Enno Rehling
16d55c2eaf http://eressea.upb.de/mantis/view.php?id=1361
"Blick in die Realität mit falschem Namen"
- make invisible races disappear from the CR.
2008-02-04 18:33:53 +00:00
Enno Rehling
16c3b68114 http://eressea.upb.de/mantis/view.php?id=1355
"Falsche Regionsbeschreibung"
- removing descriptions from non-land regions.
2008-02-03 22:56:54 +00:00
Enno Rehling
86f89be914 http://eressea.upb.de/mantis/view.php?id=1344
"Kampfallianzen fehlerhaft"
- undeda unit had wrong group
2008-02-03 21:40:45 +00:00
Enno Rehling
ee652fa3f3 http://eressea.upb.de/mantis/view.php?id=1350
"Selling luxury goods did not work in some instances."
- fix for accounting bug when material pool off
2008-02-03 21:39:22 +00:00
Enno Rehling
bd7d2e1271 http://eressea.upb.de/mantis/view.php?id=1343
"required-Tag von $resources() liefert falsche Item-Bezeichnungen"
- lokalisierter string
2008-02-03 15:51:39 +00:00
Enno Rehling
3e843afb99 indentation only 2008-02-03 15:48:38 +00:00
Enno Rehling
a7a0ddfbf7 http://eressea.upb.de/mantis/view.php?id=1346
"Ein Bauer stirbt nicht"
- Fixed a rounding error.
2008-02-03 15:04:03 +00:00
Enno Rehling
f168a45b2a http://eressea.upb.de/mantis/view.php?id=1345
"Hero units cannot be merged with other hero units"
- fixed condition in give.c
also:
- indentation fixes
2008-01-27 11:57:54 +00:00
Enno Rehling
adab7ea8f6 fixing log output (umlauts)
fixing battledebug
2008-01-22 03:47:32 +00:00
Enno Rehling
182f248061 use less memory, use smart memory manager 2008-01-09 23:29:39 +00:00
Enno Rehling
87b28ddd9c small change 2008-01-09 22:00:17 +00:00
Enno Rehling
73f354be90 http://eressea.upb.de/mantis/view.php?id=1201
- "n" wird nicht mehr als NAECHSTER erkannt.

also:
- misc fscanf() tests.
- fixing --noreports
2008-01-08 20:00:19 +00:00
Enno Rehling
5a3598c1eb messed up 2008-01-07 22:29:37 +00:00
Enno Rehling
da5aef2110 http://eressea.upb.de/mantis/view.php?id=1341
"Draigzauber Mächte des Todes ruft Skelette mit Talent Magie"
added some output as well
2008-01-07 20:45:10 +00:00
Enno Rehling
e5ce17b6ef http://eressea.upb.de/mantis/view.php?id=1341
"Draigzauber Mächte des Todes ruft Skelette mit Talent Magie"
added a one-time fix
2008-01-07 20:43:16 +00:00
Enno Rehling
4abaa699c4 http://eressea.upb.de/mantis/view.php?id=1341
"Draigzauber Mächte des Todes ruft Skelette mit Talent Magie"
2008-01-07 20:17:36 +00:00
Enno Rehling
56a716622a http://eressea.upb.de/mantis/view.php?id=1339
"In der Taktikerrunde greifen alle an"
- fixed finding allies

Also:
- fixed an error reading the order file in text mode.
2008-01-07 19:26:36 +00:00
Enno Rehling
95824f5404 http://eressea.upb.de/mantis/view.php?id=1245
"giving heros to another faction"
2007-12-19 22:28:38 +00:00
Enno Rehling
167651abab http://eressea.upb.de/mantis/view.php?id=1245
"giving heros to another faction"
2007-12-19 22:11:04 +00:00
Enno Rehling
1e9081a290 http://eressea.upb.de/mantis/view.php?id=1245
"giving heros to another faction"
2007-12-19 21:49:19 +00:00
Enno Rehling
8d430e77d5 http://eressea.upb.de/mantis/view.php?id=1334
"road anstatt straße im cr"

still more fixes
2007-12-18 23:11:47 +00:00
Enno Rehling
09683fd891 http://eressea.upb.de/mantis/view.php?id=1334
"road anstatt straße im cr"
fixed again, differently
2007-12-18 22:58:58 +00:00
Enno Rehling
e780097a3b http://eressea.upb.de/mantis/view.php?id=1334
"road anstatt straße im cr"
2007-12-18 19:58:17 +00:00
Enno Rehling
ef77f0ad2b http://eressea.upb.de/mantis/view.php?id=1332
Übergabe von Silber an die Bauern hat nicht funktioniert

- added give-item() functionality to lua
2007-12-18 07:51:04 +00:00
Enno Rehling
06e15c24d5 - fixing snprintf calls gone wild 2007-12-17 23:56:53 +00:00
Enno Rehling
61cf2dc85f - fixing a bug in the savefile
- using fwritestr to write user-strings
2007-12-17 23:24:48 +00:00
Enno Rehling
67e14ee50d http://eressea.upb.de/mantis/view.php?id=1306
"Probleme mit Weihnachtsbäumen"
2007-12-17 22:02:04 +00:00
Enno Rehling
8bdfd086f9 http://eressea.upb.de/mantis/view.php?id=1312
"Ereignistext bei Beschwörung von Schattendämonen falsch"
2007-12-17 21:51:43 +00:00
Enno Rehling
96aaecc2f1 http://eressea.upb.de/mantis/view.php?id=1233
song dragons
2007-12-17 21:40:24 +00:00
Enno Rehling
0ff520f708 cinfo_simple warning 2007-12-17 18:32:26 +00:00
Enno Rehling
f0203119ba lua: move ship 2007-12-17 17:55:51 +00:00
Enno Rehling
af4db1202b http://eressea.upb.de/mantis/view.php?id=1328
"Regionsangaben im NR fehlen"
2007-12-17 17:50:16 +00:00
Enno Rehling
e27aa2c0b6 - missing quote
- additional assert (don't save info about dead units)
2007-12-16 23:20:06 +00:00
Enno Rehling
8dd186d303 illegal memory read, units must be freed very, very late. 2007-12-16 23:18:22 +00:00
Enno Rehling
e04184b673 asserts 2007-12-13 16:19:49 +00:00
Enno Rehling
1d47c99f18 ufindhash negative ids assert 2007-12-13 16:18:20 +00:00
Enno Rehling
a59a80d35e missing include 2007-12-13 10:51:19 +00:00
Enno Rehling
f3aa517447 password not case-sensitive 2007-12-13 10:04:53 +00:00
Enno Rehling
bda9885774 fixing "regions" message in CR. 2007-12-13 09:32:51 +00:00
Enno Rehling
5090303bbe http://eressea.upb.de/mantis/view.php?id=1326
"road" statt "Straße"
2007-12-13 09:28:12 +00:00
Enno Rehling
8ee0635865 http://eressea.upb.de/mantis/view.php?id=1318
default mit Leerzeichen im Defaultbefehl hat nicht funktioniert
2007-12-10 21:31:42 +00:00
Enno Rehling
85238c0d84 http://eressea.upb.de/mantis/view.php?id=1320
MACHEN 'Burg'
2007-12-10 20:05:01 +00:00
Enno Rehling
e96e73a995 UTF-8 orders
http://eressea.upb.de/mantis/view.php?id=1315
BOTSCHAFT funktioniert nicht

http://eressea.upb.de/mantis/view.php?id=1314
Schiffsbeschleunigung mit Sturmelementar schlägt fehl

umlauts in summary
2007-12-10 09:23:59 +00:00
Enno Rehling
42356cd919 http://eressea.upb.de/mantis/view.php?id=1314 2007-12-09 16:30:45 +00:00
Enno Rehling
305942414c Fixing new factions 2007-12-09 13:56:13 +00:00
Enno Rehling
e18d5b849d Unicode version and a bug fix to loading 2007-12-09 13:30:00 +00:00
Enno Rehling
5c48e95e8b Parameter bug 2007-12-09 12:14:25 +00:00
Enno Rehling
4fc7a7a741 Spell resistance 2007-12-09 11:58:41 +00:00
Enno Rehling
a5d98c8efe fix missing regions 2007-12-09 10:40:45 +00:00
Enno Rehling
b1a42adbeb umlauts removed from output 2007-12-08 16:33:38 +00:00
Enno Rehling
09a08fb84a fixing the item use functions and making future fuckups less likely 2007-12-03 19:26:17 +00:00
Enno Rehling
f3098d830d - fixing a bunch of isspace() mistakes.
- horses are big
- assume orders come as utf8
2007-11-15 20:38:44 +00:00
Enno Rehling
6f9c39d3dc typo in a recent commit 2007-10-28 23:15:34 +00:00
Enno Rehling
d6cce4fb40 converting output to stdio for windows CP1252 2007-10-28 23:13:46 +00:00
Enno Rehling
c2c276e0d3 converting output to stdio for windows CP1252 2007-10-28 23:05:47 +00:00
Enno Rehling
81de21fcb8 Cache Optimizations:
- do prepare_reports simultaneously
- make battle-sides more cache-local
- avoid dereferencing bfaction for the faction
- avoid dereferencing side for the index
2007-10-27 15:09:36 +00:00
Enno Rehling
ba9e081fdf http://eressea.upb.de/mantis/view.php?id=1276
"Stufe 1 Feuerwand erscheint nicht"

Increased duration by 1 week
2007-10-25 21:42:09 +00:00
Enno Rehling
4cffa0400f http://eressea.upb.de/mantis/view.php?id=1283
"Liste aller Adressen übersichtlicher gestalten"
- improved address list a little
2007-10-14 21:23:14 +00:00
Enno Rehling
06cb1347e4 http://eressea.upb.de/mantis/view.php?id=1279
"Sinnlose Meldung"

- fixed report of broken password
2007-10-14 21:02:48 +00:00
Enno Rehling
7531de4645 http://eressea.upb.de/mantis/view.php?id=1285
""rundenweise" Kampfzauber und Postkampfzauber werden zu Beginn des Kampfes ausgeführt/angezeigt"

- order of uncategorized messages should be linear.
- cleaning and speeding some code.
2007-10-14 19:55:06 +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
02fec778b9 http://eressea.upb.de/mantis/view.php?id=1300
"Mahlstrom funktioniert fehlerhaft"
Fehlermeldung bei negativem Schaden nicht anzeigen.
2007-10-12 19:53:18 +00:00
Enno Rehling
8421cf23c1 http://eressea.upb.de/mantis/view.php?id=1303
"(gezauberte) Skelette können nie bewachen"
- removed an old hack (CANGUARD flag)
- gave summoned undead some base skills.
2007-10-12 19:31:28 +00:00
Enno Rehling
f8398db851 - compiling in VS2005 on my new PC
- eliminating a couple of warnings
- fixed a crash bug or two in the -x option
- fixed an endless loop in give_item
2007-10-11 21:48:31 +00:00
Enno Rehling
4333113c63 http://eressea.upb.de/mantis/view.php?id=1304
"Feenstiefel sehen wie Amulett aus"
2007-10-11 19:54:04 +00:00
Enno Rehling
b1a6ee27cb http://eressea.upb.de/mantis/view.php?id=1240
"Zaubermeldungen auf falscher Ebene"

Fixed region that "astral_disappear" messages are sent to.
2007-10-07 10:56:55 +00:00
Enno Rehling
bfc801b6b7 http://eressea.upb.de/mantis/view.php?id=1275
"Pferde verschwinden nach GIB 0"
fixed the give_horses function being used.
2007-09-21 23:49:39 +00:00
Enno Rehling
e3079f88cc adding a race parameter to spell syntax 2007-09-18 21:55:39 +00:00
Enno Rehling
7e3c531436 unicode function to convert latin1->utf8 2007-09-16 15:34:49 +00:00
Enno Rehling
05a8bd5b39 http://eressea.upb.de/mantis/view.php?id=1282
"Angriffe in zweite Schlachtreihe überproportional?"

- friendly/enemy being set incorrectly
- debug output ported from main branch
2007-09-16 15:34:04 +00:00
Enno Rehling
1c5acea30c Doing a UTF-8 conversion check before we start. 2007-09-15 14:23:50 +00:00
Enno Rehling
f1e82cc6ff summonundead spell will once again tell you where they got summoned 2007-09-15 13:08:16 +00:00
Enno Rehling
05f56041c4 - fixed a bug in filereader (was reading the eol characters)
- added doug lea allocator
2007-09-11 19:33:00 +00:00
Enno Rehling
3d1bdd4bf4 bugfix for older versions of data (HSE) 2007-09-10 20:20:11 +00:00
Enno Rehling
8e91392ed7 some spell syntax definitions fixed 2007-09-10 09:39:23 +00:00
Enno Rehling
7de422f976 i18n of spell-syntax (removing fixed syntax text and replacing with a localizable function) 2007-09-10 06:51:11 +00:00
Enno Rehling
fa375ed8b4 unicode fix to abbreviated orders 2007-09-03 22:23:30 +00:00
Enno Rehling
5dd5a402cb include fix for linux 2007-09-03 22:13:43 +00:00
Enno Rehling
edf8f3f89d abkz() gets unicode 2007-09-03 21:42:05 +00:00
Enno Rehling
ef2f892d8a - i18n for unit_dissolve messages 2007-09-03 19:52:51 +00:00
Enno Rehling
52f8000792 some more umlaut-elimination 2007-09-02 20:32:20 +00:00
Enno Rehling
dd378fc8e8 - i18n for ravaged regions. 2007-09-02 19:06:21 +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
46df3bca2a fixes for the previous hasty commit 2007-09-02 16:24:34 +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
810e411821 - German text in gmcmd will break UTF-8. hacked it to be English for now
- (re)moving mistake() function
2007-09-02 15:17:09 +00:00
Enno Rehling
abca6ab6a1 fixing the umlaut-check to run in UTF8 locales 2007-09-02 10:30:09 +00:00
Enno Rehling
ff8bfefc44 detecting BOM in gamedata 2007-09-02 09:59:28 +00:00
Enno Rehling
5c99afc34d bugfix writing borders 2007-09-02 09:51:38 +00:00
Enno Rehling
9af8bbb2bb xmllint should be in pre-commit rules... 2007-09-02 09:36:57 +00:00
Enno Rehling
ebec08fa01 Some more English localization. 2007-09-02 08:56:07 +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
28fa9e5d81 - bugfixes for snprintf, warnings for overflowing static buffers
- some English messages
2007-09-01 21:52:13 +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
673cf0b7bf Unicode QA:
- bugfix braineater description
- bugfix army display
- remove SMALL_MESSAGES because they have no i18n
2007-08-29 19:48:40 +00:00