Commit graph

3278 commits

Author SHA1 Message Date
Enno Rehling
f64271cb9d Fixes based on feedback from darcduck 2008-06-10 20:12:24 +00:00
Enno Rehling
d5ce48bf7f fixes for the prevF speedup 2008-06-09 23:39:15 +00:00
Enno Rehling
b3d22eae63 speeding up u_setfaction 2008-06-09 21:09:18 +00:00
Enno Rehling
22d63cc8cf fixing adamant seeding 2008-06-08 22:13:10 +00:00
Enno Rehling
784a489830 changing region resources 2008-06-08 21:40:12 +00:00
Enno Rehling
cc4d2a1026 compiles with gcc 2008-06-08 20:50:05 +00:00
Enno Rehling
a3b795b2cf seeding adamantium 2008-06-08 20:43:01 +00:00
Enno Rehling
2c41457fd8 BEANSPRUCHE zu RESERVIERE 2008-06-08 10:21:42 +00:00
Enno Rehling
7b71c8f116 pretty name 2008-06-08 10:18:27 +00:00
Enno Rehling
1c139de354 - code to seed adamantium
- cleaner definition of raw materials
2008-06-08 10:17:29 +00:00
Enno Rehling
ac595313cf fixes re-run 574 2008-06-08 09:00:35 +00:00
Enno Rehling
04029eef36 compile fixes 2008-06-08 00:10:09 +00:00
Enno Rehling
2e09d16588 more xmlreport features 2008-06-08 00:02:24 +00:00
Enno Rehling
9ffcff7e2a PFL_NOCOORDS is really not needed anywhere. At least I sincerely hope not. 2008-06-07 20:04:45 +00:00
Enno Rehling
c9a2bb4f24 xmlreport (WIP):
- spells and skills
2008-06-07 13:17:34 +00:00
Enno Rehling
32aa6a46ce xmlreport:
- ships are done
- units are getting close
2008-06-07 12:22:01 +00:00
Enno Rehling
8b242c0b33 xmlreport (WIP):
- buildings are done
- unit.faction.rel
2008-06-07 09:55:57 +00:00
Enno Rehling
6e5d930778 xmlreport:
- coordinates
- terrain names
2008-06-06 23:35:37 +00:00
Enno Rehling
b5bffaf75e - reorganizing units for faster report-generation
- more xml functionality
2008-06-06 21:54:19 +00:00
Enno Rehling
277141c45d 2008-06-06 21:49:29 +00:00
Enno Rehling
3c170be6b5 xmllint 2008-06-04 23:14:54 +00:00
Enno Rehling
3b9d951556 asgard rules:
- creating xml definitions
- creating separate lua files
- added option to make work automatic
2008-06-04 23:12:05 +00:00
Enno Rehling
a5d17f6c24 http://bugs.eressea.de/view.php?id=1438
"FOLGEnde Einheiten reiten, können aber nicht folgen"
- fixed a bug in reporting travelthru that was caused by that fix
Issue: 1438
2008-06-04 16:18:53 +00:00
Enno Rehling
310fa1e3f2 http://bugs.eressea.de/view.php?id=1438
"FOLGEnde Einheiten reiten, können aber nicht folgen"
when a unit couldn't keep up, all furhter followers would not travel the entire route. more const ftw
Issue: 1438
2008-06-04 14:40:20 +00:00
Enno Rehling
a63cd86e44 ium 2008-06-03 11:21:39 +00:00
Enno Rehling
d75ae59e96 internal rename diamond->adamantium before it's too late. 2008-06-03 10:58:06 +00:00
Enno Rehling
15971fdb98 fixing find_key. ouch! 2008-06-03 10:16:55 +00:00
Enno Rehling
09478956c8 http://eressea.upb.de/mantis/view.php?id=1437
"Zeilenumbruch im Einheitennamen"
- apply fixes to existing data.
2008-06-03 07:42:06 +00:00
Enno Rehling
e26700c8b1 http://eressea.upb.de/mantis/view.php?id=1437
"Zeilenumbruch im Einheitennamen"
- prevented line breaks in unit names

http://eressea.upb.de/mantis/view.php?id=1436
"lc_age throws an exception"
- fixed adding tostring() in script.
- not calling std::terminate

also:
- added AT_AGE_* macros to be returned from attrib-age functions
2008-06-03 07:28:32 +00:00
Enno Rehling
b973330061 show region id in mapper 2008-06-02 11:12:22 +00:00
Enno Rehling
0326ffe7fe - fixed not putting regions next to firewall 2008-06-02 10:34:58 +00:00
Enno Rehling
5f3bfa3a2c autoseed should not find old islands that are de-populated. 2008-06-02 10:06:25 +00:00
Enno Rehling
689dedae6d - equipment for new factions defined in xml, not lua.
- added possibility to give equipment to factions, not only the first unit
- 4 adamantine for new factions
- removed obsolete SHORTPWDS define
2008-06-02 09:16:58 +00:00
Enno Rehling
4035d153e7 http://eressea.upb.de/mantis/view.php?id=1434
"Teilweise fehlende RESOURCE-Blöcke"
- fixed. was not writing the buffer it was going to. added comments.
2008-06-01 18:58:51 +00:00
Enno Rehling
fc770832d4 disabling building-aging for the moment 2008-05-30 21:56:12 +00:00
Enno Rehling
3a1550c3f6 must return a value 2008-05-30 21:33:19 +00:00
Enno Rehling
055c9f4bb9 missing translation 2008-05-30 21:29:31 +00:00
Enno Rehling
153766ab70 some debug output while this is new 2008-05-30 21:09:19 +00:00
Enno Rehling
8656b2323b implementation of adamant and tunnels 2008-05-30 21:01:25 +00:00
Enno Rehling
a473991f67 another crash 2008-05-30 16:21:21 +00:00
Enno Rehling
f8a21ec386 fix include 2008-05-30 16:09:10 +00:00
Enno Rehling
47989da257 crashfix mapper
Lua: get_region_by_id
2008-05-30 16:08:35 +00:00
Enno Rehling
ae68d8fd79 Adamant + Rüstung 2008-05-30 15:28:20 +00:00
Enno Rehling
ecc147425b some cleanup in the creport 2008-05-28 08:42:45 +00:00
Enno Rehling
a761c686cd - Fixed assigning r->uid to regions that haven't got one
- restarted implementation of xml report
2008-05-28 00:23:46 +00:00
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
363c2e0d5b support for old item 2008-05-27 07:59:23 +00:00
Enno Rehling
577601f912 support code for reading data files with old curses 2008-05-27 07:58:04 +00:00
Enno Rehling
43b0ff2ce3 removing code for old versions that we no longer have datafiles for (pre-287) 2008-05-27 07:30:04 +00:00
Enno Rehling
ad240fecc0 floating point rules to ensure same output with release and debug 2008-05-25 23:17:39 +00:00
Enno Rehling
3e9c0c894a rng-fix. is this it? cannot be. 2008-05-25 19:29:46 +00:00
Enno Rehling
77d72ba482 search for the heisenbug 2008-05-25 10:37:19 +00:00
Enno Rehling
18485ee6f1 not writing aliases for monsters should make things go faster 2008-05-25 09:34:57 +00:00
Enno Rehling
57623bb2a7 missing ifdef 2008-05-25 09:33:27 +00:00
Enno Rehling
ae7eefa47c some cleaning 2008-05-25 09:29:06 +00:00
Enno Rehling
94ae1a1c7c -march switch 2008-05-25 00:34:24 +00:00
Enno Rehling
f051b5576f fix some crashes when attributes refer to a unit that is dead. 2008-05-24 23:26:44 +00:00
Enno Rehling
3a476bb279 stupid assert needs a fix 2008-05-24 18:29:27 +00:00
Enno Rehling
fe841cd3c0 fixing crashes from triggers 2008-05-24 17:38:38 +00:00
Enno Rehling
4988d0f425 fixing killunit (triggering dead units) 2008-05-24 17:34:55 +00:00
Enno Rehling
32097e56cb remove_unit is a dangerous thing. 2008-05-24 17:15:52 +00:00
Enno Rehling
fec171d75f - vset, vmap and graph are obsolete
- LASTORDER define is dead
2008-05-24 16:15:31 +00:00
Enno Rehling
4793d0fd34 more tests 2008-05-24 13:38:18 +00:00
Enno Rehling
8a48d9323f another optimization to the binarystore (ids stored as variable-length) 2008-05-24 01:48:08 +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
0ce94f0f91 http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- fixed a small bug
2008-05-23 10:14:58 +00:00
Enno Rehling
739dd98755 using hse data. 2008-05-23 09:52:43 +00:00
Enno Rehling
f0c56346d9 http://eressea.upb.de/mantis/view.php?id=1431
"buildings and ships are leaking memory"
- remove_building and remove_ship work like their region/unit counterparts
2008-05-23 09:25:41 +00:00
Enno Rehling
43d73a6b45 - free_gamedata() is perfect.
- we can now save region uids for references, not x,y
2008-05-22 22:55:29 +00:00
Enno Rehling
b9fbf06614 - clear uidhash 2008-05-22 22:15:55 +00:00
Enno Rehling
3391b3bb7a - fix warning
- initialize global.cookie properly
2008-05-22 21:56:55 +00:00
Enno Rehling
88ce120991 it is not a good idea to use the turn to check whether the gamedata has changed. we use a cookie instead that is different each time we load. 2008-05-22 21:44:23 +00:00
Enno Rehling
644d0d9a4a implementing free_gamedata():
- fixed freeing of borders
- fixed freeing of global.attribs
- more static-variable reinitialization
- reseting the RNG

removed border.attribs:
- new savegame-version
2008-05-22 14:40:21 +00:00
Enno Rehling
1052e46613 http://eressea.upb.de/mantis/view.php?id=1429
- made startup regions more balanced

implementing free_gamedata():
- cleaning up some static variables
2008-05-22 10:46:02 +00:00
Enno Rehling
a40e5a3711 some more static keywords 2008-05-22 07:37:17 +00:00
Enno Rehling
fef83c4df5 the mapper is no longer maintained 2008-05-20 21:17:02 +00:00
Enno Rehling
ede420cd3b it's enough to let fix_astralplane do the thick fog, no need to have it in
create_teleport_plane (and it didn't work, either)
2008-05-20 19:58:23 +00:00
Enno Rehling
67c43c6ed2 fixing astral space properly 2008-05-20 15:38:50 +00:00
Enno Rehling
5d4c66762b test for FORBIDDEN_REGION moved out of standard-to-astral function, becasue that annoys the editor. 2008-05-20 15:15:02 +00:00
Enno Rehling
390bf522f7 http://eressea.upb.de/mantis/view.php?id=1428
- there are no roads in astral space
2008-05-20 14:28:31 +00:00
Enno Rehling
66d7cc0fdf http://eressea.upb.de/mantis/view.php?id=1412
"keine zauberwirkung trotz korrektem befehl "
- added a message when number of ships cursed < wanted
2008-05-20 10:03:23 +00:00
Enno Rehling
ad14e45341 http://eressea.upb.de/mantis/view.php?id=1427
"Angegriffene Einheiten auf Schiffen an Land fliehen nicht"

Also:
- printing the monster faction in reports
2008-05-20 08:39:56 +00:00
Enno Rehling
dcf7166973 local fixes 2008-05-18 14:38:12 +00:00
Enno Rehling
9e902c3456 more editor selection functions, because i'm too lazy to expose the keystrokes to Lua 2008-05-18 14:31:08 +00:00
Enno Rehling
8452dc365e - removing planes
- removing units and regions more cleanly
- dying units won't give items to undead or others who don't want/won't return them
- removed old "nogive" attribute for races.
2008-05-18 13:46:18 +00:00
Enno Rehling
78520fb9bf is_monsters() test for skeletons & al 2008-05-18 08:21:00 +00:00
Enno Rehling
d442616681 that old fix died sometime around revision 800. 2008-05-17 15:48:27 +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
2b913dc9e1 http://eressea.upb.de/mantis/view.php?id=1392
"Störe Astrale Integrität ohne Stufenwirkung"
- made spell work with level
2008-05-16 23:48:50 +00:00
Enno Rehling
55f6b43fbc http://eressea.upb.de/mantis/view.php?id=1396
"Berechnung des Belagerungsschadens merkwürdig"
- cosmetic changes to siege messages.
2008-05-16 22:58:34 +00:00
Enno Rehling
d0022db79a Data format change reflects that id 0 is now illegal (so we use that instead of -1) 2008-05-16 22:37:13 +00:00
Enno Rehling
5b5fc0063c small fix to the guard-caching 2008-05-16 19:48:06 +00:00
Enno Rehling
5bd67a6d2a fix warnings 2008-05-16 17:21:43 +00:00
Enno Rehling
1b93b094e4 - make monster-equipment configurable
- rename some SK_ constants to match their name
2008-05-16 17:17:10 +00:00
Enno Rehling
78615978c8 The rule of "no more than 5 weeks difference per island" gets coded in a smarter way. No longer creating new island every 5 turns, but actually checking the island. 2008-05-16 16:32:13 +00:00
Enno Rehling
47327786a2 allow mapper to be opened twice 2008-05-16 08:36:45 +00:00
Enno Rehling
422213f369 removing obsolete strings 2008-05-16 08:19:47 +00:00
Enno Rehling
397ab6975b treating firewalls with more respect when seeding new players. 2008-05-16 08:06:39 +00:00
Enno Rehling
4afcf145f5 - remove the "confusion" spells because they do not work. 2008-05-13 20:22:31 +00:00
Enno Rehling
474431fb0d - prevent enslaved units from FORGET
- prevent promotion of foreign races
- prevent charming of units with limited skills

also:
- rename teure_talente to has_limited_skills
- move frame_regions to autoseed.c
- some output for korrektur.c
2008-05-13 16:47:54 +00:00
Enno Rehling
76497abc92 bugfix monsterfaction 2008-05-12 09:44:01 +00:00
Enno Rehling
dcf3292467 defining NPC-factions with a flag instead of MONSTER_FACTION. 2008-05-11 22:51:34 +00:00
Enno Rehling
478ee8d153 Lua: faction:renumber_faction(no)
gmtool: save as binary
2008-05-11 22:20:03 +00:00
Enno Rehling
dd85b9b6a0 http://eressea.upb.de/mantis/view.php?id=1419
MACHE mit Gebaeude in dem man steht.
2008-05-11 22:01:48 +00:00
Enno Rehling
0c47aab8a2 http://eressea.upb.de/mantis/view.php?id=1421
- combatspells with level 0 are lost
2008-05-11 21:50:26 +00:00
Enno Rehling
0af00c10ec making init_battle a bit faster by being a bit smarter. 2008-05-05 16:08:46 +00:00
Enno Rehling
2df1fbf0e9 fixed some errors from eressea.log 2008-05-04 07:49:48 +00:00
Enno Rehling
111051a580 http://eressea.upb.de/mantis/view.php?id=1401
"Übergaben haben teilweise geklappt trotz fehlendem helfestatus"
2008-05-04 06:44:07 +00:00
Enno Rehling
d7be4a21c2 - started MONSTER_FACTION->is_monsters()
http://eressea.upb.de/mantis/view.php?id=1418
- fixed toads
2008-05-04 05:57:34 +00:00
Enno Rehling
cdd1709ee3 do not quote the id 2008-04-30 08:47:52 +00:00
Enno Rehling
3a5873a0f6 Kompatibilitaets-Fix negative ids. 2008-04-27 11:58:14 +00:00
Enno Rehling
ddcbce5092 warnings about parentheses 2008-04-27 09:59:27 +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
256d0b1d4b fixing strdup(NULL) call 2008-04-26 23:04:37 +00:00
Enno Rehling
93091caff0 - optimized is_guardian
- realized the optimization can be done further up. doh.
2008-04-26 21:39:09 +00:00
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
Enno Rehling
c3283925b6 Unicode QA:
- irritating comma in HELP status- 
- localized roads in NR
- new function for trails
- lua fix get_resource(horse)
2007-08-28 06:19:31 +00:00
Enno Rehling
9d8edd01bf wrong parameters for spell 2007-08-26 20:56:10 +00:00
Enno Rehling
6540dc386f minor, just reordering messages 2007-08-26 20:35:53 +00:00
Enno Rehling
b43220dbed - fixed counting of group members
- fixed maximum size of region names.
- fixed animals
2007-08-26 20:33:50 +00:00
Enno Rehling
9715493071 null-banners 2007-08-21 21:19:51 +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
c3a5631ec7 fixed a couple of the strlcpy calls 2007-08-20 16:32:27 +00:00
Enno Rehling
3a01120784 - crash nr_section when message doesn't have a text.
- fixed message without text
2007-08-20 15:38:54 +00:00
Enno Rehling
b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +00:00
Enno Rehling
8fbb513b63 Unicode WIP:
- NR is being written
- NR and Template get a UTF8 BOM

I'm running out of ideas. I must be nearly ready.
2007-08-19 17:30:40 +00:00
Enno Rehling
28921d4e3d Unicode WIP: we're compiling on Linux 2007-08-18 14:54:35 +00:00
Enno Rehling
4e863e9059 Bugfixes uebertragen aus Hauptbranch:
http://eressea.upb.de/mantis/view.php?id=1251
"Komische Fehlermeldung bei abtreibendem Schiff"

http://eressea.upb.de/mantis/view.php?id=1256
"Feinde können Schiff verlassen und sich bewegen in bewachter Region"

http://eressea.upb.de/mantis/view.php?id=1252
Klarere Fehlermeldung bei Bewachung/Bewegung

http://eressea.upb.de/mantis/view.php?id=1248
"schaffenstrunk und gehirnschmalz ohne wirkung"
2007-08-17 07:06:33 +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
67184b0c96 Unicode WIP:
- building name changes
- locale optimization
- fixing some error messages
2007-08-13 07:29:39 +00:00
Enno Rehling
77bb331bc5 Unicode WIP:
some message-fixes, building types that had been broken since forever, small stuff
2007-08-12 13:56:59 +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
f013ead006 removing old visual studio files 2007-08-05 12:28:15 +00:00
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
376172adcd Unicode WIP:
- sinking ships i18n
2007-07-23 19:36:43 +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
7e36df93a4 Unicode WIP:
- completed i18n for spells.c
- started on i18n for combatspells
2007-07-19 07:25:28 +00:00
Enno Rehling
d37f068104 Unicode WIP:
- i18n for more spells.
2007-07-18 06:22:13 +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
b2cbb1234b Unicode WIP, does not compile.
- finishing for today. Spells still need work, the error-messages need translation.
2007-06-28 00:39:55 +00:00
Enno Rehling
219e836791 XML-configurable, Unicode-enabled naming of dragons. 2007-06-28 00:29:42 +00:00
Enno Rehling
eea094a010 gcc did not like xstrcat 2007-06-28 00:13:30 +00:00
Enno Rehling
0059254797 XML-configurable, unicode-enabled naming of undead, skeleton, ghoul and zombie 2007-06-28 00:06:43 +00:00
Enno Rehling
1637950201 Started converting the naming-functions (iso-8859-1 constants must be removed from code). it's stupid monkey labour. 2007-06-27 23:32:24 +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
68f4ba23f7 xml includes 2007-06-27 22:42:19 +00:00
Enno Rehling
fc889b8301 Unicode WIP, does not compile.
- many spell messages now in both languages.
2007-06-27 20:52:43 +00:00
Enno Rehling
13a019335e bugs found with gcc 2007-06-27 20:51:56 +00:00
Enno Rehling
857df3f300 Unicode WIP, does not compile.
- removed a lot more localized text.- currently working on combatspells (buf usage and German text removal)
2007-06-27 20:39:49 +00:00
Enno Rehling
0a997cadcd compilation fixes 2007-06-27 01:03:46 +00:00
Enno Rehling
588c136071 Unicode WIP, does not compile.
- finishing for today, several more files compile.
2007-06-27 00:54:54 +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
ea07884657 Unicode WIP, does not compile.
- monsters use create_order instead of parse_order because that means less use of sprintf and buf[].
- rename drachen_name to dragon_name.
2007-06-26 21:50:07 +00:00
Enno Rehling
8be7d65977 Unicode WIP, does not compile.
- made battle.c compile and cleaned up a lot of German text.
- fixed the create_order command to accept and respect quotes.
2007-06-26 21:17:10 +00:00
Enno Rehling
6b4ad684af Unicode WIP: Mostly Jamfile fixes for linux and some unuse code disabled 2007-06-26 09:51:18 +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
fd7ddc2e2a old copy/paste bug 2007-06-26 01:42:43 +00:00
Enno Rehling
997b3cd21b duplicate xmlChar definition is problematic 2007-06-26 01:12:14 +00:00
Enno Rehling
4a34b3443b WIP: utf8 support (yes, this is madness) 2007-06-26 00:24:50 +00:00
Enno Rehling
77f8bda91b WIP: utf8 support (yes, this is madness) 2007-06-26 00:22:31 +00:00
Enno Rehling
60651018aa slight mistake in the braineater description 2007-06-25 02:53:19 +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
2610986a5a Complete potion descriptions, thanks to Khadar 2007-06-24 17:54:48 +00:00
Enno Rehling
706419c36b vc needs to know about the synonym removal 2007-06-24 14:06:47 +00:00
Enno Rehling
32a3c0103f The synonym attribute was not in use, and relied on the old race_t type to
idntify races. It is better to use racename-attributes for this, I think.
2007-06-24 14:04:42 +00:00
Enno Rehling
1729f137de charset-angabe im CR (always IDO-8859-1 right now) 2007-06-24 12:51:16 +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
5dbeb63531 potion texts do not belong inside the code. 2007-06-20 19:41:45 +00:00
Enno Rehling
fde8e9bada old weapons code that is no longer needed since all weapons have been in XML for a long time. 2007-06-20 18:29:46 +00:00
Enno Rehling
1c2ed3aeda old weapons code that is no longer needed since all weapons have been in XML for a long time. 2007-06-20 18:28:47 +00:00
Enno Rehling
004d0f856c newly unused code can go. less code = good. 2007-06-20 18:19:43 +00:00
Enno Rehling
1a2c3942f1 Moving all item definitions to XML where they belong. 2007-06-20 18:15:29 +00:00
Enno Rehling
fde595c7f7 http://eressea.upb.de/mantis/view.php?id=1198
- FOLLOW SHIP id [speed]
2007-06-20 12:54:47 +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
0c05d8f978 Lua 5.1 has deprecated the old for-syntax for tables. 2007-06-13 12:38:15 +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
4a75e13cb0 http://eressea.upb.de/mantis/view.php?id=1196
"Tarnung und Bilden neuer Einheiten"

Tarn-Status wird vererbt
2007-06-07 20:42:00 +00:00
Enno Rehling
29cfece1f3 http://eressea.upb.de/mantis/view.php?id=1195
"Welche Sprache spricht mein Gegenüber"

Info für andere Parteien jetzt auch im CR.
2007-06-07 20:41:13 +00:00
Enno Rehling
9f86a467b7 compile fixes 2007-05-30 01:23:21 +00:00
Enno Rehling
7233af54b4 Simple allow/deny style restrictions for archetypes (let only humans recruit gamedesigners, etc).
These need to be more powerful to be useful, and the current way they are implemented is not, but the general idea strikes me as good.

Also, feedback should be configurable for each failed rule.
2007-05-30 01:21:09 +00:00
Enno Rehling
0ebf9e3187 RTS/Archetypes (WIP):
- message and locale-fixes
2007-05-28 21:10:59 +00:00
Enno Rehling
5ca0e5cd8a simplified sue of localized parameter-strings in messages 2007-05-28 20:04:42 +00:00
Enno Rehling
b5d6b0876e give player an error message when a message is missing. 2007-05-28 19:53:52 +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
0711b51cfe min/max confusion. again. 2007-05-28 17:32:15 +00:00
Enno Rehling
c1ba34a268 archetype-recruiting can be limited by building-size 2007-05-28 17:31:40 +00:00