b3fd14b524
* splitted CGameState into general game state and battle game state
...
* added missing fields to serialize in CHero
2010-12-25 19:23:30 +00:00
a82469a205
Ooops. Some obvious corrections to previous commit.
2010-12-25 01:48:02 +00:00
2cf6729eee
Towards duel support.
2010-12-25 01:43:40 +00:00
3d9dc0642d
- gcc compile fixes
...
- corrected projectiles for some units
2010-12-24 15:37:48 +00:00
4929cf9782
* enum for secondary skills
...
* THex for battle positions
* towards removal of battleGetStackByID
TODO:
investigate the necessity of putting implementation of BattleAction CGlobalAI::activeStack( const CStack * stack ) in CGeniusAI.cpp
2010-12-23 20:18:10 +00:00
2fe8b07f4f
Little more development for duel mode.
2010-12-23 00:33:48 +00:00
cde0e8933f
Moved StupidAI to AI/ subfolder.
2010-12-22 22:23:19 +00:00
49083c4e5a
* ConstTransitive CGI more or less done
...
* hch contents distributed to more appropriate folders
2010-12-20 21:22:53 +00:00
e677cd5b07
Merged r1880.
2010-12-11 20:30:33 +00:00
69b97e0a51
Little more changes.
2010-12-09 23:10:28 +00:00
ad48681d91
* cleanup
2010-12-08 20:17:05 +00:00
f020562570
Merged changes from trunk.
2010-12-05 23:26:56 +00:00
848a00bc6f
Stacks #4 -> giving creatures still needs to be fixed.
2010-12-05 23:10:02 +00:00
6f56b5bb30
* a few more consts
2010-12-04 19:44:23 +00:00
efedb1a55a
* minor cleanup
2010-12-04 19:15:20 +00:00
ea03273c8e
Some work towards useful AI:
...
-It is possible to toggle adventure AI on / off typing "ai" in the console (default is true)
-General cleaning and formatting of code
-Some minor optimizations
-Teal console log for AI
AI tends to hang in the maze of mutexes and current player interface, further investigation is needed.
Fixed #580
minor tweaks
2010-11-28 16:39:13 +00:00
7c3f3d20c3
Stacks #2 -> towards new system of stack operations.
2010-11-27 01:46:19 +00:00
32ce20af15
Moving stack system to pointers, part #1
2010-11-22 00:34:46 +00:00
9250cc8adf
Separated CStack and CStackInstance.
2010-11-20 17:36:02 +00:00
67baa3d8e4
I hope that's final shape of universal Expert System, now it's time to add some functionality.
2010-11-13 19:25:21 +00:00
e2f4a60c4b
A bit more metamagic for expert system.
2010-11-12 15:20:44 +00:00
6da5c8ee56
A framework for generic expert system, currently aimed at Bonus processing.
2010-11-11 21:01:35 +00:00
e252c2d06c
Build files update.
2010-08-21 00:41:40 +00:00
fdad7e34e1
Remove line break in comment.
2010-08-04 03:33:10 +00:00
006a7d1f11
serialID is gone.
2010-08-04 03:32:24 +00:00
54496ddee1
* player's serialID removed (save format broken, new game seems to work)
...
* building bonus (campaigns) supported
2010-08-03 11:36:52 +00:00
695c862638
Support for creature damage bonus.
...
TODO: display it in a creature window
2010-07-16 06:18:41 +00:00
71b73bad53
* mostly working hero flying and water walking; support for artifacts:
...
- Angel's Wings
- Boots of levitation
and spells
- fly
- water walk
2010-05-16 13:42:19 +00:00
df151cceba
Various compile and warning fixes.
2010-05-12 02:32:56 +00:00
a14606f32d
New bonus system. Unified HeroBonus and StackFeature. Still early version, will need improvements and development.
...
If you encounter any new crashes / bugs / unacceptable slowdowns, please PM me.
2010-05-02 18:20:26 +00:00
993036e4a1
New non battle stack class. (Base for future improved bonus system, stack exp / arts)
...
Fixed #443
2010-04-02 02:07:40 +00:00
ac7bc76b7b
* implemented first aid kit including first aid secondary ability
2010-03-07 17:40:33 +00:00
0a950c508b
Grail digging and construction.
...
Minor fixes.
2010-02-24 13:03:36 +00:00
e6f31b7500
Compilation fixes for VC10.
...
Changes towards hot-seat support.
2010-02-20 13:24:38 +00:00
3ec6cfd115
(linux) Meved version to 0.75 (at last) and regenerated the makefiles.
2010-01-25 03:19:55 +00:00
eb6f7fffc9
Support for smart pointer serialization. Fixed creature banks serialization. Minor fixes.
2009-12-29 01:07:17 +00:00
01831e912a
Fixes for adventure AI: battles where AI is the attacker should work, fixed drawing AI heroes under FoW.
...
Restructured thread structure: no new thread on yourturn, instead of that introduced update() method called by thread dispatching GUI events.
Further changes are planned.
2009-12-28 04:08:24 +00:00
7f97a56a28
Fixed crash on casting spell. Fixed giving resources from towns. Version set to 0.74c. Incremented save format version.
...
Disabled adventure AI. Will be released as dev build.
2009-11-28 01:42:08 +00:00
f7a1b74092
Next batch of code clearing.
2009-11-01 20:13:12 +00:00
3f3c019784
Next part of AI code cleaning/reformatting.
2009-10-28 16:28:52 +00:00
ed9b75b447
First part of reformatting the code, renaming variables, rewriting tricky part. Basically making the code more readable, maintainable and ready for further additions.
2009-10-22 22:04:42 +00:00
1609b8fdb9
Made all paths dependent on DATA_DIR, USER_DIR, BIN_DIR or LIB_DIR. Data access can now be separated from saved games and binaries.
...
Fixed a file handle leak.
Bumped revision to 0.74b (linux).
Reworked the build system to remove uneeded dependencies (linux).
Removed use of PATHSEPARATOR since Windows can use / too.
2009-10-04 02:02:45 +00:00
4c458a7e47
Bumped version, restored AI and Cage.
2009-10-01 22:18:37 +00:00
5073365eb9
Disable AI and Cage of Warlorlds for release (crashes)
2009-10-01 22:13:11 +00:00
307c20e7dc
* fixed crash on clicking on the map frame
...
* battle settings will be stored
* fixed calculating battle casualties
* fixed crash when clicking on enemy stack without moving mouse when we receive action
* fixed issue when splitting stack to the hero with only one creatures
2009-09-24 13:23:52 +00:00
a424032ec3
Bumped version to 0.73d, restored AI.
2009-09-20 13:22:47 +00:00
ee3c318ed9
Version for development release 0.73c
...
* version set to 0.73c, bumped save format version, updated changelog
* new stack queue for higher resolutions (needs new graphics!)
* improved stack ordering during battle
* many minor fixes
* temporarily disabled AI
2009-09-20 12:47:40 +00:00
1a08772bc8
* reading of creature banks' names
2009-09-17 11:05:50 +00:00
c8ac6cf914
* certain improvements for animations in battles
...
* obstacles won't be placed on battlefield when creature bank is attacked
2009-09-11 12:46:26 +00:00
a9617b3dfd
Fixed prototype.
2009-09-10 14:06:28 +00:00