DjWarmonger
b02527566c
Fixed some battle logs.
2011-05-13 10:45:36 +00:00
DjWarmonger
515ab7e7c1
Support for Acid Breath (both effects are now separate).
...
Minor fixes.
2011-05-13 09:02:16 +00:00
mateuszb
09a51acfc2
* minor bugfix
...
* a bit more of function handling
2011-05-12 20:49:37 +00:00
Frank Zago
2bcba53a5d
(linux) compile fix.
2011-05-12 01:39:37 +00:00
mateuszb
95b16906aa
* a few bugs in interpreter fixed
2011-05-11 19:53:55 +00:00
Frank Zago
c165593896
(linux) added new files into the makefiles and compile fixes.
2011-05-10 01:15:10 +00:00
Michał W. Urbańczyk
58ebfc421d
One more file:
...
* lib/IGameEventsReceiver.h
Workaround for crash on post-visit.
2011-05-09 22:30:37 +00:00
Michał W. Urbańczyk
617e1f962e
New files for lib:
...
* lib/ERMScriptModule.cpp
* lib/ERMScriptModule.h
* lib/CObstacleInstance.h
More jugglery with callbacks. Moving stuff from CGameState to CGameInfoCallback. Work on unified game events interface for player (AI or GUI) and script module. Directing events to ERM interpretetr, first attempts of calling some triggers. Crashy, if there any scripts.
Some other changes, including fighting amount of includes in includes and tracking of hero visits (need further work).
2011-05-09 22:20:47 +00:00
mateuszb
743df272e4
* arithmetic and boolean operations on variables
...
* hopefully working DO receiver
2011-05-07 15:13:56 +00:00
mateuszb
2d36cae2ca
* partially done DO receiver
2011-05-06 19:32:04 +00:00
Frank Zago
f7a4bb906c
Several minor cleanups.
2011-05-04 02:38:58 +00:00
Frank Zago
91dc7a0dd4
Include proper boost header.
2011-05-04 02:37:27 +00:00
mateuszb
85d0d49207
* most of VR:S receiver
2011-05-03 14:45:57 +00:00
Michał W. Urbańczyk
b4144dc616
Callback jugglery, part 1.
...
Fixed #252 .
2011-05-03 03:14:18 +00:00
mateuszb
86a7cd12ff
* checking ERM conditions should work now
2011-05-02 18:39:57 +00:00
DjWarmonger
a4d845688a
Support for Poison, Age, Disease
...
Partial support for Stone Gaze, Paralyze, Mana drain
Partial fix for #134 - animation triggers only for our own stacks, not enemy's
Lots of tweaks & fixes.
2011-04-25 09:03:13 +00:00
DjWarmonger
7591d06b05
Support for Death Stare.
...
Some tweaks are still needed. Level 0 spell-like abilities won't work correctly.
2011-04-23 17:10:54 +00:00
Ivan Savenko
61af4c745e
- recursive directory parser for LodHandler - for creature abilities and new main menu images
...
- fixed screen updating on closing window
- minor fixes
2011-04-23 10:27:44 +00:00
DjWarmonger
7e9033c44f
Fixed #668 and #718 .
...
Hero is now properly attached to his special.
Compile fix for ERM Parser.
2011-04-23 09:57:51 +00:00
Michał W. Urbańczyk
5cc9d16014
Fixed #276 .
2011-04-22 22:28:13 +00:00
Michał W. Urbańczyk
d092eaf9d1
Artifact Merchant: selling artifacts. Messy, but completes H3 town structures functionalities.
...
BTW updating screen after closing marketplace is broken.
2011-04-22 21:51:10 +00:00
mateuszb
4ac2d32985
* minor work on ERM interpreter
2011-04-22 20:33:34 +00:00
mateuszb
66837f1ee0
* some work towards running triggers
2011-04-21 20:06:42 +00:00
mateuszb
69c8c0d058
* a bit more of erm interpreter (iexp getter/setter)
2011-04-17 17:51:48 +00:00
mateuszb
36fb9b0b6e
* some progress in VERM interpreter
2011-04-16 17:39:38 +00:00
DjWarmonger
6a8e3f1b57
Neutral creatures are now correctly split into stacks & merged after a battle.
...
TODO: find relation to adventure map tile
2011-04-14 07:58:19 +00:00
DjWarmonger
3c5a0fd4ce
Creatures now use SHOTS Bonus to express their total ammo count. Support for "additional shots" exp premy.
2011-04-12 08:59:18 +00:00
Ivan Savenko
734c95959e
gcc compile fix
2011-04-10 22:06:05 +00:00
mateuszb
033c067144
* it shouldn't parse scripts yet
2011-04-10 16:42:20 +00:00
mateuszb
382e239e47
* a bit more of ERM/VERM interpreter
2011-04-10 16:39:34 +00:00
DjWarmonger
57d292ba67
Partial support for splitting neutral stacks. Can't go further until interface is fixed.
2011-04-10 08:33:53 +00:00
Frank Zago
5795334eec
Added missing throw().
2011-04-09 19:10:29 +00:00
Frank Zago
ecb3508690
(linux) Added configure test for the icc and clang compilers, and set some extra parameters for them.
2011-04-09 17:28:51 +00:00
mateuszb
b0ca5b677c
* a few data structures for ERM/VERM interpreter
2011-04-08 19:24:30 +00:00
Ivan Savenko
0f605256e9
- added new files to build system
...
- minor gcc fixes
- updated castle interface code, added missing parts including #380
- buildings enum in global.h
2011-04-07 17:54:08 +00:00
DjWarmonger
8ac7edb04b
Fixed #680
2011-04-07 16:44:24 +00:00
Frank Zago
69364b5b60
Various gcc compile fixes, and updates to linux code.
2011-04-07 02:16:32 +00:00
mateuszb
7874d84c4e
* basic structure of ERM interpreter
...
* SHOW_FPS moved to settings.txt
* minor changes
2011-04-06 20:30:59 +00:00
Michał W. Urbańczyk
0aad12ae67
Added ERM preprocessor (removing comments, empty lines, joining multi-line commends).
2011-04-03 21:38:47 +00:00
mateuszb
3fc570a8e9
* parsing multiple consecutive modifiers in VERM
...
* minor improvements
2011-04-03 13:15:07 +00:00
mateuszb
21eaec883c
* VERM grammar seems to be complete
2011-04-02 18:06:52 +00:00
mateuszb
ccecc6637f
* partially done support for VERM
...
* MSVC compilation fix (using boost::ref is an error)
2011-04-01 19:09:05 +00:00
Ivan Savenko
407acce4c6
- gcc 4.5 / boost 1.46 compilation fixes
...
- configure will accept CXXFLAGS parameter correctly
- boost version check in ERMParser - to skip compilation with old boost
2011-03-29 17:16:10 +00:00
mateuszb
c6d0814062
* ERM parser is generally done, no serious bugs are known
2011-03-28 19:34:00 +00:00
mateuszb
3c393843e6
* ERM parsing mostly done, some strange cases of body syntax, undocumented expressions and encoding issues still remain.
2011-03-27 17:24:30 +00:00
DjWarmonger
15d80d040f
Correct handling of merging & moving stacks with experience.
2011-03-27 09:31:14 +00:00
mateuszb
caf50fc278
* most of WoG's ERM parsed, a few minor things left + body needs to be parsed a bit deeper.
2011-03-25 20:38:24 +00:00
mateuszb
31b4906daa
* ERM parser improvements, it should be GCC-compatible now
2011-03-24 22:05:08 +00:00
mateuszb
fca2b5da7a
* ERM parser improvements
2011-03-23 19:41:29 +00:00
mateuszb
a09a54ba2f
* improved ERM grammar (syntax error printing is mostly disabled)
2011-03-21 20:34:44 +00:00
DjWarmonger
70b21fc9eb
Quick implementation of stack experience details. Minor fixes.
...
Man, it's ugly.
2011-03-21 08:14:23 +00:00
mateuszb
f88ac50a44
* improved ERM parser but there is something wrong with printing function or parser
2011-03-20 18:09:55 +00:00
Michał W. Urbańczyk
07ea131c97
ERM parser won't crash when there is no Data/s folder (addressing issue #717 )
2011-03-20 16:45:18 +00:00
DjWarmonger
bc51c0006f
Support for creature skill icons. Several fixes for creature abilities.
2011-03-20 08:45:05 +00:00
Ivan Savenko
7209f158a1
- gcc/Linux fixes
...
- added --nointro parameter to skip intro videos
- minor fixes to scenario selection menu
2011-03-19 22:27:05 +00:00
Michał W. Urbańczyk
7b9e77f899
Lib project file updated.
2011-03-19 18:30:58 +00:00
mateuszb
b3ed75ab03
* first part of ERM parser
2011-03-19 17:06:46 +00:00
Michał W. Urbańczyk
5e4140762f
Fixed #687 .
2011-03-19 14:35:29 +00:00
beegee1
fb929fa9b0
AB campaign selection screen added
2011-03-19 14:27:51 +00:00
Michał W. Urbańczyk
95efcc7cb5
Fixed #305 , #707 , #708 .
2011-03-19 00:06:54 +00:00
Michał W. Urbańczyk
4d3776058d
My project files for VC10.
2011-03-17 23:06:48 +00:00
Michał W. Urbańczyk
a382b641b7
Removing old, VC9 project files.
2011-03-12 22:53:52 +00:00
Michał W. Urbańczyk
39120fe4a5
Spell scroll improvements, fixing #689 , #690 , #691 .
...
CArtPlace now uses common CInfoWindow for r-click popup (with or without a custom component), old CMessage::genWindow no longer needed.
2011-03-12 21:55:31 +00:00
DjWarmonger
122a6a039e
Enabled mysterious Hero Placeholder.
2011-03-08 14:04:47 +00:00
DjWarmonger
f7bd5e75cb
Fixed 563 & 701.
...
It's not nice to write same piece of code twice.
2011-03-08 13:27:32 +00:00
DjWarmonger
2fc2fa539d
Fixed #706 .
2011-03-08 09:09:57 +00:00
DjWarmonger
869214f44b
Resolved #710 .
...
Minor fixes.
2011-03-08 07:40:14 +00:00
DjWarmonger
043700f310
Fixes for Hate ability, minor tweaks.
2011-03-06 14:22:54 +00:00
DjWarmonger
b9f301b600
Better implementation of creature window, minor fixes.
...
Check forum for new graphics.
2011-03-06 12:12:22 +00:00
Michał W. Urbańczyk
7dbf105f6e
Surrendering and related artifacts (Statesman's Medal,
...
Diplomat's Ring, Ambassador's Sash).
2011-03-05 16:38:22 +00:00
DjWarmonger
dc0eb37da6
New creature window works in general, covering old functionalities and displaying new info. It's far from finished though.
2011-03-03 18:25:48 +00:00
Michał W. Urbańczyk
222bf004b9
Fixed #679 and #681 .
2011-03-01 13:54:48 +00:00
Michał W. Urbańczyk
aaf3729367
War machines won't be present at creature banks.
2011-03-01 10:28:31 +00:00
Michał W. Urbańczyk
c5930893fd
Fixed #682 .
2011-03-01 10:19:05 +00:00
Ivan Savenko
a2f512813f
- gcc compile fixes
...
- fixed locale issue
- Makefiles for StupidAI
- fix for #671 (not tested)
- linux readme update, including #598
2011-02-28 15:14:26 +00:00
Michał W. Urbańczyk
03fdd22b1a
Version set to 0.83c, to be released as development build.
...
Code reorganizations in bonus system, allowing defining bonusNode-like classes.
Fixed some issues with artifact handling (proper updating of GUI when moving, minor fixes).
Restoring battle AI for neutrals after loading game.
2011-02-27 19:58:14 +00:00
Michał W. Urbańczyk
d7b586f1fd
Eliminating duplicated bonuses. Smarter getting [no code duplication].
2011-02-27 11:26:18 +00:00
mateuszb
1dd05788c9
* fixed #53
2011-02-26 17:32:56 +00:00
Michał W. Urbańczyk
236345e61d
Fixed #674 , #675 , #676 , #677 .
2011-02-25 17:57:30 +00:00
mateuszb
ab4418917a
* artillery skill fixed
2011-02-24 15:33:03 +00:00
mateuszb
ba7eb6ce49
* bug 492 fixed
...
* boost::filesystem version set to 2 (should work with all relatively new versions of boost)
2011-02-24 15:05:21 +00:00
Michał W. Urbańczyk
91d0ea64de
Version to be released as dev release 0.83b
2011-02-24 14:54:18 +00:00
Michał W. Urbańczyk
e505328fcd
Reverted r1992 for now [boost < 1.46 won't work with it]
2011-02-24 14:01:58 +00:00
Michał W. Urbańczyk
1afcaf2817
* CThreadHelper.cpp now belongs to VCMI_lib project
...
* fixed console on Windows (restored old code)
* GeniusAI won't get blocked when it has a hero with tactics in battle
* fixed an issue with switching turns in hot-seat mode when there is Cover of Darkness active
* suppressed bonus system console output: it goes only to the logfile
* [win32] setting thread names (debug purposes)
* minor fixes
2011-02-24 13:57:47 +00:00
mateuszb
4647d4af2c
boost 1.46 compile fixes.
2011-02-24 12:21:48 +00:00
mateuszb
a6b4cfdde7
* spell scroll campaign bonus
...
* minor fix (gratuitous call to giveCampaignBonusToHero)
2011-02-23 11:21:40 +00:00
mateuszb
8e7b855478
BLOCK_SPELLS_ABOVE_LEVEL was removed on purpose
2011-02-23 10:01:23 +00:00
Michał W. Urbańczyk
cab8f9e11d
AI for neutral creatures and battles and player AIs can be different. StupidAI will handle neutrals by default.
...
Fixes for issues with deserialization and handling Tactics secondary skill.
2011-02-23 03:57:45 +00:00
DjWarmonger
9d313d3d2c
Minor fixes and tweaks.
2011-02-22 14:23:09 +00:00
mateuszb
6db7f1d610
* minor improvements in spell immunity handling
2011-02-22 13:44:34 +00:00
mateuszb
b4edd10e6c
* beegee's comments patch
...
* very minor changes
2011-02-22 11:52:36 +00:00
Michał W. Urbańczyk
a46ad0b7ef
Next set of fixes, mostly for deserialization.
2011-02-22 09:47:25 +00:00
mateuszb
1458cf64c2
* fixed bug 298
...
* fixed INDEPENDENT_MIN bonus value type
* minor changes
2011-02-21 16:53:23 +00:00
mateuszb
43468e16e1
* bug 97 fixed
...
* better handling of BLOCK_SPELLS_ABOVE_LEVEL bonus
2011-02-21 13:27:31 +00:00
Michał W. Urbańczyk
d36f8087aa
minor fix — duration has to be passed as ui16.
2011-02-21 04:24:46 +00:00
Michał W. Urbańczyk
4c9edd3f06
Many fixes around bonus system. Some basic propagation mechanism (not clever but works).
2011-02-21 04:13:00 +00:00
mateuszb
519a4186de
* fixed bugs 470 and 523
...
* minor improvements
2011-02-20 18:32:39 +00:00
Ivan Savenko
450ae1772c
- Buttons optimization - less memory and CPU usage
...
- gcc compilation fixes
2011-02-20 09:24:53 +00:00
DjWarmonger
872c893789
Fixed parsing for Mind Immunity.
2011-02-17 09:06:24 +00:00
mateuszb
4e631fc530
* fix for bug 573
...
* minor changes
2011-02-15 19:54:55 +00:00
DjWarmonger
6db068f506
Fixed stacks speed and general parsing bug.
2011-02-14 21:08:29 +00:00
Michał W. Urbańczyk
2f9ed138f6
Tactics more or less working (some improvements still needed, as proper updating battle GUI).
2011-02-14 20:31:53 +00:00
Michał W. Urbańczyk
0c700f97cd
A little progress with Eagle Eye and Tactics.
2011-02-13 22:46:04 +00:00
DjWarmonger
4dc258521b
Various fixes.
2011-02-13 19:46:16 +00:00
DjWarmonger
adb1d9181d
Missing file.
2011-02-13 13:16:41 +00:00
DjWarmonger
a5a493bfc1
Stack experience more or less handled. Neutrals get 10K xp every day.
2011-02-13 13:11:09 +00:00
DjWarmonger
252cee96f5
Partial Stack Exp operations. Can't really test it as battle is unplayable atm.
2011-02-12 18:48:11 +00:00
DjWarmonger
7a49240520
Some additional info for Stack Experience, fixes.
2011-02-12 16:21:48 +00:00
mateuszb
fcdc3f0bdd
Various changes, including exprank limiter and development towards Tactics secondary skill support.
2011-02-12 16:12:48 +00:00
Michał W. Urbańczyk
9f90ef58ca
Some work towards Eagle Eye skill support.
2011-02-11 19:12:08 +00:00
Michał W. Urbańczyk
ab20e024c0
Various fixes and improvements around kill hero and kill monster quests. A few minor unrelated fixes.
2011-02-11 12:27:38 +00:00
DjWarmonger
c0f2b3f32b
Now parsing CREXPBON into Bonus System, with limiters. StackExperience class removed.
...
Exp ranks are now calculated, though exp is never set.
2011-02-11 08:20:26 +00:00
mateuszb
d630d88ac1
* some work towards fix of 537
...
* 338 seems to be fixed
2011-02-10 14:44:21 +00:00
Michał W. Urbańczyk
979f77d900
Some preparations towards handling stack experience by the new bonus system. New nodes for controlling premies for creatures of given tier (level). Minor changes.
2011-02-10 13:12:53 +00:00
mateuszb
8b8d06ac64
* fixed bug 257
...
* minor changes
2011-02-09 15:19:53 +00:00
DjWarmonger
454beba90c
Backup of last modifications in stack experience.
2011-02-09 14:58:15 +00:00
Michał W. Urbańczyk
9f21e4b46f
Minor compile fix, std::copy used that way overwrites original bonuses [but the code won't be needed anyway]
2011-02-09 12:33:58 +00:00
DjWarmonger
72c30df16a
More parsing for CREXPBON.
2011-02-08 11:34:34 +00:00
DjWarmonger
f96b394b01
Threat level texts are now stored in separate config file.
2011-02-07 14:39:17 +00:00
Ivan Savenko
2ff07fa66a
- Next part of animation system:
...
-- Reduced memory usage for images with margins
-- Implemented RLE compression
- Linux-related changes:
-- build system updated to include changed paths
-- new dependency: boost-program-options
-- configure option --disable-debug will produce optimized build
- Several gcc compile fixes
- Optimized CPU usage on town screens
- Removed several includes from headers
- Possible fix for #496
2011-02-06 17:26:27 +00:00
Michał W. Urbańczyk
31fc8f6db3
Merged Warmonger's changes from trunk
2011-02-06 08:32:05 +00:00
Michał W. Urbańczyk
a3ba75b0b7
Various fixes, mainly around garrisons.
2011-02-05 13:39:10 +00:00
Michał W. Urbańczyk
c6db92c0be
More development around bonus system: building hierarchy, managing morale bonuses. Fully functional Spell Scroll and Angelic Alliance artifacts. Fixed recruiting hero and moving hero to garrison.
2011-02-04 14:58:14 +00:00
DjWarmonger
a84a95f0ee
Partial parsing for CREXPBON.txt table - only basic bonuses are supported
...
Bonuses will be stored in Creature node and used when Bonus System is ready.
2011-02-03 12:58:46 +00:00
DjWarmonger
c11f7c2020
Some more work on bonus-to-string feature.
2011-02-02 18:49:48 +00:00
DjWarmonger
094bb6fd8f
Moving some work in progress from one computer to another. It shall not explode.
...
Fixed video issue from #670 .
2011-02-01 18:10:43 +00:00
Michał W. Urbańczyk
15011e611d
Merged Ivan's changes from trunk (r1921)
2011-01-28 02:33:26 +00:00
Michał W. Urbańczyk
a75a37008f
Practically finished combined artifacts changes, many other fixes.
2011-01-28 02:11:58 +00:00
Michał W. Urbańczyk
e6d577c233
Mostly done combined artifacts.
...
[assembling, disassembling, moving, picking]
2011-01-23 23:49:17 +00:00
Michał W. Urbańczyk
3fde9e45df
Partially redone combined artifacts.
2011-01-22 03:43:20 +00:00
Michał W. Urbańczyk
591ba76f69
Fixed initialization of recruited stacks.
...
Fixed displaying garrison slots in CCastleInterface.
2011-01-21 10:37:19 +00:00
Michał W. Urbańczyk
ed07cfe073
Configurable duels.
2011-01-21 02:36:30 +00:00
mateuszb
824d2b52db
* more or less fixed spells
...
* certain hero specialties are still broken
2011-01-20 19:57:12 +00:00
mateuszb
2451c0dea6
* a bit better stack reversing
...
* FoWChange uses unordered_set instead of set
2011-01-20 17:25:15 +00:00
Michał W. Urbańczyk
898ad292ea
A few fixes for artifacts.
2011-01-18 18:56:14 +00:00
mateuszb
a9c98d2b8c
#463 and #571 should be fixed now
2011-01-18 18:54:53 +00:00
mateuszb
98494a5e6f
* defensive stance implemented (bug #342 fixed)
2011-01-18 17:23:31 +00:00
Michał W. Urbańczyk
28550c85fd
Merged Ivan's changes in trunk ( r1918 )
2011-01-15 20:07:16 +00:00
Michał W. Urbańczyk
502bb5392e
The last set of fixes for non-combined artifacts operations.
2011-01-15 17:58:08 +00:00
Ivan Savenko
77ba5a5cd6
- some minor fixes : #626 #597 #275
...
- fixed console on Linux
2011-01-15 17:30:46 +00:00
Michał W. Urbańczyk
f52d4f7cd6
Merged changes from trunk.
2011-01-15 02:35:46 +00:00
Michał W. Urbańczyk
a940daba5e
A handful of fixes for artifacts, minor for for battles.
2011-01-15 02:17:56 +00:00
mateuszb
9e3f8b86bf
* improved speed of CLodHandler::entries
2011-01-14 16:52:37 +00:00
mateuszb
56ec829049
* minor refactoring
...
* minor improvements in battle interface
2011-01-09 17:41:46 +00:00
Michał W. Urbańczyk
c1bd81abdd
Mostly fixed battle animations.
...
Added proper ending for duel mode.
2011-01-08 19:38:42 +00:00
Michał W. Urbańczyk
a53ec23556
Stupid AI is capable of winning / losing battle.
2011-01-08 18:33:40 +00:00
mateuszb
957f1764d7
* some progress in StupidAI
...
* refactoring of battle handling
WARNING: strange crash on entering battle
2011-01-07 10:48:31 +00:00
Michał W. Urbańczyk
401b364ad7
Partially functional artifact screen.
...
[TBD compound artifacts, backpack arranging, "live" modifying values, many details]
2011-01-06 20:00:19 +00:00
Ivan Savenko
b8f65697ca
- fixes for several bugs: #639 #656 #135 #646 #638 #94 #629
...
- re-enabled console on Linux to allow disabling AI
2011-01-01 20:26:39 +00:00
Michał W. Urbańczyk
ebb9c84da9
Artifacts, updated map loading.
2010-12-30 14:41:46 +00:00
Michał W. Urbańczyk
c9189119b9
Little more work on artifacts.
2010-12-29 21:04:22 +00:00
mateuszb
8104a43809
* a voodoo fix of a mysterious bug
2010-12-27 10:48:28 +00:00
Michał W. Urbańczyk
471c23ba71
Compile fixes, more work on new artifact system.
2010-12-26 14:34:11 +00:00
mateuszb
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
Michał W. Urbańczyk
2cf6729eee
Towards duel support.
2010-12-25 01:43:40 +00:00
mateuszb
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
Michał W. Urbańczyk
2fe8b07f4f
Little more development for duel mode.
2010-12-23 00:33:48 +00:00
mateuszb
af2c4633ad
* partially done duel mode
...
* program options parsing via boost::program_options
* Stupid AI - a stupid battle-only AI
* precompiled headers for server and Stupid AI on MSVC
2010-12-22 20:14:40 +00:00
mateuszb
49083c4e5a
* ConstTransitive CGI more or less done
...
* hch contents distributed to more appropriate folders
2010-12-20 21:22:53 +00:00
mateuszb
8b831c1f46
Const-transitiveness of CGI almost reached
2010-12-20 13:04:24 +00:00
mateuszb
b15deaa203
* more constTransitivePointers in GameInfo, separated client GUI classes from it, moved def handlers from CGDefInfo
2010-12-19 14:39:56 +00:00
mateuszb
5806976a9a
* towards ConstTranssitivePointers in CGI
2010-12-18 22:11:28 +00:00
mateuszb
23c501b79e
some changes
2010-12-17 18:47:07 +00:00
Michał W. Urbańczyk
b15ac97c62
Half done refactoring of CHeroWindow.
2010-12-16 22:32:53 +00:00
Michał W. Urbańczyk
e301256f92
Adjusted player interface to new set of stack operations.
...
Const transitive ptr.
2010-12-14 21:55:23 +00:00
Michał W. Urbańczyk
f7f917845c
Merged changes from trunk ( r1885 )
2010-12-14 18:08:21 +00:00
mateuszb
3989afd153
* more const-correct interface
2010-12-13 20:16:18 +00:00
Michał W. Urbańczyk
02e4ef507e
Stacks #5 : giving creatures, practically finished (many fixes needed).
2010-12-12 23:44:16 +00:00
Michał W. Urbańczyk
fc6d6e02a3
More fixes for stacks, some basic macro-based logging for bonus graph operations.
2010-12-11 23:11:26 +00:00
Michał W. Urbańczyk
69b97e0a51
Little more changes.
2010-12-09 23:10:28 +00:00
Michał W. Urbańczyk
f020562570
Merged changes from trunk.
2010-12-05 23:26:56 +00:00
Michał W. Urbańczyk
848a00bc6f
Stacks #4 -> giving creatures still needs to be fixed.
2010-12-05 23:10:02 +00:00
mateuszb
6f56b5bb30
* a few more consts
2010-12-04 19:44:23 +00:00
mateuszb
efedb1a55a
* minor cleanup
2010-12-04 19:15:20 +00:00
DjWarmonger
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
Michał W. Urbańczyk
fdb541d81e
Stacks #3 -> towards new system of stack operations.
2010-11-27 20:17:28 +00:00
Michał W. Urbańczyk
7c3f3d20c3
Stacks #2 -> towards new system of stack operations.
2010-11-27 01:46:19 +00:00
Michał W. Urbańczyk
32ce20af15
Moving stack system to pointers, part #1
2010-11-22 00:34:46 +00:00
Michał W. Urbańczyk
9250cc8adf
Separated CStack and CStackInstance.
2010-11-20 17:36:02 +00:00
Michał W. Urbańczyk
27f83ea8c3
Further work on bonus system.
2010-11-20 00:03:31 +00:00
Michał W. Urbańczyk
b2a4d857b5
Little more. Doesn't crash on startup.
2010-11-18 22:22:51 +00:00
Michał W. Urbańczyk
cdf7b2b4d9
Bonuses now use pointers.
...
Things are very broken.
2010-11-18 22:06:56 +00:00
Michał W. Urbańczyk
4d657eaf47
Merges from trunk. Minor changes.
2010-11-18 18:07:57 +00:00
DjWarmonger
310a36c8d1
Fixed 313 & 314 :)
2010-11-15 12:51:53 +00:00
Michał W. Urbańczyk
9028684697
Disemboweling the system.
...
Things are broken now.
2010-11-13 20:26:15 +00:00
Michał W. Urbańczyk
083d2e0e26
Fixed crash on removing artifact.
2010-11-10 00:08:29 +00:00
Michał W. Urbańczyk
bce805dacc
Restored Warmonger's changes to artifacts system.
...
They will be subject of my further work, along with next part of bonus system.
2010-11-10 00:06:25 +00:00
Ivan Savenko
9771dd12ff
- changes in LodHandler:
...
-- file type (text, image...) can be specified in getFile(), all hacks removed
-- replaced Nodrze with std::set
- some gcc warnings fixed
2010-11-09 11:27:58 +00:00
Michał W. Urbańczyk
1c8d909433
Hotfix for loading game.
2010-11-03 11:34:25 +00:00
DjWarmonger
1f2e9bf9c2
Added important fix reverted in r1817.
2010-10-31 07:11:28 +00:00
Frank Zago
dbe38a7062
A few bug fixes and arious warning fixes: unused code/variables, out of order initializations, ...
2010-10-30 21:53:41 +00:00
Michał W. Urbańczyk
0f36095dc7
Less "crashy" campaigns.
2010-10-30 18:54:59 +00:00
Michał W. Urbańczyk
c299a1cdea
Fixed desync.
...
Version bumped to 0.82c
2010-10-27 11:36:14 +00:00
DjWarmonger
d823b18c72
Fixed 625, probably also 628 and 568. Minor fixes.
2010-10-27 09:01:27 +00:00
Ivan Savenko
923fed7dc1
- fix for bonuses in campaign screen
...
- fixed gcc warnings
- build system updated
2010-10-25 19:37:21 +00:00
Michał W. Urbańczyk
8495b848b3
Missing files.
2010-10-25 16:06:48 +00:00
Michał W. Urbańczyk
daeb3af67a
Early changes towards MP support.
...
It's possible to connect several clients (running on localhost) and enter MP pregame. The actual MP game still not playable. (though it can be started)
2010-10-24 11:35:14 +00:00
Michał W. Urbańczyk
aa131bbf15
Reverted r1811, r1812, r1813
2010-10-24 11:23:43 +00:00
DjWarmonger
8ac954a7f9
Fixed crash with damage calculation.
2010-10-23 08:58:48 +00:00
Ivan Savenko
c10dac929d
- New animation system:
...
-- New files: hch/CAnimation.h/cpp
-- Class CAnimation capable to load file partially and/or keep data in compressed state
-- Buttons now use CAnimation instead of CDefHandler
- build system regenerated to include new files
- fixed several gcc warnings
- updated README.linux
2010-10-18 15:08:59 +00:00
DjWarmonger
6cadd47f0d
Fixes for artifact system - instances are serialized and synchronized. However, still some serializer issue prevents Scroll from working.
2010-10-09 18:38:32 +00:00
DjWarmonger
b75cf89f86
Partial support for customizable artifacts and Spell Scroll. Still doesn't work, though.
2010-10-03 17:52:11 +00:00
DjWarmonger
0f314e106c
Artifacts will now be handled by pointers.
...
Assembling & disassembling combos may be buggy, but it's already been before.
2010-10-03 07:07:53 +00:00
DjWarmonger
2c43707661
More fixes for weeks & growths.
2010-10-02 09:43:22 +00:00
DjWarmonger
02d7fa35b7
A number of fixes. Banks serialization, doubling spell effects, week of plague.
2010-10-02 07:10:38 +00:00
DjWarmonger
e481a4375b
Removed bonus system loop in GameState.
...
Moved some game settings to global.h
2010-09-30 13:15:18 +00:00
DjWarmonger
717141ab0b
Statue of Legion is finally functional.
...
You can see my attempt to create very generic handling of global effects, but I abandoned it since no other items might actually use it.
However, Statue's constituents are buggy, so may be assembling & dissasembling them. Most likely this issue is general.
2010-09-25 20:23:55 +00:00
mateuszb
9356ba15ef
* minor improvements for campaigns
2010-09-04 14:49:15 +00:00
Frank Zago
4b8be22fb6
Several compile/link fixes.
2010-09-04 14:47:39 +00:00
mateuszb
4ba3c68ced
Chenges (networking for PG, minor fixes)
2010-09-03 18:42:54 +00:00
mateuszb
dc0cdf68b6
* small fix
2010-09-02 14:41:35 +00:00
mateuszb
608e26b453
* a few fixes for CStack.effects removal - more should come
2010-08-31 10:22:21 +00:00
DjWarmonger
4696d89d2e
Last part of hero specialities - support for peculiar enchants.
2010-08-31 08:39:32 +00:00
DjWarmonger
30cf8b7e77
Fixes for previous commit.
2010-08-30 19:46:38 +00:00
DjWarmonger
bfe266a377
Moved battle effects to bonus system. May be buggy.
...
Moved creature damage to bonus system, simplified its handling. Some changes and tweaks.
Support for Adela's bless.
2010-08-30 18:06:17 +00:00
mateuszb
34b4e09927
* minor changes - hero crossover in campaigns
2010-08-30 14:52:18 +00:00
DjWarmonger
59447fb85e
Hero speciality will now affect Resurrection and other remaining spells.
...
Minor refactoring of spell mechanics, more to come.
2010-08-29 18:29:00 +00:00
DjWarmonger
6005e7a6ee
Implemented fixed set of creatures that can get week of double growth. Minor fix.
2010-08-29 07:49:04 +00:00
DjWarmonger
c7f8f0a967
Support for creature weeks and Deity of Fire is now complete.
2010-08-26 07:23:08 +00:00
Ivan Savenko
dc2f3cf181
- some fixes for town events
...
- #190 - InfoWindow components adjusted vertically
- #194 - correct sex for heroes in battles
2010-08-25 14:57:58 +00:00
DjWarmonger
ea966a3d21
Creature weeks now work fine. Castle interface still needs to be updated.
2010-08-25 08:40:50 +00:00
DjWarmonger
630dc7f7f2
Next part of creature weeks code.
2010-08-24 14:26:57 +00:00
DjWarmonger
70a158ba55
Fixes for random creature spawns. VCMI will display info about different weeks (though they are not supported yet).
2010-08-22 18:21:45 +00:00
DjWarmonger
f6b97704c7
Partial support for random wandering stacks. Well, they are not 'that' random as don't use global ran() function.
2010-08-22 07:11:46 +00:00
Frank Zago
e252c2d06c
Build files update.
2010-08-21 00:41:40 +00:00
Frank Zago
29045f5c0f
Compile fix.
2010-08-21 00:37:19 +00:00
DjWarmonger
0c4bec0a52
Fixed #608 . I just ignored odd postInit interface, hope that's fine.
2010-08-20 16:23:43 +00:00
mateuszb
d681afe1c1
Changes towards campaign support.
2010-08-20 13:34:39 +00:00
Ivan Savenko
d732565002
- blocked retreating from castle. Escape Tunnel implemented.
...
- fixed crash when player have no hero (like castle defence)
- minor fixes
2010-08-19 11:03:33 +00:00
Ivan Savenko
8319e5e703
- town events implemented
...
- merged CustomImagecComponent into SComponent
- moved some subID-related code from CastleInterface
2010-08-18 14:24:30 +00:00
DjWarmonger
3f31f6d33d
Pyramid fixes : #287 , #403 , #572 , #575 . It's config is now stored in bankconfig.txt
2010-08-18 13:42:46 +00:00
Michał W. Urbańczyk
4aa60cd40e
Minor changes.
2010-08-18 09:50:25 +00:00
DjWarmonger
6c3ad7fcae
Fixed #565 . Creature components will not get description if they quantity is set to zero.
2010-08-17 15:50:17 +00:00
mateuszb
9c60629bcf
* minor changes
2010-08-17 14:58:13 +00:00
mateuszb
c96dab5c7e
* reverting prevoius revisiom
...
* minor changes
2010-08-17 12:48:34 +00:00
mateuszb
9aa6d0a7b9
* refactoring of map handler and minor changes
2010-08-16 13:51:31 +00:00
mateuszb
9445e5b184
* small refactoring
...
Please don't touch CGI->state directly in client code - use callbacks instead. I'd like to make some mechanics-critical handlers in CGI const - a lot of work, certain changes have been done here.
2010-08-16 09:54:09 +00:00
DjWarmonger
6f022e02bb
Fixed #583 . Minor fixes.
2010-08-15 16:24:58 +00:00
DjWarmonger
2ec775cb46
Fixed #599
2010-08-15 07:39:07 +00:00
Ivan Savenko
fd45cd0a6d
- fix for #283
...
- ally support: adventure map
2010-08-13 10:46:08 +00:00
Ivan Savenko
520d40cc59
- uploaded config/settings.txt from 0.82 (fix for #605 )
...
- fixes for #604 and #364
- ally support is mostly done:
-- exchange between heroes
-- exchange between hero\town
-- finishing the game
2010-08-12 15:54:25 +00:00
Ivan Savenko
bdcdc89991
- University fix for #594
...
- Ally support:
- - fix for non-continuous players (notes to rev 1736)
- - objects visiting and shared puzzle map
2010-08-06 13:14:10 +00:00
mateuszb
ec5fa1dc22
* Mutare's special ability
...
* implemented vial of dragon blood
* problems with teams discovered:
maps with noncontinuous player occupancy (e.g. only red and teal) crash on loading. hideTiles has obvious bugs - loop goes through teams and team numbers, but fw.player is set to team number, as is the 4th argument to getTielsInRange.
2010-08-06 10:46:40 +00:00
mateuszb
a95bb9d916
* fixed 576
...
* new cheat code: vcmiforgeofnoldorking - hero gets all artifacts except spell book, spell scrolls and war machines
2010-08-05 09:47:12 +00:00
mateuszb
f41c85212f
* more appropriate calculation of spell level by SPELL bonus
2010-08-05 09:11:38 +00:00
mateuszb
52319f5713
* CBonusSelection will now work on CCampaignState instead of CCampaign; unfortunately there seems to be no elegant way to move that state between bonus selection screen and CGameState::init, so it's not yet moved.
2010-08-04 11:18:13 +00:00
Ivan Savenko
3c868146a6
- linux fix for BuildingHandler
...
- #584 should be fixed
- first part of ally support:
-- shared FoW
-- function Callback::getPlayerRelations for team checking
2010-08-03 12:34:06 +00:00
mateuszb
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
mateuszb
3361126c55
* partially done building bonus (campaigns)
...
* ERMU -> picture name mapping by Ivan (thanks)
2010-08-02 14:29:30 +00:00
Michał W. Urbańczyk
5665ec1a0d
Fixed crash on sieges.
2010-08-01 18:12:53 +00:00