Commit graph

65 commits

Author SHA1 Message Date
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
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
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
a2abcfe177 more intelligent values for hashtable sizes. 2008-04-24 18:14:14 +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
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
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
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
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
b132ffdd2b Unicode WIP:
- links on Linux (Jamfile changes)
- bugfix latin1/newfactions file
2007-08-19 20:40:42 +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
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
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
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
96a2b1c779 Include cleanup. 2007-06-20 00:34:02 +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
78d222138e http://eressea.upb.de/mantis/view.php?id=849
BENUTZE Dumpfbackenbrot
2006-05-07 20:26:39 +00:00
Enno Rehling
11bc581285 gmtool, angefangen highlighting zu implementieren.
bugfixes letzter eressea-commit
2006-04-09 18:13:47 +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
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
3efd05206e replacing read/write_default with a function that doesn't abuse layout of the union or endianness. new savefile-format
removeing some old attributes that were never used.
2006-02-10 19:48:43 +00:00
Enno Rehling
55b9af27c2 http://eressea.upb.de/mantis/view.php?id=787
Signifikanter CR/NR-Unterschied 

- das Regionsintervall wurde in write_plaintext() nicht korrekt benutzt.
2006-01-21 08:34:01 +00:00
Enno Rehling
4635c46ec2 - dice_rand kann einfaches multiplizieren
- als dice_roll nach lua exportiert
- equipment kann in inventories getan werden
- region::land bekommt ein inventory
- terraform legt equipment in neue regionen

kingdoms:
- neues terrain berge.
2005-12-11 09:58:17 +00:00
Enno Rehling
b04b3ea168 kingdoms: missing mallorn seeds 2005-11-26 00:09:29 +00:00
Enno Rehling
f0ce33304b kingdoms: handling lack of luxuries 2005-11-26 00:08:47 +00:00
Enno Rehling
7783077517 simplified the work() functions
splitting more functionality from process_orders into separate functions
2005-11-20 12:58:59 +00:00
Enno Rehling
68433ad0d1 Der Eressea-Code hat jetzt auch extern definierte Terrains. Ich war so gründlich wie es ging dabei, die alten T_ Konstanten zu entfernen, aber einzelne Regeln sind ziemlich hardgecodet (wo Drachen geboren werden, usw), und benötigen daher noch das terrainid.h include, in das der alte enum verfrachtet ist.
Konfigurierbarkeit ahoi.
2005-10-25 12:38:01 +00:00
Enno Rehling
4ce88dad13 removing the old NEW_RESOURCEGROWTh macro 2005-10-24 20:06:40 +00:00
Enno Rehling
bcf0b8d446 removed the old GROWING_TREES macro.
Also, made sure starting regions always have at least a few trees and horses, because I'm sick and tired of the complaints.
2005-09-10 21:09:51 +00:00
Enno Rehling
70413bb43c Noch einmal Strassen reparieren. 2005-06-12 09:48:19 +00:00
Enno Rehling
c5846b0990 - region flag that speeds up access to at_travelunit
- unit flag that speeds up access to at_guard
- test for at_npcfaction only when AllianceRestricted.
2005-06-11 23:02:52 +00:00
Enno Rehling
1a1dc417c4 misc. memory leaks removed 2005-06-11 08:09:55 +00:00
Enno Rehling
8242e9ed41 Eressea ist 64-bit ready. Denke ich jedenfalls. 2005-06-09 22:10:35 +00:00
Enno Rehling
5c9e9f7b9a Deutliche Beschleunigung von Geldspenden. 2005-06-04 14:47:02 +00:00
Enno Rehling
8fd95421ca firstregion/lastregion beschleunigungen und bugfix 2005-04-27 21:03:08 +00:00
Enno Rehling
df26ef19be special_direction jetzt von LUA aus benutzbar. Neuer Testcode für special directions. 2005-01-01 11:48:36 +00:00
Enno Rehling
d6cd1c0efe http://eressea.upb.de/mantis/view.php?id=292
Katapulte die aus der hinteren Reihe nicht schiessen konnten, haben trotzdem
nachgeladen.
2004-10-16 00:46:38 +00:00
Enno Rehling
cc21a19831 setting RF_COMBATDEBUG (bit 14) in a region triggers a summary of the weapons/skills in the battle 2004-05-30 12:09:45 +00:00
Enno Rehling
9ef7e473d8 - http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000053
Verflucht komplizierter Fix in movement. Das kann eigentlich nur schiefgehen.

Bei der Gelegenheit mal in movement etwas Code-Massage betrieben. Das ist zwar grundsätzlich ein hoffnungsloser Fall, aber ich kann's nicht lassen.
2004-04-12 16:21:23 +00:00
Enno Rehling
77a00514ae typo bool->boolean 2004-04-09 01:33:19 +00:00
Enno Rehling
406e30468a - http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000062
Bugfix Chaostor
- http://eressea.upb.de/mantis/bug_view_page.php?bug_id=0000067
  bugfix Blick in die Realitaet

Zusätzliche asserts in xmlreader
Entferne den 'askalon' code
2004-04-09 01:23:54 +00:00
Enno Rehling
6ccb1b9bf6 Code-Vereinfachung: regionlist und region_list zu einem Typ gemerged
Code-Beschleunigung: Pathfinding schneller und schlauer
2004-02-21 12:18:29 +00:00
Enno Rehling
9fef5c651f FAST_CONNECT: regionen speichern ihre nachbarn, das beschleunigt hoffentlich das verfluchte pathfinding. 2004-01-12 15:49:34 +00:00
Enno Rehling
905f5d6a0d Astralraum: Markieren von illegalen Astralregionen,
Verschieben von Einheiten, die in illegalen Astralregionen stehen.
2003-12-17 09:46:17 +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
c184a888a9 REGIONOWNERS (per makro enabled)
Implementiert:
- HELFE DURCHREISE
- NACH-Restriktionen
- Feindlisten, laden&speichern

Es fehlt noch:
- Schiffe
- Kontaktiere
- Parteitarnung
- Kriegserklärung
- Reportanzeigen
2002-12-18 00:34:19 +00:00
Christian Schlittchen
587799eb8d - Settings für nächste Woche aktiviert
- Kleinkram
2002-04-28 13:06:27 +00:00
Christian Schlittchen
aa619ea977 - rhorses/sethorses reguläre Funktion. Besseres Debugging. 2002-04-28 07:53:07 +00:00