AlexVinS
782c8ec40b
Changed windows minimum version back to winxp due to mingw bug
...
* will be changed back after newer mingw tests
2015-08-20 04:22:54 +03:00
AlexVinS
03a295f1a0
Added debug mingw64 build, minimum Windows version set to windows 7, SDL suffixes removed from Build Tagerts
2015-08-20 03:28:04 +03:00
DjWarmonger
c5691cbeb1
Compile fix - srsly?
2015-07-18 20:47:09 +02:00
AlexVinS
a8c45df732
Merge branch 'SDL1Wipe' into develop
2015-06-22 14:24:00 +03:00
AlexVinS
e27516a0b5
fix mantiss #2210
2015-06-21 21:27:58 +03:00
AlexVinS
53b85d16be
Cleanup C::B projects
2015-06-21 01:59:33 +03:00
AlexVinS
f5c2e6d5e1
Style tweaks
2015-06-02 07:12:45 +03:00
AlexVinS
9eaa136c58
fix releasing obstacle pointer
2015-06-02 07:12:44 +03:00
AlexVinS
5226081f33
rewrite stack movement processing
2015-06-02 07:12:43 +03:00
AlexVinS
e45b6cfdda
fix mantiss 0001581
2015-04-13 17:27:47 +03:00
AlexVinS
20acdbbf3b
Fix wrong side for opening battle spells
2015-03-30 19:16:08 +03:00
AlexVinS
6dea40aa95
Do not damage immune creature by spell-created obstacle. This should fix 0001846
2015-03-29 16:50:23 +03:00
DjWarmonger
8820bc05a9
MSVS compiler doesn't allow default arguments for Lambdas.
2015-03-10 10:06:45 +01:00
DjWarmonger
ec879046ca
Merge pull request #93 from ArseniyShestakov/feature/pathfindingTeleports
...
Okay let's do this!
2015-03-10 09:04:25 +01:00
ArseniyShestakov
3773859e9d
CGameHandler::moveHero allow transit, but for teleports only
2015-03-08 17:08:57 +03:00
ArseniyShestakov
21aaad6972
MoveHero: add transit movement option
...
Transit is new option for hero movement. If it passed for movement then hero can get get on tile without visiting of object on it.
Currently it's will be only allowed is object under destination is teleport.
2015-03-08 17:04:09 +03:00
ArseniyShestakov
25656aa586
Add showTeleportDialog everywhere except actual code for AI and player
...
Just like TeleportDialog it's based off showBlockingDialog, but as number of package is higher when possible showTeleportDialog will be after other dialogs handling code.
2015-03-08 16:52:50 +03:00
ArseniyShestakov
18535db0ef
Add TeleportDialog and CTeleportDialogQuery
...
TeleportDialog is based off BlockingDialog and it's needed for server to ask client what teleport hero should be teleported to.
It's also contain list of possible exits, identifier of currently used channel and also impassable option.
If impassable set to true then client will remember that current teleport channel is lack of exit point.
2015-03-08 16:37:33 +03:00
AlexVinS
685deddac1
Start spell-relatet files reorganisation
...
* moved existing files to separate directory
-> todo: split mechanics
2015-02-26 08:39:48 +03:00
AlexVinS
08d4f7991e
Extract adventure spell mechanics
2015-02-26 08:39:39 +03:00
DjWarmonger
a736a863da
Merge branch 'develop' of https://github.com/vcmi/vcmi into develop
2015-02-22 18:36:23 +01:00
DjWarmonger
6797c374ed
Additional check
2015-02-22 18:36:13 +01:00
ArseniyShestakov
445ded71a7
Movement: now hero will always ignore guards if visiting object that he staying on
...
This one is replicating original game behaviour and fixes issue 1990 and related to issue 2084.
Currently this is mainly caused problem with teleporters which lead to crash in AI due to unexcepted hero loss.
2015-02-22 20:12:49 +03:00
AlexVinS
aa5e9fc959
get rid of global debug macros.
2015-02-14 22:43:16 +03:00
DjWarmonger
a8ff08a562
Fixed #2012
2015-02-14 19:44:04 +01:00
DjWarmonger
84b2510aa4
Merge pull request #62 from vcmi/SpellsRefactoring4
...
OK
2014-12-26 08:46:29 +01:00
DjWarmonger
8c471f6359
Merge pull request #69 from ArseniyShestakov/artifactsImprovements
...
Thanks, looks great now.
2014-12-25 20:24:08 +01:00
DjWarmonger
5b8180e327
Cleaning logs.
2014-12-25 12:58:15 +01:00
ArseniyShestakov
4cb98e7e8d
Use isTradable and fix issue 1392
...
This change make it possible to sell spell scrolls in Artifacts Merchant.
2014-12-24 20:48:37 +03:00
ArseniyShestakov
937ef0227b
Use ArtifactID instead of int when possible
2014-12-24 18:49:12 +03:00
AlexVinS
eebf65e88f
Merge branch 'develop' into SpellsRefactoring4
2014-12-24 00:15:27 +03:00
DjWarmonger
c538370c5d
Players will be always able to see their owned heroes and other objects. Fixes #1959 .
2014-12-21 13:56:32 +01:00
AlexVinS
d94f15bdf4
Added configurable animation for SPELL_LIKE_ATTACK
2014-11-28 00:36:14 +03:00
AlexVinS
f4cf12d3f8
Fix a crash
2014-11-27 00:53:08 +03:00
AlexVinS
b31ed0e4ea
Use SetMana packet in battle
2014-11-26 13:30:55 +03:00
AlexVinS
ca5391cde6
Get rid of handleSpellCasting
2014-11-25 22:00:04 +03:00
AlexVinS
c67887ae58
Use spell mechanics clases in GameHandler
2014-11-25 18:16:14 +03:00
AlexVinS
f2bf3d7f7b
Added a way to obtain ID of newly added Stack
2014-11-25 12:26:32 +03:00
AlexVinS
f7ff61ce4f
Merge remote-tracking branch 'remotes/origin/develop' into SpellsRefactoring4
2014-11-24 12:41:17 +03:00
KroArtem
e73c60740c
corrected text in vcmibuilder, corrected errors and warnings from cppcheck
2014-11-16 20:48:29 +03:00
AlexVinS
a06dae1f96
Move getAffectedCreatures to CSpell. + more drafts
2014-11-13 04:53:25 +03:00
AlexVinS
d7800b834e
get rid of CBattleInfoCallback::calculateSpellDmg
2014-11-12 09:52:11 +03:00
AlexVinS
e4b726151d
get rid of CBattleInfoCallback::battleStackIsImmune
2014-11-12 09:20:20 +03:00
AlexVinS
ddf98a5920
+SpecialRisingSpellMechanics::isImmuneByStack
2014-11-12 08:34:43 +03:00
Patrick Simmons
41da0ad2e6
multiplayerload changes (committing so I can revert...)
2014-10-25 19:05:49 -04:00
Patrick Simmons
3685e96042
Revert "multiplayer load changes"
...
This reverts commit 368d2c8836cc6e3b5af9cf71e892bf4515f26bda.
2014-10-25 19:05:49 -04:00
Patrick Simmons
99a63c4bbd
multiplayer load changes
2014-10-25 19:05:49 -04:00
Patrick Simmons
cfa6f46d62
VERY buggy, unusable, but progress is being made...
2014-10-25 19:05:49 -04:00
Mikhail Paulyshka
b8f5a57c64
Include ZLib headers for launcher and server
2014-10-12 16:33:38 +03:00
AlexVinS
66b022f93e
initializer lists part1
2014-10-02 19:43:46 +04:00
Ivan Savenko
aa0433228a
Fixed cheats - sendMesssage will also pass current object.
...
Workaround-ish but should work. Branch should be fixed now.
2014-09-21 20:35:53 +03:00
Ivan Savenko
6c0c03d74b
Refactoing of pathfinder <-> client/AI interaction to remove dependency on selected hero
...
- finished removal of server-side setSelection
- disabled some broken code (AI & cheats). TODO: fix
2014-09-21 16:42:08 +03:00
Ivan Savenko
78709e223b
Breaking things - trying to remove server-side knowledge of selected objects
2014-09-19 00:18:49 +03:00
DjWarmonger
36a7cff998
Cleaning error messages at access to players.
2014-09-17 11:03:53 +02:00
DjWarmonger
d9273b3b2a
Cleaning logs.
2014-09-10 19:09:48 +02:00
Ivan Savenko
b551bdb725
Final part of the merge
...
Merging VCMI Dirs refactoring + GUI refactoring with current develop
2014-09-04 20:59:07 +03:00
josch
2e6e026645
let vcmiserver handle commandline options first
...
The vcmiserver application will first try to initialize various things
before parsing the commandline arguments. This leads to the program only
outputting an initialization error when it cannot initialize instead of
parsing arguments like --help. This patch moves the argument parsing to
earlier in program execution to avoid this behaviour.
2014-09-02 18:42:38 +02:00
DjWarmonger
0edaf4fa8a
Merge pull request #26 from vcmi/FFMpeg
...
Let's do this, way too many branches running now.
2014-09-01 10:35:30 +02:00
DjWarmonger
8b10f70afd
Migrating to MSVS 2013, which allows to delete inttypes.h file.
2014-08-31 19:08:39 +02:00
Karol
1b6f2ea3b7
VCMIDirs update #5 fix
...
- Updated old OS detect macros.
- Fixed 1 misspell.
2014-08-26 12:19:04 +02:00
Karol
a302f6c7ad
VCMIDirs update #3
...
bfs = boost::filesystem;
- Updateting filenames (std::string -> bfs::path) #1
- Added platform detection, and some specyfic boost::filesystem includes
to Global.h
- Updated CBasicLogConfigurator. Now class uses bfs::path pathes.
2014-08-10 23:42:39 +02:00
beegee1
5139378319
- migrated boost::function/ref/bind to std:: variants
2014-08-04 20:33:59 +02:00
Michael Pavlyshko
bad7050096
spaces -> tabulation
2014-07-11 11:01:03 +03:00
Michael Pavlyshko
08ee65c3c8
fix .dll and .exe filenames
2014-07-10 01:06:37 +03:00
Michael Pavlyshko
c935193558
disable WIN32 flag for executables, fix previous commit
2014-07-10 00:47:22 +03:00
AlexVinS
195eae48ca
Merge branch 'develop' into SDL2
...
Conflicts:
client/CPlayerInterface.cpp
2014-07-02 17:15:12 +04:00
DjWarmonger
bf567c9e50
Fixed crash caused by hiding tiles around AI heroes.
2014-07-01 09:13:19 +02:00
Ivan Savenko
1157111fcf
More bugfixing:
...
- Fixed compile in VCAI (precompiled headers should not include VCMI headers)
- Fixed crash on visiting observatories, including shroud of darkness
2014-06-29 17:23:06 +03:00
Ivan Savenko
32240da34e
Reduced number of #include's in headers. May break compilation on Win
...
since some net packs now need DLL_LINKAGE
2014-06-25 17:11:07 +03:00
Ivan Savenko
6e3eaeee21
Minor fix to schema, server will print visited objects in debug log
2014-06-25 00:23:56 +03:00
Ivan Savenko
a0689fa377
Refactoring of hoverText from objects:
...
- removed hoverText field
- split getHoverText() method into 3:
- - getObjectName() for generic name
- - getHoverText(Player) for player-specific text
- - getHoverText(Hero) for hero-specific strings
2014-06-24 20:39:47 +03:00
Ivan Savenko
ad632d1e8a
Moved FoW management from CGObjectInstance to callback
2014-06-24 20:39:47 +03:00
AlexVinS
3b8d0e44d4
Merge branch 'develop' into SDL2
2014-06-24 14:09:44 +04:00
DjWarmonger
3ac306f501
Merge pull request #19 from vcmi/feature/mapObjects
...
Feature/map objects
2014-06-22 14:49:42 +02:00
Ivan Savenko
0a71e89f58
Created large number of missing objects in configs
...
Minor bugfixes in code
2014-06-17 14:57:47 +03:00
Haryaalcar
fee9f0c1a0
"0001766: Disassembling artifacts in hero and hero meeting screen doesn't work." fix
2014-06-14 16:52:30 +03:00
AlexVinS
0bf7d2b84c
fix server project configure
2014-06-13 07:55:49 +04:00
AlexVinS
56c74bc46a
+More build target to support both SDL1 and SDL2 builds
2014-06-13 07:55:48 +04:00
AlexVinS
bbd0312b45
Tweak configuration
2014-06-13 07:55:47 +04:00
Ivan Savenko
44742814cd
More cleanup:
...
- moved SoundBase.h to lib since it contains shared data
- added RMG info to object format. Note that data is not yet imported in
configs
- slightly updated API of object handlers
2014-06-05 23:51:24 +03:00
Ivan Savenko
b2e8c92383
Cleanup:
...
- removed commented-out #includ'es
- renamed some files to match name of class
2014-06-05 20:26:50 +03:00
Ivan Savenko
652ceb2bde
Finally shattered CObjectHandler.cpp into tiny bits
...
- This file is now split into multiple smaller files in mapObjects
directory
- CObjectHandler itself now contains only core classes (Handler itself,
CGObject and interfaces)
- Cleaned up excessive #include's through whole project
2014-06-05 19:52:14 +03:00
Ivan Savenko
0afdfa529c
Moved all object-related files to lib/mapObjects directory.
...
Renamed some classes to more readable names
2014-06-05 14:19:47 +03:00
Ivan Savenko
32b6568b65
Merged changes from upstream and fixed compilation caused by API changes
2014-06-03 22:45:18 +03:00
karol57
c676c5da82
Fixed small error in nearest town finding algorithm.
2014-05-25 21:53:25 +02:00
karol57
dd33fd51a8
int3 dist2d microoptimization
2014-05-25 20:42:25 +02:00
Ivan Savenko
7f276185bd
Moving files:
...
- new config for objects (config/objects/generic.json)
- renamed lib/CDefObjectHandler to lib/CObjectClassesHandler
2014-05-24 02:07:54 +03:00
AlexVinS
6f65d2484b
Extract battleStackIsImmune from battleIsImmune
...
This fix possible problems with rising spells as now immunty is handled on stack level not on hex level
* battleIsImmune in now protected - only used in canCastThisSpellHere
2014-05-19 13:44:38 +04:00
AlexVinS
ababd0d995
there can`t be resistance to rising spell (immunities are handled seperately)
2014-05-18 17:03:02 +04:00
AlexVinS
afd74ff649
Remove more hardcoded immunity handling.
...
* ANIMATE_DEAD already limited to UNDED
* make DEATH_STARE immunties absolute
2014-05-18 17:03:02 +04:00
AlexVinS
b6b12ad8f6
Merge and simplify resistance calculation
2014-05-18 17:03:01 +04:00
AlexVinS
1431fcedf7
handleSpellCasting: Handle immunity before RESISTANCE. Now immune creatures shouldnt show resisted animation
2014-05-18 17:03:00 +04:00
AlexVinS
d9368ca5ba
Use new battleGetStacksIf method
2014-05-18 17:02:59 +04:00
DjWarmonger
00c31b4b85
Fixed #1790
2014-05-17 21:30:55 +02:00
Ilya Zhuravlev
db7cd79cf7
Android port.
...
Conflicts:
lib/vcmi_endian.h
2014-05-16 23:24:29 +04:00
DjWarmonger
fb5152254d
Merge branch 'develop' of git://github.com/Macron1Robot/vcmi into WarmysBackup
...
Conflicts:
client/CKingdomInterface.cpp
2014-05-02 12:03:02 +02:00
DjWarmonger
4a71442c80
Missing changes.
2014-04-27 14:38:20 +02:00
Macron1Robot
31f2af6243
Removed commented part for daily income
2014-04-27 13:44:56 +04:00
Macron1Robot
8ec7a9b919
Moved "max heroes on map per player", "max heroes available for player" to "defaultMods.json"
2014-04-27 10:43:46 +04:00
Macron1Robot
907caedb13
Added "produce" section in "building" structure. Changed dailyIncome.
2014-04-26 18:23:35 +04:00
Macron1Robot
b7b890acff
Added "tavernVideo","guildBackground" to "faction" JSON config and schema. If "primaryResource" is set to "gold", silo will generate 500 gold per day
2014-04-24 23:36:18 +04:00
DjWarmonger
9e7013de77
Backup for my own MVS project configuration
2014-04-24 21:07:43 +02:00
beegee1
1d57b75bc5
- random number generation refactoring
...
- fixed mantis #1743
2014-04-10 19:22:32 +02:00
DjWarmonger
a64df5718f
Some nontrivial optimizations based on profiling results:
...
- Movement bonuses will be calculated ONCE per pathfinder loop
- Goals will be sorted by hero to reduce number of calculatePaths calls
2014-03-31 14:26:09 +00:00
Ivan Savenko
9c0df68cb8
Fixing spelling mistakes. Patch from josch, fixes #1759
2014-03-23 12:59:03 +00:00
Ivan Savenko
760ae7d44a
Changes related to Debian packaging, based on josch patch
...
- AUTHORS file is now in UTF-8
- tags for desktop files
- fixed some typos
- better reaction on --help and --version commands
- vcmibuilder should work with both avconf and ffmpeg
2014-03-20 18:17:40 +00:00
beegee1
fe1b16a7ec
Some preparation towards mantis #1743 :
...
- refactored CRandomGenerator (added util methods, improved method names)
- usages of std::minstd_ran are replaced by CRandomGenerator (not in entire code base, C rand() usages are still not replaced)
- refactored getArtSync method of CArtHandler -> now named pickRandomArtifact
- fixed some compiler warnings
- updated source code URL in VCMI spec
2014-03-17 19:51:07 +00:00
alexvins
9cac0af7be
[Spells] More spell related refactoring
...
+ smart target modifier
- CREATURE_EXPERT_MASSIVE target type
* save format changed
spell format changes already documented in http://wiki.vcmi.eu/index.php?title=Spell_Format
2014-03-17 13:11:10 +00:00
alexvins
065b8366fb
[Spells] Added basic support for icons and sounds
...
* few changes in spell format
* save format changed
2014-03-10 16:00:58 +00:00
Ivan Savenko
d2ae847ecf
- files in local directories (saves & configs) now always have higher
...
priority than mods. Fixes #1685 and #1733
- fixed possible crash on exit in dispose() function
- (vcmibuilder) fixes problem with partial mp3 -> ogg conversion
2014-03-08 16:05:23 +00:00
alexvins
4203d69525
Part 2 of new spell configuration
...
1) spell handler refactored to support modding in general way
2) imunnity icons moved to WoG as they depends on wog`s graphics
3) introduced new class template for handlers (todo: use this in other handlers)
4) save format changed
5) introduced "absolute immunity" - unaffected by "the Orb" etc. (todo: use it in config)
6) new format documented on wiki, added json schema.
* more split of registertypes - fixes 32 mingw build
2014-03-07 13:21:09 +00:00
stopiccot
7356145c3a
updated LD_RUNPATH_SEARCH_PATHS
2014-03-04 03:51:17 +00:00
Ivan Savenko
8d36bcabce
Split registerTypes into multiple files, now in lib/registerTypes
...
directory in order to reduce huge memory usage by gcc
2014-02-24 19:57:33 +00:00
beegee1
674c8bc591
- Fix to previous commit (keep heroes which are in heroes pool too)
2014-02-23 16:21:30 +00:00
beegee1
d0a5a6eab4
- Implemented hero recreate handling correctly
2014-02-23 13:52:06 +00:00
Michał W. Urbańczyk
1e555a8ee3
Improved serializer. See: http://forum.vcmi.eu/viewtopic.php?p=11562#11562
...
Save format changed, removed compatibility workarounds.
2014-02-19 01:04:27 +00:00
alexvins
d01b84b460
[mechanics] fix copy-paste errors in magic skill arrays
...
[c::b] few tweaks to configuration
2014-02-15 09:40:33 +00:00
Ivan Savenko
8d178fbcf5
Minor fixes:
...
- fog of war will be initialized after bonuses are set (needed if heroes
have scouting or arts with sight bonus)
- victory condition "control all dwellings" also requires golem factory/
- it is possible to dismiss troops during exchange between heroes
2014-02-09 19:47:23 +00:00
DjWarmonger
a9b10c8099
- Changed aggregation method so now fuzzy engine takes all the factors into consideration
...
- Heroes now will use real path cost and their movement, which has numerous advantages:
* Actual movement cost is taken into consideration
* Groups of heroes will keep order
* Fastest heroes will be used for exploration first
2014-02-07 08:23:31 +00:00
beegee1
95034b9fa0
- Updated PCH to use our StdInc.h as the prefix header (not generated one from cotire) -> no exclude headers from ffmpeg/etc... statements required
...
- Fixed compilation error (VCAI ResourceSet logging)
2014-02-05 20:25:36 +00:00
Michał W. Urbańczyk
55165a8535
Fixed #1686 . Compatibility measures to be removed later, when format changes become to big.
2014-02-02 14:31:56 +00:00
Michał W. Urbańczyk
e5312887d1
Fixed possible crash at the game start (when victory conditions are checked before currentPlayer is set).
2014-02-01 16:08:01 +00:00
beegee1
df0a28d9cb
- added PCH compilation for CMake using cotire module (PCH is OFF per default, can be enabled with ENABLE_PCH=ON)
2014-02-01 13:37:26 +00:00
Michał W. Urbańczyk
679c3c5830
Split conditions fixed (it should be impossible to take units from ally).
2014-01-30 14:04:09 +00:00
Ivan Savenko
3779a54ddd
- probably fixed 1671
...
- fixed missing loss condition in Birth of Barbarian
- fixed some bugs found by cppcheck
2014-01-30 11:08:37 +00:00
alexvins
16d6292be9
[refactor] extract often used classes from lib\NetPacks.h to separate header - less dependecies on whole packets class tree
...
[mingw build] fix linking issues with netpacks.
Mingw build is finally fixed!
[c::b] update projects
[config] fix and cleanup spell_info.json
2014-01-16 20:24:06 +00:00
Ivan Savenko
c5b74a2dce
Miscellaneous fixes:
...
- proper block of "back" button in campaign menu.
- proper block of AI switch in battles
- vertical garrisons can now be attacked from top
- better UI logging, vcmi will print to log file all pressed buttons
- server will not try to build already existing building
2014-01-13 17:44:21 +00:00
Ivan Savenko
fb5c9fc972
- creatures availability tests no longer check for built buildings.
...
Fixes #1650
- do not crash if town has 0 creatures on some dwelling level
- do not crash if dwelling for some level is not present in town at all
2014-01-11 18:12:09 +00:00
alexvins
a740f7989c
[c::b] update projects, disable PHC for now, +few fixes (still wip)
2014-01-05 17:48:50 +00:00
Ivan Savenko
2c4c964a45
Large rewrite of adventure map objects:
...
- replaced CDefObjInfo with ObjectTemplate class
- ObjectTempate is a direct member of objects instead of pointer with
shared ownership across CMap, handler and game objects
- simplified handling of objects that can change appearance (e.g. towns)
- all object queries regarding object appearance/blockmaps use h3m pos
instead of relative positions
- removed need of modhandler::reload
- cleanup of some old code
2014-01-02 23:48:38 +00:00
Ivan Savenko
2b9e074d54
- implements level limit (Mantis #1620 )
...
- added workaround to weird bug where vcmi fails to find objects for
win/loss conditions
2014-01-01 16:12:53 +00:00
Ivan Savenko
0c5be52a42
Win/loss conditions based on logical expressions, yet another large
...
changeset:
- victory/defeat will be detected using triggered events
- vcmi will convert h3 conditions into set of triggered events
- it is possible to either change number of days without towns or even
remove this loss condition completely
- possibility of custom win/loss text and icons in pregame (no longer
connected to win/loss conditions)
Still missing:
- No interface to pass custom events/victory conditions into the game
- AI would benefit from improvemets (handle all victory conditions,
select best one to fulfill)
- You have X days till defeat message still hardcoded to 7 days
2013-12-29 11:27:38 +00:00
Ivan Savenko
f6c1dace6c
Minors:
...
- By default, cmake will keep debug info
- removed warnings from adventure map infobox (part of #1636 )
- adventure map infobox will refresh on artifact changes (part of #1636 )
- moved terrain music files to terrains.json file
- player should act before AI in all games, not only campaigns
2013-12-28 18:57:08 +00:00
beegee1
b8eddcd9a8
- Moved place bonus hero before normal random hero and starting hero placement -> same behaviour as in OH3
...
- Moved placing campaign heroes before random object generation -> same behaviour as in OH3
- Refactored pickHero into pickNextHeroType (hero generation sequence) and pickUnusedHeroTypeRandomly
- Added a SIGSEV violation handler to vcmiserver executable for logging stacktrace (for convenience only)
- Fixed Fuzzy.cpp and VCAI.h compilation on Clang
- Added a handleException function in addition to our macros (no use of macros, enables debugging support, does not re-throw, catches ...-case too)
2013-12-28 12:47:55 +00:00
beegee1
68bdf71db6
- Fixed GCC compiler warnings
...
- Implemented move heroes to next scenario partially
2013-12-20 13:07:58 +00:00
DjWarmonger
f8028f512d
Fixed #1585 - destroyed war machines will be removed from hero's equipment.
2013-12-19 14:35:49 +00:00
beegee1
f0cbbbdb70
- Refactored method CGameState::init
2013-12-18 18:18:12 +00:00
beegee1
61fc216a6f
- Fixed mantis #1421
...
- Fixed initial map selection in campaign bonus screen
2013-12-17 17:14:55 +00:00
beegee1
69eee05ccc
- Partially fixed mantis #1065 (Gate with hex 95 can't be attacked)
...
- Fixed 'catapult tried to attack non-catapultable hex!' problem, now catapult attacks attackable wall parts only
- Fixed problem that the server performed applying damage on a wall part twice
- Added methods for checking what wall parts are attackable and if a wall part is potentially attackable
- Added functionality to trace net packages
- Added functionality to trace std::vectors
- Added tracing for CatapultAttack(CPack)
- Updated various toString methods to use {} instead of []
- Refactoring
2013-12-08 17:54:13 +00:00
beegee1
2d095cf20a
- Fixed days without castle counter
...
- Fixed 'you have only 0 days...' message
- Checks victory/loss conditions every player turn instead of every day
- Fixed mantis #1463
2013-12-06 19:44:11 +00:00
Ivan Savenko
122db9963b
More string ID's for buildings:
...
- town hall slots now use string ID's
- converted building requirements to new format
- "upgrades" property from buildings now uses string ID's
- several fixes for improved support of alternative creatures
- removed no longer needed "id" property from structures
Old mods should still work but will produce error messages during
validation
2013-12-04 10:36:39 +00:00
Ivan Savenko
3d3f93275d
Multiple minor fixes:
...
- fixed starting armies of some heroes, including Bron #1602
- (debian) added vcmi-dbg package with debug information
- proper randomization of hero secondary skills, fixes #1603
- second capitol will show up as disabled immediately #1604
- proper deserialization of boost::variant
- empty file will no longer crash JsonNode parser
- fixed some compiler warnings
2013-12-03 09:03:37 +00:00
Ivan Savenko
ee1b0459e6
Extended building dependencies:
...
- buiding/structure lists must use object format. This may break some
outdated mods.
- generic support for logical expressions that consist from and/or/not
operators.
- string ID's for buidings are now actually used.
2013-12-02 11:58:02 +00:00
beegee1
41e274b4aa
- Moved FunctionList from /client to /lib -> used in client and server
...
- Updated project files
2013-11-30 10:08:38 +00:00
beegee1
c786a3076a
- Refactored victory loss condition checks
...
- Added toString() method to EVictoryLossCheckResult enum class to improve debugging
- Removed mostly unused CFunctionList2
- Added missing header files for vcmiclient project to CMakeLists
- Tweaked SDL suggests bpp message a bit
- Added showInfoDialogAndWait (info dialog and waits, used from client thread) and showOkDialog (callback to ok click, used from GUI thread) to player interface
- Added showOkDialog method to CInfoWindow (unused for now, but may be used later)
2013-11-30 09:43:31 +00:00
beegee1
3e4407593f
- Refactoring for checking victory/loss conditions (use enum class instead of magic numbers)
...
- Improved showing player lost message for one special case
2013-11-17 17:57:04 +00:00
Ivan Savenko
3560bbb7f3
two patches/pull requests from janisozaur
...
- replace our custom bmap with std::map::at()
- compile fixes for editor
2013-11-12 10:45:42 +00:00
Ivan Savenko
ee6cdbeffe
went through the rest of cppcheck warnings, mostly harmless
2013-11-07 12:48:41 +00:00
Ivan Savenko
71d6b0fea9
- Fixed some warnings from cppcheck
...
- Minor improvements to JSON validation
- Cleanup in SDL_Extensions.cpp
- Implemented new propery for creature format: idle animation duration
- Disabled idle animation of some of conflux creatures (was clearly
broken)
2013-11-06 13:42:58 +00:00
Ivan Savenko
0e3eae3095
patch from KroArtem
2013-11-03 12:51:25 +00:00
Ivan Savenko
c4716d0a9a
- reordered files in cmake so files with long compile times will be
...
compiled first.
- changed format of modSettings.json, VCMI should properly update file
on the first run.
- implemented property "defaultTavern" that acts as default value for
"tavern" entry in hero class and town formats.
2013-11-03 12:07:23 +00:00
Ivan Savenko
f838cceddd
- fixes Inferno Castle Gate
2013-10-17 13:54:12 +00:00
Michał W. Urbańczyk
5c6d12400f
Fixed AI detection of battle end (solves some freezes).
2013-09-29 20:54:29 +00:00
Michał W. Urbańczyk
0abbe71b25
Merged fixes from the branch.
2013-09-28 00:58:33 +00:00
Michał W. Urbańczyk
c6c53a5b1e
Few more freeze-related fixes.
2013-09-28 00:30:12 +00:00
Michał W. Urbańczyk
d1807585ad
Fixed at least two #1428 freezes, likely more.
...
They were occurring when AI hero visited bank that was also guarded by neutral creature nearby,
2013-09-27 23:46:58 +00:00
Michał W. Urbańczyk
4f29b526ca
The battle callback method battleGetAllStacks will by default omit the arrow turrets. Fixes #1453 , #1455 and related.
2013-09-27 19:42:17 +00:00
DjWarmonger
d06b02638b
Partially implemented #481
2013-09-17 12:02:33 +00:00
DjWarmonger
39f9069ed9
Implemented deterministic secondary skills, #1166 .
2013-09-09 15:23:59 +00:00
DjWarmonger
99352a7220
Fixed crashes when clone dies #1357 , #1441 .
2013-09-08 17:43:10 +00:00
Michał W. Urbańczyk
385f4ab7f5
#1153 and #1395 should be fixed. Terrible, terrible, terrible.
...
Fixed crash in battles, when attempted to access <0 screen coordinates.
2013-09-01 22:55:57 +00:00
Ivan Savenko
5654fef901
- ZipArchive namespace for operations with zip archives, located in CZipLoader.h/cpp.
...
- new fields in mod format, for use with mod manager (check config/shemas/mod.json for details)
- removed some 0.92 compatibility from mods loading
- several compile fixes
2013-08-19 11:50:53 +00:00
Michał W. Urbańczyk
38c1542d9d
Fixed crash on battle end — don't attempt giving exp to loser (hero is removed -> can't get exp -> crash).
2013-08-18 17:49:31 +00:00
Ivan Savenko
c81a31c74a
- catapult attacks should be identical to H3
...
- catapult may miss and attack another part of wall instead (this is how it works in H3)
- minor fixes
2013-08-06 11:20:28 +00:00
DjWarmonger
6057226665
Fixed in r1364. It's all about logic!
2013-08-04 06:16:17 +00:00
Michał W. Urbańczyk
eb90f93231
Dereference optional in logs.
2013-08-01 16:26:29 +00:00
Ivan Savenko
b87897096c
Filesystem handling is now more flexible
...
- removed CResourceLoader class in favor of one that implements resource loader interface
- removed global pool of files, in favour of more dynamic approach
- renamed some files to match current situation
All these changes are needed mostly for future mod manager + .zip support
2013-07-28 14:49:50 +00:00
DjWarmonger
abaa5b1c59
Fixed #1352 . Implemented correct death stare algorithm.
2013-07-28 08:48:29 +00:00
DjWarmonger
5f310aa20f
Fixed all issues with Resurrection: #123 , #1358
2013-07-27 19:01:31 +00:00
Michał W. Urbańczyk
d8a27d8f3c
Refactored player-specific data into single struct BattleState.
2013-07-21 22:01:29 +00:00
Ivan Savenko
491bd557ef
fixed several bugs reported on forum:
...
- necromancy issues
- fix for lookout tower
- Sir Mullich is unavailable
- first hero is awakened on next turn
- give 500 XP on defeating hero
2013-07-21 18:27:33 +00:00
Michał W. Urbańczyk
1e11904d8a
Fixed Remove Obstacle. TODO: limit its working on spell-created obstacles depending on spell school level.
2013-07-21 10:25:12 +00:00
Michał W. Urbańczyk
e9d51a2670
Fixed issue that allowed to build multiple boats in town. Renamed state() to sth more sensible.
2013-07-21 10:08:32 +00:00
DjWarmonger
9277c695a5
Fixed #1361 .
2013-07-20 08:54:43 +00:00
Ivan Savenko
4ac2a6e8b6
minor refactoring of VCMIDirs, bugfixing
...
- VCMIDirs represent XDG specification more closely (partial #1310 )
- Minor bugfixing, including #1327 #1328 and #1306
2013-07-08 20:55:22 +00:00
Ivan Savenko
146a5e5ef8
Made speed of most of battle animations time-based
...
- speed of creature-related animation no longer depends on framerate
- most of values from cranim.txt are now used correctly
- removed BMPPalette struct in favor of SDL_Color
- animation group "DEAD" that is used to display dead stacks, by default consists from last frame of "DEATH" group
Notes:
- animation speed may still need some adjustments
- range of config property "battle/animationSpeed" has been changed. This may result in extremely fast animation. To fix - change animation speed via options.
2013-07-06 16:10:20 +00:00
Michał W. Urbańczyk
1e8c58ecdf
Patch from O01eg fixing #1308 http://forum.vcmi.eu/viewtopic.php?t=721
...
Helper functions for enabling/disabling smart vector memeber serialziation. [doesn't really save writing but adds consistency]
2013-07-02 16:48:01 +00:00
Michał W. Urbańczyk
a1f545792b
Compile fixes specific for VS 2012"
...
* Reverted std::bind to boost::bind. std::bind on Visual 2012 doesn't work in some cases (especially with std::ref), not sure why [but it seems to be a bug, since 2013 preview compiles the same code fine].
* Move assignment operator for VS 2012.
2013-07-02 15:23:32 +00:00
Michał W. Urbańczyk
4576719abe
Visual Studio 2013 Preview compile fixes:
...
* 0 is not convertible to std::function, nullptr should be used
* std::ref(rand) is not convertible to function<int()>, used lambdas (why we dont just pass "rand" ? )
* CFunctionList needs to be constructible from nullptr
* move constructor for CMapInfo (Visual cannot generate them :( )
* #ifdefed some stuff that is not needed anymore since cmath is updated with C99 stuff
* using std::make_unique instead of our vstd implementation
CSelector:
* introduced a class in place of typedef
* Having an overloaded && || operators over sth that is convertible to bool… Wasn't a good idea after all. Purged the operators, replaced with And/Or methods (chaining-style).
* constructor that is present only when constructing from class or function (SFINAE). std::function has an implicit converting constructor from T causing ambiguities (even if the overload would cause compile error in the body)
2013-07-02 12:08:30 +00:00
Ivan Savenko
f82122d9be
second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported
...
- BOOST_FOREACH -> for
- replaced several boost classes with std (e.g. unordered)
- removed gcc-4.5 workarounds
- ran clang c++11 migration tool to detect some cases:
- - pointer initialized with "0" to nullptr
- - replace for with iterators with range-based for
- - use auto in some situations (type name specified twice, avoid long iterators type names)
2013-06-29 13:05:48 +00:00
Ivan Savenko
2b45e13c5c
c++03 -> c++11 switch:
...
- use std versions of function, bind and ref
- OVERRIDE -> override
- NULL -> nullptr
- use std versions of random distributions
NOTE: this may be last revision that supports gcc-4.5
2013-06-26 11:18:27 +00:00
Michał W. Urbańczyk
254f194220
Some very early work towards autofight feature.
...
Added EmptyAI to the solution.
Passing callbacks by shared_ptr.
2013-06-22 14:47:20 +00:00
Michał W. Urbańczyk
06dbdd234f
Further changes for duel mode. It is possible to pass names of AIs to be used by command line. Moved things in battle AI.
2013-06-21 20:59:32 +00:00
Ivan Savenko
6737c270c9
gcc 4.5 compatibility fixes. Mostly due to lack of fully finctional nullptr class
2013-06-19 21:26:27 +00:00
Michał W. Urbańczyk
6a88604937
* fixed crash related to cammander's SPELL_AFTER_ATTACK spell id not initialized properly (text id was resolved on copy of bonus)
...
* fixed duels, added no-GUI mode for automatic AI testing
* minor things
2013-06-17 15:45:55 +00:00
Michał W. Urbańczyk
f19e41d38c
Fixed #1269 .
...
Version set to 0.93.
2013-05-31 22:23:53 +00:00
Ivan Savenko
4724ccbb45
- fixes #1276
...
- minor fix to json arrays merging
- fixed update of growth icons on town screen
2013-05-30 18:43:45 +00:00
DjWarmonger
22e14d31cb
Fixed #1275
2013-05-30 07:43:42 +00:00
Michał W. Urbańczyk
9f5d1ba623
Fixed #1271 .
2013-05-27 21:46:04 +00:00
Ivan Savenko
b01637840a
- compile fixes
...
- fixed building in towns after loading (partial #1272 )
2013-05-27 14:20:46 +00:00
Michał W. Urbańczyk
79026bdfde
Introduced strongly typed QueryID.
...
Exchange between heroes is now a proper first-class query. Fixes #1269 . #66 should also be finally fully fixed.
VC projects: /Zm flag to fix compilation issues with recent Boost.
2013-05-27 10:53:28 +00:00
DjWarmonger
5436950119
Fixed abilities of Efreet.
2013-05-25 07:21:02 +00:00
DjWarmonger
c9e95f76df
- Fixed Phoenix fire immunity. Again.
...
- Cheat code with grant all artifacts, including the ones added by mods
- Some clean-up of Berserk effect, however it doesn't work at the moment.
2013-05-25 07:06:00 +00:00
Michał W. Urbańczyk
1c7aad6a50
Improved handling buildings with mode "auto":
...
* they will properly processed (new creatures will be added if dwelling, spells learned if mage guild, and so)
* transitive dependencies are handled (A makes B build, and B makes C and D)
2013-05-22 15:16:36 +00:00
beegee1
5328beb8e7
- Fixed some bugs when starting a RMG map - Checks if there is a template for the chosen options(rejects if not) - Added a few templates for development(2 to 4 players, medium maps are supported) - Refactoring
2013-05-21 19:08:06 +00:00
Michał W. Urbańczyk
be7c2bd07f
CGHeroInstance* can be serialized over network even when hero has been defeated. Strongly typed hero type ID introduced.
...
Should fix #1260 .
2013-05-18 22:30:48 +00:00
Michał W. Urbańczyk
f95e6c233b
It is possible to set on visit query that object is to be removed after visit is over.
...
Fixes #1263 .
2013-05-14 13:42:52 +00:00
Ivan Savenko
8be801a6dc
- CMappedFileLoader class to remap WoG files to h3 names
...
- WoG should be optional, all remapped files are listed in WoG/config/wogFileOverrides.json
- fixed several cases of incorrect positioning of creatures in battles
- some missing sounds for battle effects
- negative luck support, disabled by default
- a bit hackish detection of WoG presence, VCMI should work on SoD-only installs
2013-05-04 13:14:23 +00:00
DjWarmonger
32c87f532f
- Added missing abilities for devil & ghost dragon
...
- Stack affected by Berserk should not try to attack itself
Neither of these can be actually seen in game duo to more general engine bugs :/
2013-04-27 06:39:59 +00:00
DjWarmonger
57ea1ed1b8
Fixed crash at month of double population.
...
doublingCreatures vector was never properly initialized.
2013-04-23 17:29:16 +00:00
DjWarmonger
0dc5a13596
Fixed missing spell effects, root cause of #1257 .
2013-04-23 09:54:57 +00:00
beegee1
8d82c49a99
- Compile fix - Renamed map operations
2013-04-22 15:08:04 +00:00
Ivan Savenko
d88caec82c
- fixes to previous commits
2013-04-21 17:06:24 +00:00
Ivan Savenko
4db13ba845
- proper destructors for handlers and lib objects
2013-04-21 16:38:31 +00:00
Ivan Savenko
c6cc6e6301
Large changeset, first part of editing H3 objects via mods feature. Changes:
...
- loading of all objects (including H3 objects) will be directed by mod handlers
- common base for all handlers accessible from mod system (IHanderBase)
- json format changes: use struct with string ID's instead of vector
- fixed some gcc/clang errors and warnings
- fixed several cases of memory leaks and invalid memory access (mostly related to usage of bonus system and/or identifiers resolution)
Note that right now loading is much slower than before due to excessive json validation (or not fast enough validator)
2013-04-21 12:49:26 +00:00
Michał W. Urbańczyk
d1d67caa0b
Get rid of some old serialization workaround code that is not needed because serializer was improved in the meantime.
...
Fixing #1254 .
Fixed possible race causing corruption of the server savegame.
2013-04-20 18:44:55 +00:00
DjWarmonger
87988b0ae7
Compile fixes for MVS2010
2013-04-20 16:01:58 +00:00
alexvins
48e51b8d44
[c::b] update projects
2013-04-20 13:59:09 +00:00
Michał W. Urbańczyk
e8354908c3
Big change: Introduced new mechanism to handle queries. It should not cause any visible changes ATM apart from fixing several long-standing bugs realted to handling post-visit/battle/levelup callback, including infamous creature bank issues: #955 , #1053 , #1063 , #1191 . Needs testing.
...
Minor changes:
* default log level set to trace
* LOG_TRACE raii guardian lifetime will last till the end of block
* compile fixes
* minor refactorings
2013-04-20 11:34:01 +00:00
beegee1
03c2aa9153
- Refactored CMapEditManager(added structure for undo functionality) - Refactored CMap(terrain pointer is private, safe access via getTile)
2013-04-19 11:43:11 +00:00
beegee1
c10266ed97
- Reduced complexity to use the CMapGenerator(simpler interface) - Removed h3m.txt and tchar_amigaos4.h
2013-04-14 18:52:05 +00:00
beegee1
f10ba48c77
- Fully integrated new logging API(ERM, Editor, missing parts) - Removed old logger
2013-04-11 15:58:01 +00:00
beegee1
6827fcdb53
- Integrated the logging API into the server project - Simplified CBasicLogConfigurator usage(exception handling, logging, log file appending)
2013-04-10 17:18:01 +00:00
beegee1
ee51c5beb5
- Renamed /lib subfolders to lowercase
2013-04-07 10:48:07 +00:00
DjWarmonger
c8bb363a45
Fixed Death Stare of Commanders, additional tweaks.
2013-03-30 20:09:50 +00:00
Ivan Savenko
c4c592b773
- bugfixing: #1243 , #1227 , #1241 , #1236 , #1233
2013-03-14 20:44:00 +00:00
mateuszb
dbec99ffc7
* PlayerColor and TeamID refactoring
2013-03-03 17:06:03 +00:00
Ivan Savenko
b5fcefe455
- moved all system-specific handling of filesystem to VCMIDirs.cpp (new file)
...
- fixed #1128 , artifact constituents are now stored as pointers
2013-03-02 18:41:25 +00:00
Michał W. Urbańczyk
a9fd7b806c
Fixed crash on the new month when there are no creatures that can get double growth. ( #1219 , possibly #1217 )
...
The list of double growth creatures will be serialized.
Bumped format.
MSVC: silenced that stupid C4275 warning. (senseless when using STL)
2013-02-27 03:11:45 +00:00
Ivan Savenko
74ac44662c
- a bit less memory usage during compilation with gcc, new file - RegisterTypes.cpp
...
- fixed several issues related to visiting town by ally
- fixed #1215
2013-02-23 12:22:23 +00:00
DjWarmonger
a63b30e516
Fixed crash at double attack, including #1202 .
2013-02-19 14:33:30 +00:00
DjWarmonger
bbdac2f068
Fixed Enchanter ability.
2013-02-19 10:31:13 +00:00
Michał W. Urbańczyk
d45a554fec
Significant changes to saving system. Now both client and server store their lib part.
...
Desync detection upon loading. Fixed many desyncs. (more remain)
Monsters won't have creature count 0 even if that is set as creature properties.
2013-02-18 22:37:22 +00:00
DjWarmonger
2e385375b7
Fixed #831
2013-02-18 07:12:19 +00:00
DjWarmonger
111312636a
Fixed #1207 . Some tweaks.
2013-02-17 18:53:01 +00:00
mateuszb
560315bc48
* SlotID refactoring
2013-02-16 14:03:47 +00:00
Michał W. Urbańczyk
d23a5dcfdf
Fixed #1208 .
2013-02-14 15:19:35 +00:00
mateuszb
9e00090c42
* refactoring, a few intriguing problems remain
2013-02-13 23:55:42 +00:00
alexvins
ceea466f54
[refactor] spell handling
...
* more config options for spells
+ mind immunity handled by config
+ direct damage immunity handled by config
+ immunity icon configurable
- removed mind_spell flag
* more use of new spell identifacation
2013-02-13 19:35:43 +00:00
mateuszb
bda766b697
* refactoring
2013-02-12 19:49:40 +00:00
alexvins
ba3fbe05a7
compile fix.
2013-02-11 20:34:31 +00:00
mateuszb
8a8eecd063
* refactoring
2013-02-11 19:11:34 +00:00
mateuszb
d540723739
* refactoring
2013-02-11 14:42:09 +00:00
mateuszb
86dc9386d6
* refactoring, including a generic solution for IDs
2013-02-10 23:24:57 +00:00
Michał W. Urbańczyk
13b3d23b26
Finally working hero crossover in campaigns.
...
Uncovered new secrets of h3m.
2013-02-09 18:18:55 +00:00
mateuszb
d03dbf64a6
* refactoring
2013-02-09 12:56:35 +00:00
mateuszb
0003d30991
* refactoring
2013-02-08 22:42:46 +00:00
mateuszb
9dd60b6dbe
* refactoring
...
* moat damage went to config file
2013-02-08 21:17:39 +00:00
DjWarmonger
140786a04b
- Drain Life now has % effect depending on bonus value
...
- Stack can use more than 2 attacks. Additional attacks can now be seperated as "ONLY_MELEE_FIGHT and "ONLY_DISTANCE_FIGHT".
2013-02-08 09:22:10 +00:00
mateuszb
f1c78e3260
* creature ID refactoring
...
* double week creatures are configurable now
2013-02-07 17:34:50 +00:00
mateuszb
af5287c193
* fixed opening custom campaign selection window
...
* artifact positions refactored
* vstd::advance allows moving between enum values
2013-02-06 23:24:43 +00:00
DjWarmonger
c3a1d10988
Fixed shield effect - spell only.
2013-02-06 20:43:17 +00:00
mateuszb
3958364884
* a bit more work on campaigns; hero crossover still buggy
2013-02-06 10:16:44 +00:00
DjWarmonger
1ef205e5f1
Various tweaks / enchancements to bonus mechanics
...
- Added CREATURE_SPELL_POWER for commanders
- Added spell modifiers to various spells: Hypnotize (Astral), Firewall (Luna), Landmine
- Fixed ENEMY_DEFENCE_REDUCTION, GENERAL_ATTACK_REDUCTION
- Extended usefulness of ONLY_DISTANCE_FIGHT, ONLY_MELEE_FIGHT ranges
2013-02-06 08:02:46 +00:00
mateuszb
dc091a1ce1
* some work on hero crossover; still buggy
2013-02-05 23:16:13 +00:00
mateuszb
25663ce7af
* fixed vector<bool> serialization
...
* refactoring
2013-02-04 19:43:16 +00:00
DjWarmonger
e63747d2d2
Fixed #860 and #1169
...
Imprisoned heroes as well as their commanders will get full level ups, with updated specialty, mana and movement.
2013-02-04 12:32:53 +00:00
mateuszb
8769f67c5d
* JsonReader can convert to enums
...
* refactoring
2013-02-03 21:05:44 +00:00
DjWarmonger
beb1ca1bf8
- getDate function now uses enum for different modes
...
- Fixed Black Market (#1195 )
- Fixed one-week bonuses removed eveyr day (#976 )
2013-02-02 08:29:57 +00:00
mateuszb
a1da195b85
* minor refactoring
2013-01-31 20:11:25 +00:00
beegee1
a4129f43f2
- Correct handling of who manages which players(player count may differ from initial start options for a RMG map) - Fixed warning
2013-01-21 20:49:19 +00:00
DjWarmonger
ce15eb37c2
- Fixed serialization of limiters
...
- Hero can now can have several separate specialty nodes
- Fixed typo (speciality->specialty)
- Fixed several crashes related to commanders
- Improvements to specialty handling, bugfixes and temporary solutions for upcoming hero specialties in mods
2013-01-17 18:15:00 +00:00
alexvins
53b684180d
[refactor]
...
* use spells configuration (all timed effects for battle spells)
* a few more cleanups
+register erm resource types (useful in future and less noise in log now)
2013-01-16 11:19:04 +00:00
alexvins
68e91ada1c
[refactor]
...
* spells are now more configurable (unused yet, WiP)
* a few more cleanups
2013-01-15 14:20:48 +00:00
alexvins
055e922e4d
[refactor] a few more cleanups
2013-01-12 18:08:33 +00:00
alexvins
daf2c285e9
[refactor] reduce some code duplication, get rid of few magic nombers.
...
*fix deletion of empty pandora box
2013-01-12 10:32:03 +00:00
alexvins
d8b068afd9
[c::b] update projects
2013-01-08 09:41:28 +00:00
Michał W. Urbańczyk
d4c30667b8
Fixed #1168 and #1170 .
2013-01-06 04:48:05 +00:00
alexvins
4bc2fd5519
[c::b] renamed map subfolder to workaround dependency tracking bug
2013-01-03 12:19:20 +00:00
alexvins
9051731755
[c::b] reorganize workspace
2012-12-24 15:55:19 +00:00
Ivan Savenko
0b1c215882
- end of world, at least for autotools. Removed completely in favor of CMake
2012-12-23 19:44:37 +00:00
Michał W. Urbańczyk
bcf8cab19a
Project files update/cleanup.
2012-12-19 18:23:21 +00:00
alexvins
66d9edf76e
small refactor secskill limit check.
2012-12-18 11:24:13 +00:00
Ivan Savenko
ffe8b99369
- reorganized hero classes
...
- artifact iconIndex should work
- new file with hardcoded string constants: lib/StringConstants.h
Note: some minor bugs, will fix soon:
- slow to open hero window
- hero adventure map images serialization is broken\incorrect
2012-12-14 15:32:53 +00:00
Ivan Savenko
04358ed0c6
multiple changes in config system, breaks existing mods. See upcoming post on forums.
...
- filesystem initialization works in conjuction with modHandler
- (config) split buildings.json in multiple files in "factions" directory
- (mods) merged filesystem.json and config/mod.json into mod.json
2012-12-12 11:13:57 +00:00
DjWarmonger
cff758cfba
Moved artifact-related text to CArtifact class.
2012-12-06 19:03:47 +00:00
Ivan Savenko
cfaa9fd00a
- fixed deadlock on visiting such objects like artifacts
...
- typos in vcmibuilder script
2012-12-05 10:46:53 +00:00
Ivan Savenko
85a23e298c
- generic string ID -> numeric ID resolution system
...
- - hero army and creature upgrade names are resolved using new system
- - faction names and creatures in towns are resolved using new system
- (linux) replaced build_data.sh with hopefully better vcmibuilder script
- minor fixes
2012-12-03 16:00:17 +00:00
DjWarmonger
ca9033d0e4
- Support for "Enchanted" WoG ability.
...
- Precision will not be cast on non-shooters
2012-12-01 18:30:03 +00:00
DjWarmonger
c5d9110176
Compile fix for last commit.
2012-12-01 07:17:55 +00:00
Ivan Savenko
2643762f08
Mac OS patch from stopiccot
2012-12-01 06:30:52 +00:00
DjWarmonger
7be00e97a0
Fixed #1124 . Probably also other bugs related to two-hex creatures (or they were already resolved).
2012-11-30 14:06:22 +00:00
beegee1
53169abea7
- Foundation for starting a random map is done - Moved StdInc.h to header file in some /Map and /RMG compilation units(better syntax highlighting, should have no negative impact)
2012-11-20 17:53:45 +00:00
Ivan Savenko
8eba824ada
- updated icons + psd file
...
- better log messages if server failed to open port
- 1148 should be fixed. Cleanup in CGameHandler::moveHero()
- compile fixes
2012-11-15 21:29:22 +00:00
Ivan Savenko
0d863c83d7
- removed autogenerated by autotools files
...
- fixes for #386 using patches from Ixtreon
2012-11-10 21:56:19 +00:00
beegee1
105083dd70
* Code convention updates * Default values for CMap types * Updated BinaryReader c-tor * Converted "bool" int types to bool in CMap classes * Removed map event operators in favor of member methods
2012-11-06 16:39:29 +00:00
beegee1
a878f5f79a
* Separated map loading from the map object * Moved map classes to lib/Map * Renamed map.h/cpp to CMap.h/cpp * Profiling of map loading is now optional * Updated CMemoryStream
2012-11-03 13:30:47 +00:00
beegee1
720deba838
* Added comments to map.h * Refactoring(renamed attributes, some steps towards coding guidelines, ..)
2012-10-26 17:51:05 +00:00
Ivan Savenko
db10f512d5
- game won't crash on missing dwellings (instead random one will generated)
...
- added disabled code that can be used to fix buildings blit order
- minor fixes
2012-10-07 14:58:48 +00:00
Ivan Savenko
c071a03a8a
- fix for #1135
...
- merged wall_pos.json into town config
- removed tower_shooter field from creatures.json
2012-10-05 18:03:49 +00:00
Ivan Savenko
f113f9573d
- CPack support. Works on my side, needs tweaks for Win
2012-10-05 12:38:17 +00:00
Ivan Savenko
3542bfdc63
- fixed #1128 #1127 #1121 #1119
...
- instructions in linux readme use cmake instead of autotools
- update autoconf files
2012-10-02 14:22:58 +00:00
DjWarmonger
1cf99f7be1
- Improved exploration algorithm. AI will avoid dead-end barriers and thus explore much faster.
...
- Fixed crash when there are no heroes available to recruit in the map. TODO: make AI handle it
- Fixed crash when Chain Lightning has not enough targets
- Fixed crash at Hill Fort (?)
- AI will buy Spellbook for its heroes
- AI will try to use Cartographer and Observatory when exploring
- AI will not visit Prison when heroes are at max
- Experiment: AI will try to capture Mines and Dwellings when there are no enemies around (part of CONQUER goal)
2012-10-01 18:25:43 +00:00
Michał W. Urbańczyk
3de9b71cc3
Fixed crash when unit dies by entering obstacle (eg. moat) on the way to perform attack.
2012-09-30 17:48:21 +00:00
Michał W. Urbańczyk
f30ee8ff04
* fixed possible corruption of pack sent by server when player request is rejected
...
* BattleAI will restore callback to its previous state, fixes freeze after battle #1104
* BattleAI won't lose turn when unable to correctly evaluate a spell
* VCAI will correctly recognize hero standing on town entrance
* War machines of defender will have correctly set side
* Faction 9 as neutral causes crashes, changing to -1 as used elsewhere in the code
2012-09-29 14:44:06 +00:00
Michał W. Urbańczyk
786bd73e67
Fixed #1092 .
2012-09-28 11:43:19 +00:00
DjWarmonger
076974729a
Fixed #1089 .
2012-09-28 06:10:01 +00:00
Ivan Savenko
15a7f43e11
- fixed #1075 , #1080 , #1081
...
- fixed some warnings from cppcheck
2012-09-26 13:13:39 +00:00
Michał W. Urbańczyk
ecd8947d8e
Crashes on starting next campaign mission should be fixed.
2012-09-25 18:00:55 +00:00
mateuszb
f3f4a7633d
* fixed 1085
...
* fixed starting hero is granted in normal scenarios
* introduced TArtifactInstanceID
2012-09-25 14:40:39 +00:00
mateuszb
18bd898cb1
* fixed bug when starting certain maps in campaigns
...
* introduced TPlayerColor typedef
2012-09-24 16:14:53 +00:00
Michał W. Urbańczyk
95b866c131
* Further work on Battle AI. Now it is able to cast a number of offensive spells. Battle callback exposes more spell-casting info.
...
* Took down the one Boost.Assign usage offending VC11. I'm getting impatient I guess...
2012-09-23 23:10:56 +00:00
mateuszb
6a81c8b1af
* campaign against magic numbers
...
* ArtifactID was misleading and wrongly used in one place -- renamed and fixed
* minor changes
2012-09-23 18:01:04 +00:00
mateuszb
8e3de98059
* restoring campaign features
...
* minor improvements
2012-09-21 17:59:54 +00:00
Michał W. Urbańczyk
62e63d45b1
Work in progress on BattleAI. Related changes:
...
* battle AIs receive ptr to CBattleCallback (not sure why it was CPlayerBattleCallback, likely mistake)
* reworked some battle callback methods to be more generic and able to handle some hypothetic scenarios
* for testing purposes in duel mode the first AI will be taken fro mconfig and the second will remain stupid ai
* minor changes
2012-09-20 16:55:21 +00:00
mateuszb
aa04a5bcd0
* removed unnecessary include in .h -- they should be avoided
...
* fixed bug 1074
* fixed starting new custom campaign
* fixed building of ERM project
2012-09-18 15:06:29 +00:00
alexvins
2b2b02cccc
[static analysis] [WIP] fix few possible bugs
...
CBattleAnimations.cpp,CBitmapHandler.cpp,CGameHandler.cpp Possible null pointer dereference
2012-09-16 14:36:31 +00:00
Ivan Savenko
0ca9f64573
Next part of town configuration:
...
- town screen is mostly implemented, has some minor issues
- factions are now separate from towns, neutrals have faction with id=9
- more constants to GameConstants: town-specific buildings, strings for terrains and resources
- replaced most access to builtBuildings with isBuilt() method
- replaced id's with enums for town subtype and buildings id's
2012-09-05 12:49:23 +00:00
Ivan Savenko
44cc848edc
first part of town configuration:
...
- moved almost all loading to TownHandler
- CBuildings and CStructures are now part of CTown
- merged hall.json into buildings.json
Should not cause any crashes or glitches
2012-09-02 10:33:41 +00:00
Michał W. Urbańczyk
6530e7a1e1
* servers will not allow using out-of-range slots ( #1061 )
...
* server won't crash on some scenarios when they're used
* fixed some minor discrepancies with creature placement in creature banks
2012-08-30 16:01:19 +00:00
Ivan Savenko
8fac276922
- a bit nicer stack queue. Check forum for graphics.
...
- warning fix
2012-08-28 16:28:21 +00:00
Michał W. Urbańczyk
830d94064e
Fixed #1056 , #1057 and #1058 .
...
Should also fix #152 .
2012-08-28 12:28:13 +00:00
Michał W. Urbańczyk
a14f381d48
Fixed #1055 - hang when creature performed automatic (not controleld by player) action.
...
Fixed possible crash on arrow turret turn.
2012-08-27 12:34:43 +00:00
Ivan Savenko
7ce9e95525
- death stare works identically to H3
...
- gcc warnings fix
2012-08-27 10:47:02 +00:00
Michał W. Urbańczyk
7c09f73402
* INFINITE_DIST is now enum, it should cause least trouble that way. Uh, it's so hard to fight magic values these days.
...
* Fixed crashes in battles after loading game
* Fixed crash in battle AI, when stack is blocked and stands next to an enemy
* Fixes problem when server's moveStack is called with dest==position
* Above should cover #1053 .
2012-08-26 19:13:57 +00:00
Ivan Savenko
656999e99f
- fixed bug in AI town development
...
- fixed too slow generation of FowChange package
2012-08-26 12:26:07 +00:00
Michał W. Urbańczyk
d390113c23
* New files for lib: CBattleCallback.cpp and CBattleCallback.h
...
* Updated MSVC project files
* Filesystem: My version of .SND archive does not have \0 after WAV extension. Fixed (though hardcoded 3-char extension length).
* New bonus types: BLOCK_MAGIC_ABOVE for blocking casting spells above given level and BLOCK_ALL_MAGIC for blocking all magic.
* Heavy rewrite of battle callbacks. Fixed some minor bugs. Code reusage between lib/client/server (removed proxy calls). Better access control and support for various perspectives.
* Fixed #1031
* Fixed Orb of Inhibition and Recanter's Cloak (they were incorrectly implemented). Fixed #97 .
* Fleeing hero won't lose artifacts. Spellbook won't be captured. Fixed #980 .
* Fixed crash when attacking stack dies before counterattack (ie. because of Fire Shield)
* Server does some basic checks if action requests during battle are valid
* Minor stuff.
2012-08-26 09:07:48 +00:00
DjWarmonger
edbc7f1223
- Some hardcoded settings will now be read from config/defaultMods.json
...
- Fixed AI crash when it was placed in closed and safe area
2012-08-11 09:06:23 +00:00
DjWarmonger
289b7b68d9
Mod Handler class. It is connected with engine, but doesn't do anything yet.
2012-08-10 13:07:53 +00:00
Ivan Savenko
9cbc1f1058
- merged basicCreatures and upgradedCreatures into single array
...
- missing fix for savegames
2012-08-07 21:46:24 +00:00
Ivan Savenko
8040a81eec
- fixed save games issues ( #1044 )
...
- hopefully some speedup for filesystem loading (#1048 )
2012-08-07 11:28:52 +00:00
Ivan Savenko
e67f8afdd9
- removed multiple unused files
...
- config folder with all json files is used via new FS API
- fixed campaigns loading. Replaced "detect h3m starts" heuristics with CCompessedStream::getNextBlock()
2012-08-02 11:03:26 +00:00
Ivan Savenko
b3c17d2788
large filesystem update. Filesysytem is now fully functional, everything should work.
...
- completely replaced CLodHandler, removed bitmaph and spriteh
- replaced CLodStream in favour of CCompressedStream (2 new files)
- renamed CResourceLoaderFactory and ResourceIndetifier to shorter names
NOTES:
- campaign loading is currently broken. Will fix.
- I am going to remove several unused files in several days (e.g. LodHandler)
2012-08-01 12:02:54 +00:00
Ivan Savenko
a72a294a46
some work on new filesystem, not tested
...
- one more new file
- removed duplicating code
- filesystem parser is now recursive
- decompression should be possible if decompressed size is unknown
- autotools and cmake update
2012-07-23 10:23:43 +00:00
Ivan Savenko
13de841e10
- minor tweaks to quest window
...
- fixed #531
- fixed query crash (empty funciton)
2012-07-21 20:16:54 +00:00
Ivan Savenko
e4c88d5088
- moved ParseBonus to JsonNode.cpp (linkage errors)
...
- fixes to CMakeLists - vcmi can be compiled and started with cmake
- gcc\clang warnings fixes
2012-07-19 18:52:44 +00:00
DjWarmonger
b86706d58c
Commander can now die in a battle and will be automatically rised when visiting town.
2012-07-17 08:52:27 +00:00
ddaroo
69de38bf1d
Tweaks for cmake build system: data dir definitions, flags for clang (not tested), missing CQuestLog.cpp file for the client, naming convention of few binaries same for autotools and cmake
2012-07-15 16:05:41 +00:00
Michał W. Urbańczyk
edccbd4809
Rewritten many parts of query handling. Fixed several scenarios leading to a hang (including #1012 ). Purged boost::function from player interface (handy but impossible to serialize). VCAI will keep description for each unanswered query, so the further debugging will be easier.
2012-07-15 15:34:00 +00:00
DjWarmonger
e3e4bc4c9c
Second part of interactive Commander level-up. Quite messy.
2012-07-04 14:41:53 +00:00
ddaroo
758fb0679e
Stub for a CMake build system.
2012-07-01 14:27:41 +00:00
Ivan Savenko
613172fa45
- fixed #582 , #1019 and #1022
...
- linux readme tweaks
2012-06-27 20:44:01 +00:00
Ivan Savenko
47945383da
gcc-4.5 compatibility
2012-06-23 17:19:50 +00:00
Michał W. Urbańczyk
84630a0984
Fixed #993 , tent code cleanups.
2012-06-10 13:07:08 +00:00
Michał W. Urbańczyk
e6ebf42308
#994 should not crash anymore.
2012-06-09 19:58:17 +00:00
Michał W. Urbańczyk
247fabc3a6
Seems to be actually a missing return and redundant check.
2012-05-29 23:22:28 +00:00
Ivan Savenko
faaf799d95
- fixed some extra warnings. Mostly harmless.
...
NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
2012-05-28 19:29:32 +00:00
Ivan Savenko
61ccabde53
- vcmi can be compiled with clang-3.1
2012-05-27 19:06:35 +00:00
Frank Zago
ee103c7bcd
Compile fix.
2012-05-26 03:29:34 +00:00
Ivan Savenko
49495c9caf
- possibly fixed #966 and #958
...
- fixed crash on shutdown
- fixed compile issue #973
2012-05-25 11:49:56 +00:00
DjWarmonger
d34cf90bf7
Support for Chain Lightning.
...
Fixed getClosestTile function.
2012-05-20 11:40:23 +00:00
DjWarmonger
6419f953cb
Some (disabled) work for commander artifacts. Hero artifacts window seems broken.
...
Minor fixes.
2012-05-19 18:27:23 +00:00
Michał W. Urbańczyk
d2756e8c88
Partial fix for #961 .
...
Minor fixes for VS project files.
2012-05-18 22:47:54 +00:00
Michał W. Urbańczyk
d168f3eac2
* Implemented Moat functionality during siege (stops movement and deals dmg)
...
* Mostly implemented battle spells:
- Fire Wall
- Force Field
- Land Mine
- Quicksands
2012-05-18 20:50:16 +00:00
DjWarmonger
5435101182
Lots of fixes and improvements for Commander interface.
2012-05-18 19:44:15 +00:00
DjWarmonger
d491bc1c3a
Commanders can level up. It's non-interactive yet.
...
Printing secondary skills for Commanders.
2012-05-18 14:02:27 +00:00
Ivan Savenko
97aeaa9f28
- moved ColorPutter's to separate SDL_Pixels.h file
...
- added Channels namespace for accessing subpixels in format-independent way
- fixed several big-endian issues
- re-generated buld system
2012-05-17 10:44:48 +00:00
Ivan Savenko
8de71c2b39
- fixed #711 , #862 , #321
...
- moved PutPixel templates into header to allow inlining
2012-05-15 08:47:11 +00:00
DjWarmonger
05742afd60
Final fix. AI heroes won't loose their turn when visiting adjacent objects.
2012-05-08 09:38:01 +00:00
DjWarmonger
ee2768ab07
- Some work for commanders
...
- New creature window - visit forum for package with necessary graphics: http://forum.vcmi.eu/viewtopic.php?p=6908#6908
- More AI optimizations - heroes will be processed starting from the fastest one.
- AI will check is GATHER_ARMY object is reachable
2012-05-07 12:54:22 +00:00
Ivan Savenko
82b60c00a2
- fixed compile issues. Renamed several "battleobstacleSplaced" to "battleobstacleplaced"
...
- implemented --disable-video command line switch
2012-05-05 08:32:55 +00:00
Michał W. Urbańczyk
5449546447
Advanced work on support for Quicksand and Land Mine spells.
2012-05-04 21:16:39 +00:00
DjWarmonger
bd2a0c2a2b
"You have captured enemy artifact" window. All arts from commander & stacks will also be looted.
2012-05-02 08:37:11 +00:00
DjWarmonger
6f108c41df
Fix for previous commit. Now artifacts from defeated hero are passed to winner.
2012-05-01 14:38:53 +00:00
DjWarmonger
5d311fb3ed
- Hopefully fixed possibleActions for every case
...
- better algorithm for looting artifacts, yet buggy
2012-05-01 13:56:32 +00:00
DjWarmonger
c4d933c668
Quick fix for previous commit.
2012-05-01 09:02:27 +00:00
DjWarmonger
2fbc57e140
1. Better way to disable stack / cursor glitches
...
2. An attempt to handle looting artifacts after battle
2012-05-01 08:52:22 +00:00
Ivan Savenko
d479341a5a
- gcc compile and warning fixes
2012-04-30 12:13:36 +00:00
DjWarmonger
25bdcd3cab
- Fixed wrong creature teleported
...
- Support for Sacrifice
2012-04-28 19:40:27 +00:00
Michał W. Urbańczyk
7dc0d6878e
Rewritten battle obstacles. New file for lib: CObstacleInstance.cpp.
...
Now obstacles should be placed exactly like they were in OH3.
All problems with displaying obstacles in battlefield should be gone. They should be now matched to the single pixel.
If there are still some discrepancies, please report them.
2012-04-23 19:56:37 +00:00
Michał W. Urbańczyk
017013a5a4
Throwing runtime_errors instead of string (or even char*) objects.
2012-04-22 07:32:45 +00:00
DjWarmonger
cd1a9414ac
- Restored Genie random spell
...
- Fixed crashes in many strange creature-spellcasting scenarios, including stack with multiple cast abilities and Enchanter with non-stadard spell
2012-04-18 15:57:49 +00:00
DjWarmonger
05311dd30c
- Fixed and simplified Teleport casting
...
- Stack artifacts will now not be wearable by hero (by default)
- Fixed crash involving clone
2012-04-18 13:24:18 +00:00
DjWarmonger
f720038ca5
- Battle interface fixes. It's possible to move stacks & attack
...
- Creature window allows to pass stack artifact to hero
- Fixes for Mana Drain, including #916
2012-04-17 14:50:23 +00:00
Ivan Savenko
66f5b5e2d7
- gcc compile fixes
2012-04-14 16:28:36 +00:00
Michał W. Urbańczyk
6ec3501909
Fixed #927 .
2012-04-14 07:39:32 +00:00
Michał W. Urbańczyk
722ec55384
Redid stack artifacts. Broken save compatibility. Added serializer support for boost::variant and sending CStackInstace* over network by implicitly passing IDs. Moved seeds and checksum to StartInfo. Various minor changes.
2012-04-14 02:20:22 +00:00
Michał W. Urbańczyk
c61f536d8b
* fixed remaining parts of #760
...
* it's possible to switch active creature during tacts phase by clicking on stack
* a few minor fixes after handleHex rewrite
2012-04-02 23:23:14 +00:00
Michał W. Urbańczyk
c80d9b0a51
Possibly "fixed" #915 .
...
Fixed server output (printing ui8 as %d apparently breaks boost.format :/).
2012-03-31 15:10:16 +00:00
Michał W. Urbańczyk
a9af0da0ab
Rewritten handling mouse movement over hex and l-clicking hex into one procedure. That way the tooltip and cursor are always accurate, because they're set by the same routing that selects action. Having that logic duplicated in two methods was unmaintainable. [though the new one is still monstrous...] By the way fixed numerous issues, including:
...
* #785 and parts of #760
* first aid tent can heal only creatures that suffered damage
* war machines can't be healed by tent
* creatures casting spells won't try to cast them during tactic phase
* console tooltips for first aid tent
* console tooltips for teleport spell
* cursor is reset to pointer when action is requested
* fixed a few other missing or wrong tooltips/cursors
Implemented opening creature window by l-clicking on stack. Master Genie's spell is picked by server, not client.
Minor changes.
2012-03-30 21:36:07 +00:00
Michał W. Urbańczyk
3cf4ebc163
Little more work on #760 :
...
* no tactics in creature banks
* no spellcasting during tactics phase
2012-03-28 21:54:43 +00:00
Michał W. Urbańczyk
c698181c4c
* simple mechanism for detecting desync after init
...
* moving stacks in tactics phase won't affect stack queue (part of #760 )
* moved all boost headers in server to PCH
2012-03-27 20:08:54 +00:00
Michał W. Urbańczyk
13f26fc3cb
* Client is able to await for answers for multiple queries at the same time
...
* Hackish solution allowing AI undertaking actions from event-handling thread
* Fixed crash when death stare or acid breath activated on stack that was just killed
* minor fixes
2012-03-25 22:46:14 +00:00
DjWarmonger
c8c4c5b682
AI heroes won't trash for objects when exploring area together.
...
String logging for goal types. Fixes.
2012-03-13 20:33:00 +00:00
DjWarmonger
9518474ec7
First attempt to replace rule-of-a-thumb behavior with actual reasoning
...
- GATHER_ARMY goal replaces wander function
- Heroes will remember their own goals until they are fulfilled
- Goal search handles mutual dependency
- AI will recruit multiple heroes for exploration
- Lots of tweaks
2012-03-13 12:47:47 +00:00
DjWarmonger
88e9dec974
Fixed Thieves Guild window showing for all players.
...
It needed 11 files modified... :/
2012-03-07 14:05:54 +00:00
Michał W. Urbańczyk
324b11b09c
Possible fix for #848
2012-02-20 23:02:32 +00:00
DjWarmonger
386ac80cf9
Fixed #855 & 861. Unsigned values were bad idea to prevent overflow.
2012-02-20 16:26:14 +00:00
Michał W. Urbańczyk
e4dc00abac
* new file lib/UnlockGuard.h — unlock_guard is for unlocking a mutex for the scope time (RAII)
...
* all lock/unlock and unlock/lock pairs are done by RAII guards now
* fixed two possible crashes at the end of battle when last stack was killed by spell. That should fix #749 and #752 .
* fixed a very nasty race condition, eliminating possible deadlock at the start of battle when human hero has tactics
* fixed #422
2012-02-19 21:03:43 +00:00
Michał W. Urbańczyk
4baf4e13ed
* fixed #857 and #858
...
* fixed crash when AI attacked player before his first turn
* fixed various crashes when mass-effect spells affected town turrets in sieges
* some refactoring around spell positiveness
2012-02-16 21:19:07 +00:00
Ivan Savenko
0c3e88226f
- (linux) replaced Genius with VCAI
...
- gcc set to c++0x mode
- most of gcc warnings fixed
- replaced boost::assign with initialization lists (if available in compiler)
- new cheat code: vcmiarmenelos - build everything
- updated linux readme
- minor fixes, applied patch for #98
2012-02-16 17:10:58 +00:00
Frank Zago
f7ac873303
Added test for librt, since linux needs it and OSX doesn't have it.
2012-02-13 02:15:05 +00:00
DjWarmonger
c724092028
Partial support for Clone spell.
2012-02-10 13:13:24 +00:00
DjWarmonger
2bddf29cbf
Stack artifacts part 2, not working yet.
2012-02-04 16:34:29 +00:00
DjWarmonger
b8a5d0d430
Stack artifacts - part 1
2012-01-30 16:07:52 +00:00
DjWarmonger
1cbd7e94e4
- Extended cap or removed sign for some values that may potentially overflow
...
- Fixed #851
2012-01-26 16:48:53 +00:00
Ivan Savenko
dbc603b7d7
- fixed crash on opening spellbook during enemy turn
...
- fixed last known localization issue (bank configs)
- diplomacy and new weeks\month mechanics should be identical to H3
- minor fixes
2012-01-19 14:33:22 +00:00
Ivan Savenko
3fcf8b6f4b
- minor mechanics fixes, corrected handling of 2nd upgrades (like pirates from hota)
2012-01-13 14:18:32 +00:00
Michał W. Urbańczyk
046e54563c
* fixed project files for RD configuration
...
* fixed crash when creature is casting Hypnosis (ie. exped Vampire Lords)
* fixed crash when creature is casting Cure before attack (ie. exped Unicorns)
* fixed crash when creature is summoning elemental (TODO fix it)
* fixed crash when doing a bonus system operation with a hero liberated from prison (ie. entering town or battle)
* fixed deadlock when StupidAI tried to assault the turrets
* fixed never ending siege when StupidAI has to use catapult (no more deadlocks on AI-AI siege)
* fixed deadlock when a hero received a level during another player's turn (ie. when he successfully defended)
* AI can win the game by defeating all enemies if there is a specific victory condition applying only to human players
* added options to help testing adventure map AI (--onlyAI, --autoSkip and --oneGoodAI).
* many minor changes
2012-01-03 01:55:26 +00:00
beegee1
156aa6e4d9
* Updated class - file - handling
...
* Renamed color constants
* Renamed class AdventureMapButton to CAdventureMapButton
* Moved basic controls like CTextBox from GuiClasses to CIntObjectClasses
* Moved new creature window from GuiClasses to CCreatureWindow
2011-12-22 13:05:19 +00:00
beegee1
2f5d6f2684
* CHexField renamed to CBattleHex
...
* CHexFieldControl renamed to CClickableHex
* CCreatureAnimation.cpp/.h moved to BattleInterface/CCreatureAnimation.cpp/.h
* Removed unused project files
* Added VCMI_client filters file for VS 2010
* Gathered common parts of StdInc.h in Global.h
* Boost.Spirit has been included in PCH for ERM project
* StopWatch renamed to CStopWatch
* GuiBase.cpp split up in UIFramework/...
2011-12-17 18:59:59 +00:00
beegee1
cce814c41b
* Final commit
2011-12-13 21:35:28 +00:00
beegee1
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
Frank Zago
a62634cf94
Add support for SDL 1.3 in compatibility mode.
2011-11-17 00:24:27 +00:00
DjWarmonger
2e0ca6d162
Cleaned some code.
2011-11-13 09:29:22 +00:00
Ivan Savenko
0f2e00c780
-(linux) Moved all (I hope) files created by VCMI to ~/.vcmi to prevents crash on launch from read-only directory
...
- minor fixes for #362 #835 #836
2011-11-01 12:58:01 +00:00
Ivan Savenko
ede7fd5a7a
- (linux) Fixed gcc linking issues
2011-10-31 18:00:44 +00:00
DjWarmonger
10fce0025a
Support for wall penalty & No Wall Penalty ability.
...
All creature abilities should now be more or less working.
2011-10-20 17:41:40 +00:00
DjWarmonger
95f23cf20f
Support for Bind ability.
2011-10-17 08:24:51 +00:00
DjWarmonger
b4d0ebf9ab
Support for Mana Channeling ability.
2011-10-09 11:23:24 +00:00
DjWarmonger
5e40d3da72
Support for Enchanter ability.
2011-10-09 07:20:23 +00:00
DjWarmonger
d607d90a91
Support for Fear & Fearless ability.
...
Ogre Magi can now cast too.
2011-10-08 17:10:43 +00:00
DjWarmonger
0903d6037c
New pack - BattleEffectTrigger for various one-shot effects with animation
2011-10-08 13:02:58 +00:00
DjWarmonger
f4fc77ccb8
Creature spells are now functional.
...
It includes Master Genie, Archangel, Faerie Dragon & Elementals
2011-10-08 09:11:36 +00:00
Frank Zago
28231fee98
Newest GCC linker requires that every necessary library must be explicitly mentioned - no implicit linking allowed.
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2011-10-06 01:11:23 +00:00
DjWarmonger
f1f416c890
Fixed (unnecessary?) deadlock in BattleStacksRemoved. Daemon summoning is pretty functional.
2011-10-02 13:59:12 +00:00
DjWarmonger
07b8f87fb7
Partial support for Daemon Summoning.
...
It freezes for unknown reason, but still.
Minor fixes.
2011-10-02 07:16:34 +00:00
DjWarmonger
6fdb984799
Lots of refactoring & work for creature spells.
...
No new features yet, but summon elementals now work properly again.
2011-10-01 19:56:54 +00:00
Michał W. Urbańczyk
623325ca61
Ouch. Thing was for branch only.
2011-09-27 22:03:43 +00:00
Michał W. Urbańczyk
bdd66b6537
Zmiany do Programming challenge.
2011-09-27 21:54:40 +00:00
Frank Zago
c4b8039c1e
Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos.
2011-09-24 01:15:36 +00:00
Frank Zago
c481177515
Fixed #815 .
2011-09-24 00:32:55 +00:00
Ivan Savenko
d113517db4
- fixed #108 , #798 , #810
...
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
2011-09-23 15:58:18 +00:00
Michał W. Urbańczyk
6ef44bde5a
Work on pathfinder: torn the code out from CGameState into a separate class. It can use Subterranean Gates and Boats. Removed code for handling Fly spell effect. It didn't work as supposed anyway.
2011-09-19 20:50:25 +00:00
ori.bar
74fafbedbf
Fix #807
2011-09-17 18:15:10 +00:00
Michał W. Urbańczyk
9621cbcaa7
* fixed crash on calculating dmg dealt by stack under Curse
...
* fixed crash on sea battles (obstacles data got corrupted during conversion)
* fixed crash when StupidAI had a catapult
* minor fixes and refactorings (typename for bonus list under shared ptr)
2011-09-06 13:59:26 +00:00
Michał W. Urbańczyk
bb1bdcb0a7
* fixed crash on visiting Sirens
...
* fixed race condition on the new turn, #729 should be gone
* fixed crashes in AI-only game mode
2011-09-06 09:59:06 +00:00
Michał W. Urbańczyk
8b7a2f179c
* Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
...
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then).
* minor changes
2011-09-06 06:00:32 +00:00
DjWarmonger
e3a8a41063
Fixed #804 .
...
Phoenix won't upgrade to Centaur Captain ;)
Minor tweaks.
2011-09-05 06:37:24 +00:00
ori.bar
4f2bc1cc35
Fix bug 803
2011-09-04 01:44:50 +00:00
Michał W. Urbańczyk
102593aabe
Fixed #789 and #795 ,
2011-09-01 02:48:29 +00:00
Michał W. Urbańczyk
20a53b04fd
Removed object recycling that was causing #796 . Fixed text nr typo.
...
Corrected json include in client/Client.cpp.
2011-09-01 01:40:46 +00:00
Michał W. Urbańczyk
18444fc72f
Rewritten code handling growth to eliminate duplication and make it conformant to OH3 mechanics. Proper support for Statue of Legion.
...
Displaying shield over minimap during AI turn.
2011-08-26 20:32:05 +00:00
Michał W. Urbańczyk
4f20c5a376
Fixed #731 .
2011-08-25 21:08:53 +00:00
Michał W. Urbańczyk
4c3ed24fe1
Fixed #768 . More logging for #774 .
...
Fixed crash on town time event (-1 and -2 "structures" present on buildings list).
2011-08-25 20:02:38 +00:00
Michał W. Urbańczyk
77be397bf6
Fixed #782 .
2011-08-25 15:49:11 +00:00
Michał W. Urbańczyk
26a83d7680
http://forum.vcmi.eu/viewtopic.php?p=5956#5956
...
Significant changes in project files:
* new library package required! URL: http://download.vcmi.eu/msvc-pack.7z
* created VCMI_global.props property sheet for settings common to all VCMI projects
* added configuration for x64 builds
2011-08-15 21:53:03 +00:00
DjWarmonger
287761a93d
Fixed #229 & #332
2011-08-12 19:38:30 +00:00
Frank Zago
56bf3dc8ab
Replaced io_service()) with get_io_service(). Fixes bug #780 .
2011-08-04 23:49:32 +00:00
beegee1
f609c4ad9a
* Fixed #33 -> Creatures tend to stop at every hex during movement
2011-08-01 17:36:18 +00:00
DjWarmonger
2272b4a316
Reverted changes from r2270. These strange callbacks were introduced for purpose (bugs 574 & 615).
...
Described crash after a battle is not reproductible now. Refer to these bug reports for more details.
2011-07-30 18:02:31 +00:00
beegee1
a5c39ca84b
* Fixed a crash which occurred when a battle was won against a enemy hero but not gaining a lvl-up.
...
* Code improvements, fixed warnings.
2011-07-30 15:04:34 +00:00
Frank Zago
5eab8339d0
Someone likes to put semicolons in the wrong places. Fixed.
2011-07-28 00:38:19 +00:00
DjWarmonger
8789968d67
Fixed #777 .
2011-07-27 10:41:27 +00:00
DjWarmonger
2047862eb1
Compile fix for Kingdom Overview
...
Fixed common crash with gained exp, fixed necromancy.
2011-07-23 06:14:05 +00:00
DjWarmonger
da83f0fcde
For dev release 0.85b
...
Quick fix for #762
2011-07-21 14:16:45 +00:00
Ivan Savenko
0693312a8e
- fixed several crashes with joining creatures
...
- support for loading *.tga images
- minor fixes
2011-07-18 15:21:16 +00:00
Michał W. Urbańczyk
79f5b29196
Various player/AI interface related fixes and improvements.
2011-07-17 18:49:05 +00:00
DjWarmonger
ef954b8a4f
Most of the stuff I've commited today makes no sense, proper solution is trivial.
2011-07-17 18:11:03 +00:00
DjWarmonger
e4c5de3d0f
Fixes for previous commit. Now #574 , #615 and #743 work correctly.
2011-07-17 13:56:55 +00:00
DjWarmonger
096e77333f
Better handling of after-battle callbacks. Looks messy, but works.
2011-07-17 12:53:06 +00:00
DjWarmonger
16e7241fbd
Support for WoG's Defense bonus.
2011-07-16 16:40:38 +00:00
DjWarmonger
b609479496
Support for Magic Mirror spell.
2011-07-16 08:28:01 +00:00
DjWarmonger
79a453f442
Support for WoG "cast before attack" bonus. Minor fixes.
2011-07-16 06:42:44 +00:00
DjWarmonger
5269e845fd
handling of Rebirth ability for Phoenix.
...
However, I've got no idea how to restore its animation to alive state.
2011-07-08 14:54:20 +00:00
DjWarmonger
1bf9bb4d94
Flexible handling of creature spell power.
2011-07-08 13:17:05 +00:00
DjWarmonger
f33fbdc43b
Support for Thunderbolt (Thunderbirds).
...
General framework for handling creatures casting spells with arbitrary spell power.
2011-07-08 07:00:11 +00:00
DjWarmonger
8102fd4cf0
Support for Death Blow ability.
2011-07-06 17:00:45 +00:00
DjWarmonger
c53c226820
Support for Titan's Thunder (creating Spellbook) & Titan's Lightning Bolt.
2011-07-06 14:25:12 +00:00
Michał W. Urbańczyk
ed056cf0df
Set of minor improvements and fixes.
2011-07-05 19:05:41 +00:00
Ivan Savenko
b8448e4c3b
- (linux) build system update
...
- gcc errors/warnings fixes
2011-07-05 11:31:26 +00:00
Michał W. Urbańczyk
b3234e8bfa
* CGameInterface.h/.cpp moved from client project to lib (and, appropriately, to lib subfolder).
...
* New files in lib: ResourceSet.h/.cpp -> containing new structure for managing resources logic
* Minor changes and fixes
2011-07-05 06:14:07 +00:00
DjWarmonger
08b7d0db17
All multi-hex attacks and shots should now be fully functional.
2011-07-05 06:07:36 +00:00
DjWarmonger
e95ae22061
Implemented Dragon Breath, Attack All Around & Three-Headed Attack.
...
Dragon Breath does not yet work correctly for all double-wide stacks, though.
2011-07-04 19:34:49 +00:00
mateuszb
aac1c0b4e7
* cleaner code is better :)
2011-07-03 19:10:36 +00:00
DjWarmonger
57a36e77f3
Improvement for multiple-hex effects.
...
TODO: Attacker must know exact attacked tile, not only the stack.
2011-07-03 05:55:57 +00:00
DjWarmonger
81180de8be
Handling of area attack animation & effect
2011-07-02 17:40:33 +00:00
DjWarmonger
51943e5f1e
Partial support for Death Cloud & Magog's Fire Ball.
...
Lots of refactoring is needed to handle this and multiple-target attacks.
2011-07-02 16:49:22 +00:00
Ivan Savenko
a89895452a
- (linux) fixed searching/loading of scripting libraries
...
- (linux) moved AI libraries to /lib/vcmi/AI/lib*, ERM lib to /lib/vcmi/Scripting/*
- gcc compile and warnings fixes
2011-06-28 14:19:16 +00:00
Michał W. Urbańczyk
e6409e8ddd
Fix for printing the line number. Fixed #753 .
2011-06-27 16:03:03 +00:00
DjWarmonger
9ca5d9048a
Fixed total spell immunity granted by 2212.
...
Improvements for Life Drain.
2011-06-25 15:05:01 +00:00
beegee1
5fdb5aa494
* Improved battle and bonus system performance (significantly faster in debug build, tip: use vs 2008, turn of hex field presentation)
...
* Implemented caching for the bonus system
2011-06-25 13:53:15 +00:00
DjWarmonger
7dce558e28
More fixes. Estates skill is now handled as a Bonus.
2011-06-24 18:16:28 +00:00
DjWarmonger
bdce46ab60
Minor refactorings, fixes & improvements.
...
Moved CArtifactSet to ArtHandler. ObjectHandler is already too messed.
2011-06-24 17:43:02 +00:00
DjWarmonger
e41d2f6e87
Fixed possible crash related to Peculiar Enchants.
2011-06-24 07:12:52 +00:00
DjWarmonger
d2d5930b64
Fix for previous commit.
2011-06-21 17:14:15 +00:00
DjWarmonger
5eef9551de
Fixed #607
...
Support for Admiral's Hat
2011-06-21 16:00:19 +00:00
DjWarmonger
af8d8cbfc7
Implemented #479
2011-06-21 12:45:57 +00:00
DjWarmonger
825562a092
Fixed #538
2011-06-19 09:07:15 +00:00
Frank Zago
eecb470e74
Fixed all warnings "take address of temporary".
2011-06-11 04:54:41 +00:00
Frank Zago
ff49b852df
Silenced several "warning: suggest parentheses around ‘&&’ within ‘||’": added some parenthesis, optimized a couple statments and fix a bug in another.
2011-05-30 19:20:14 +00:00
Michał W. Urbańczyk
2d61fab7e9
* Probably fixed #655 .
...
* Fixed #736 , #737 .
* Fixed crash on loss/victory.
* Fixed crash on loading some AB maps.
* Fixed crash on loading map where victory/loss condition objective hero was placed inside the town.
* Fixed crash on loading map when neutral Dungeon has built Portal of Summoning.
* Mutex protecting GS will be used to prevent changes in GS when GUI might read it.
* Little more securities around moving hero and ending turn, still needed more.
2011-05-29 23:49:25 +00:00
Michał W. Urbańczyk
3ca95ef5ed
Fixed #730 :
...
* crash on +5 growth week
* crash on spawning wandering creatures on double growth months
(how come that has not been found in previous build?)
More logging for #729-like issues.
2011-05-28 01:02:28 +00:00
mateuszb
94166b83aa
* some changes
2011-05-22 18:46:52 +00:00
DjWarmonger
3a6b5cbfbb
Various fixes related to spell effects and Creature Window.
2011-05-21 07:07:07 +00:00
DjWarmonger
d4c2e55a00
Fixed #421 & #480 . Some work on animations & sounds. Minor changes.
...
TODO: Interface should check game state before it's changed by triggered abilities of creatures.
2011-05-15 06:37:57 +00:00
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
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
Michał W. Urbańczyk
b4144dc616
Callback jugglery, part 1.
...
Fixed #252 .
2011-05-03 03:14:18 +00:00
Ivan Savenko
e494171de3
- several changes to get reusable code
...
- possibly fixed #725
- bug in random seed initializing?
2011-04-30 18:16:58 +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
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
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
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
mateuszb
b3ed75ab03
* first part of ERM parser
2011-03-19 17:06:46 +00:00
Michał W. Urbańczyk
4d3776058d
My project files for VC10.
2011-03-17 23:06:48 +00:00
mateuszb
406b3e3f1c
* unnecessary code removed
2011-03-15 17:25:51 +00:00
Michał W. Urbańczyk
a382b641b7
Removing old, VC9 project files.
2011-03-12 22:53:52 +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
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
Michał W. Urbańczyk
207e573001
Fixed #645 by reverting support for screen scrolling [there are still some remains in settings file]
...
Removed some unused code.
2011-03-01 09:57:18 +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
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
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
6d6a1af9ed
* fixed crash on after attack spell casting
...
* more aggressive stack direction normalization after action
* artillery support
2011-02-23 17:10:35 +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
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
mateuszb
4e631fc530
* fix for bug 573
...
* minor changes
2011-02-15 19:54:55 +00:00
Michał W. Urbańczyk
e3310f8759
Eagle Eye seems to work.
2011-02-14 09:29:35 +00:00
Michał W. Urbańczyk
0c700f97cd
A little progress with Eagle Eye and Tactics.
2011-02-13 22:46:04 +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
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
mateuszb
8b8d06ac64
* fixed bug 257
...
* minor changes
2011-02-09 15:19:53 +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
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
Michał W. Urbańczyk
e5bf71538f
Minor fix.
2011-01-28 02:16:38 +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
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
mateuszb
8a063b88e5
* bug #569 fixed
2011-01-18 16:24:06 +00:00
Michał W. Urbańczyk
28550c85fd
Merged Ivan's changes in trunk ( r1918 )
2011-01-15 20:07:16 +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
7b0188a941
Compile fix.
2011-01-15 02:36:10 +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
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
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
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
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
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
efedb1a55a
* minor cleanup
2010-12-04 19:15:20 +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
cdf7b2b4d9
Bonuses now use pointers.
...
Things are very broken.
2010-11-18 22:06:56 +00:00
DjWarmonger
310a36c8d1
Fixed 313 & 314 :)
2010-11-15 12:51:53 +00:00
DjWarmonger
f758d13a22
One more file.
2010-11-15 07:16: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
OnionKnight
8ad159af53
Fixed bug #539 .
2010-11-05 14:43:14 +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
e83b9fa8fa
Fixed battles for network MP.
2010-10-30 19:26:39 +00:00
Michał W. Urbańczyk
c299a1cdea
Fixed desync.
...
Version bumped to 0.82c
2010-10-27 11:36:14 +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
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
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
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
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
DjWarmonger
01776b6a04
Support for MAXED_SPELL special (Melodia, Daremyth)
2010-08-29 19:03:10 +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
mateuszb
fc79b9b6cf
* partial implementation of hero crossover
...
* minor fixes to resolution handling
* other minor fixes and changes
2010-08-28 14:52:20 +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
6f94fcd083
Minor fix for creature Component.
...
Some missing code also.
2010-08-22 07:54:24 +00:00
Frank Zago
e252c2d06c
Build files update.
2010-08-21 00:41:40 +00:00
mateuszb
d681afe1c1
Changes towards campaign support.
2010-08-20 13:34:39 +00:00
mateuszb
6ebfe25f86
* compile fixes & minor changes (I hope they are correct, SComponent::setSurface didn't return any value and failed to compile - I'm not sure if I return proper value).
2010-08-19 15:24:32 +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
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
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
844d170b4f
* Town portal implemented
2010-08-04 13:41:01 +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
34c58bc966
* fixed some warnings
2010-08-02 11:06:49 +00:00
mateuszb
4fb50260c3
* fixed 592
2010-08-02 10:59:47 +00:00
Michał W. Urbańczyk
4140711b6d
Version set to 0.82.
...
Updated changelog.
Fixed crashes on losing.
2010-08-01 14:46:19 +00:00
mateuszb
99fcb23182
* several implrovements in campaign handling
...
* new cheat codes:
- vcmisilmaril - player wins
- vcmimelkor - player loses
2010-07-30 11:29:42 +00:00
Ivan Savenko
c1f0b956f4
bugfixing:
...
#124 - level-up code will now use ping-pong mode
#145 - switched skills positions, 1st skill will be selected
#545 - replaced images in reward dialog of seer hut
2010-07-28 22:39:56 +00:00
mateuszb
67f9d6d630
* fixed #551
2010-07-28 12:54:45 +00:00
Ivan Savenko
e025a43cb0
- some fixes for Castle Gate and Hill Fort
...
- removed unavailable in Hill Fort upgrades from cr_upgrade_list.txt
- fixed bug in upgrading creatures
- workaround to make VCMI work with Russian language files (possibly fixed 289)
2010-07-26 23:20:21 +00:00
Ivan Savenko
a00e5cc177
- implemented scholar skill
...
- fixed some remaining building issues (#361 )
- Portal of Summoning will now be present in fort window
- some fixes for Thieves Guild window (partial #386 )
2010-07-25 22:47:59 +00:00
Michał W. Urbańczyk
a981dfd1fd
Refugee Camp supported.
2010-07-23 21:05:49 +00:00
Michał W. Urbańczyk
8487653a8e
Sacrificing artifacts. [Code is one giant workaround but should work good enough.] Updated changelog.
2010-07-23 12:02:15 +00:00
Ivan Savenko
215dc95acb
- implemented Hill Fort (minor issue - you can do ANY upgrades, including archers to sharpshooters without Gelu and so on)
...
- fixed some g++ errors in macroses
- minor tweaks
2010-07-22 00:32:45 +00:00
Michał W. Urbańczyk
7ae02b7c5a
Fixed #471 .
...
Bonuses from artifacts are now inherited. Some work on artifacts set GUI. CArtifactsOfHero now operates on its own hero copy when picking artifact. Still more fixes are needed though.
2010-07-20 18:34:32 +00:00
Ivan Savenko
5dc444cd2b
- University is finally implemented, both town and map objects
2010-07-20 14:08:13 +00:00
Michał W. Urbańczyk
cedf6d812c
Half-done Altar of Sacrifice. (Sacrificing creatures should work)
2010-07-20 06:05:45 +00:00
DjWarmonger
49beed4e42
Support for secondary skill specialities. Lots of changes, may be buggy.
2010-07-17 17:02:11 +00:00
mateuszb
a7d3c5fbca
* minor cleanups
2010-07-16 14:22:18 +00:00
mateuszb
1c15ee34e5
* fixed #533
2010-07-15 14:53:06 +00:00
Michał W. Urbańczyk
fffef1d740
Changes towards Hill fort support.
2010-07-15 03:04:57 +00:00
Michał W. Urbańczyk
70bfd7ceb7
Minor (unnecessary copying of vector)
2010-07-12 10:56:57 +00:00
Michał W. Urbańczyk
49b7fc590d
Fix for Portal of Summoning. (ID is type of object, id is position of object instance in the map vector of object instances)
...
Most correct way of getting visitable position ;)
2010-07-12 10:42:51 +00:00
Ivan Savenko
bb7615309f
- Implemented Portal of Summoning (Dungeon)
2010-07-10 16:50:23 +00:00
Michał W. Urbańczyk
1e30045541
Support for Tavern on adv map.
2010-07-08 23:03:27 +00:00
Michał W. Urbańczyk
94f7ee41e2
Fixed some issues with hiring heroes: #25 , #232 , #333
2010-07-08 05:52:11 +00:00
DjWarmonger
fb7771fcc2
Minor tweak. Stables will now upgrade Cavaliers to Champions.
2010-07-07 12:20:15 +00:00
DjWarmonger
74364865ff
Minor fixes. Support for resource generation special.
2010-07-06 10:02:38 +00:00
Ivan Savenko
e4fcfd7044
- Skeleton transformer implemented
2010-07-03 12:00:53 +00:00
Ivan Savenko
60c90af39c
#41 - Implemented Castle Gates
...
#375 , #376 - fixed recruit window
#362 , #377 - fixed town window
2010-06-30 19:27:35 +00:00
DjWarmonger
1159750bb6
Support for #448 . Few code tweaks.
2010-06-29 09:59:14 +00:00
DjWarmonger
12f6d5a380
Redesigned artifact randomization.
...
Fixed #119 , #128 , #433 , #493
2010-06-28 05:07:21 +00:00
Michał W. Urbańczyk
21a05d73cb
Black Market and Artifact Merchant (only buying artifacts) support.
2010-06-27 16:03:01 +00:00
Michał W. Urbańczyk
ec6342d9a7
Serializer will now smartly send over network CArtifact* and CHero*. Unified handling of items stored in vector.
...
Started making support for Black Market / Artifact merchant.
2010-06-26 16:02:10 +00:00
DjWarmonger
dcf10e978f
Removed unnessessary code from previous commit.
2010-06-25 08:34:14 +00:00
DjWarmonger
08da1692cf
Several fixes for Whirlpool and stack removal.
...
Sea Captain's Hat is also supported.
2010-06-25 08:19:39 +00:00
DjWarmonger
db2bde9ae2
Support for Aurora Borealis
2010-06-19 10:42:30 +00:00
DjWarmonger
a53be2d382
Minor tweaks for hiding tiles, now it belongs to CGObjectInstance class.
2010-06-19 09:13:10 +00:00
mateuszb
ea150305a2
* a few fixes for darkness; more are needed
2010-06-13 13:59:59 +00:00
DjWarmonger
6869551510
Experimental support for Veil of Darkness - messing around with new bonus style. Fixed Cover of Darkness for many players.
...
Minor fixes, as always.
2010-06-07 05:28:12 +00:00
Michał W. Urbańczyk
39eb87924e
Fixed #473 , #475 , #477
2010-05-31 21:14:15 +00:00
Michał W. Urbańczyk
585bc8ae6b
Fixed #458 and #460
2010-05-27 21:29:56 +00:00
Michał W. Urbańczyk
3111a904ae
Several minor fixes.
2010-05-26 21:59:58 +00:00
Michał W. Urbańczyk
8bda10b695
* Freelancer's Guild support (both town structure and adventure map object)
...
* fixed crashes on r-click on hero in tavern and adv map
* fixed descync issue
* allow free movement FROM guarded tile
2010-05-26 09:47:53 +00:00
mateuszb
6541e89f90
* support for orb of vulnerability
...
* updated changelog
2010-05-21 16:43:07 +00:00
mateuszb
76f61fa09e
* implemented hourglass of evil hour
2010-05-20 11:06:40 +00:00
mateuszb
f36918eb7e
* [previous commit adds support for golden bow too]
...
* support for ammo cart
* partially written support for orb of vulnerability
2010-05-20 10:54:24 +00:00
mateuszb
0ac8430b11
* support for armor of the damned
2010-05-19 18:06:16 +00:00
Michał W. Urbańczyk
1002bd2b4f
Trading Post handling.
2010-05-18 07:01:54 +00:00
mateuszb
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
mateuszb
edd31ef41b
* half-working boots of levitation and angel's wings
2010-05-15 15:00:19 +00:00
Michał W. Urbańczyk
70fa697f8b
Support for War Machine Factory.
2010-05-15 08:33:32 +00:00
Michał W. Urbańczyk
bb80d4bc02
* support for build grail victory condition
...
* improved formula for necromancy to match better OH3
* Support for new town structures:
- Lighthouse
- Colossus
- Guardian Spirit
- Necromancy Amplifier
- Soul Prison
2010-05-14 02:18:37 +00:00
Frank Zago
df151cceba
Various compile and warning fixes.
2010-05-12 02:32:56 +00:00
mateuszb
29a720f938
* fixed SPELL_AFTER_ATTACK
...
* fixed #452
2010-05-11 17:09:08 +00:00
OnionKnight
87e66fff31
* Changed artifact handling so bonuses from constituent artifacts in combinational ones are added implicitly.
...
* Discovered bug when attacking guarded visitables. Needs to wait before battle is over.
2010-05-09 19:10:59 +00:00
mateuszb
adbc142ff0
* a bit of campaign support
2010-05-08 18:56:38 +00:00
Michał W. Urbańczyk
921bddc35e
Some changes to the market window, sending resources to other players.
2010-05-07 22:10:32 +00:00
mateuszb
3c72644880
* teleportation implemented
2010-05-07 14:05:48 +00:00
mateuszb
dbbbaa1e18
* life drain implemented
...
* fixed #134
* fixed damage calculation formula
2010-05-07 12:29:41 +00:00
OnionKnight
cc616616c1
* Creatures now guard surrounding tiles.
2010-05-06 12:13:31 +00:00
Michał W. Urbańczyk
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
mateuszb
5d3d9689e8
* luck support
...
* support for distance/wall penalties & no * penalty abilities
* reworked damage calculation to fit OH3 formula better
2010-04-06 13:19:54 +00:00
Michał W. Urbańczyk
9a632246de
Changes towards better bonus system.
2010-04-03 03:33:46 +00:00
Michał W. Urbańczyk
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
mateuszb
8b561ca00c
* fix for 444
2010-03-26 19:14:39 +00:00
Michał W. Urbańczyk
80f49badc9
Implemented Scuttle Boat and Dimension Door spells.
...
Fixed #417 and #418 .
Moved / refactored some code. Minor fixes.
2010-03-20 22:17:19 +00:00
Michał W. Urbańczyk
ad841f7fea
Implemented Summon Boat spell.
2010-03-10 23:16:30 +00:00
mateuszb
ac7bc76b7b
* implemented first aid kit including first aid secondary ability
2010-03-07 17:40:33 +00:00
OnionKnight
a96b21d06d
Fixed bug #416
2010-03-03 02:19:14 +00:00
OnionKnight
38004fc45c
Some code cleanup.
2010-03-02 23:40:13 +00:00
Michał W. Urbańczyk
eec43d3c58
Version set to 0.80. (real, fixed release)
...
Hopefully fixed #412 , #413 , #414
2010-03-02 20:12:32 +00:00
Michał W. Urbańczyk
9e6d3a4453
Version set to 0.8. (not release yet, waiting for a few more fixes)
...
* fixed possible crash on visiting Obelisk
* fixed #394 , #391 , #395 , #373
2010-03-01 18:22:22 +00:00
Ivan Savenko
32b6b9cb17
- Full support for scholar skill
...
- Some code for #366
- Fixed R-click issue from rev 1516
2010-02-28 10:01:36 +00:00
OnionKnight
dc2a0730e6
* Fixed duplication issue when transferring artifact to backpack. Really should be no bugs left now for the artifact screens.
...
* Tweaked artifact assembly to behave a bit more like H3; right-clicked artifact becomes the assembled one if it's in the right spot.
* Fixed so the backpack won't scroll when selecting the last artifact in the backpack.
2010-02-28 02:44:37 +00:00
OnionKnight
ad3371b4c0
It's now possible to assemble and disassemble artifacts.
...
There is some strange behavior when right-clicking on the artifact screen outside the slots though, all slots then get right-click handling and display the assembly dialog for whatever it finds.
2010-02-27 01:05:39 +00:00
mateuszb
4171a1959f
* new spell: fire shield
2010-02-26 15:52:48 +00:00
OnionKnight
0086bbbe8c
Any bugs when transferring artifacts should be fixed now.
2010-02-25 00:17:52 +00:00
mateuszb
3a76d72b69
* support for increasing / decreasing luck / morale for allies / enemies
...
* support for spell 77 (thunder-sth)
2010-02-24 18:11:08 +00:00
Michał W. Urbańczyk
0a950c508b
Grail digging and construction.
...
Minor fixes.
2010-02-24 13:03:36 +00:00
mateuszb
5b0d646ddb
* support for SPELL_AFTER_ATTACK, including most of spell 77 support
2010-02-23 15:39:31 +00:00
mateuszb
b2aa0e5930
* partial support for grail digging
2010-02-21 15:03:30 +00:00
Michał W. Urbańczyk
e6f31b7500
Compilation fixes for VC10.
...
Changes towards hot-seat support.
2010-02-20 13:24:38 +00:00
OnionKnight
ab75f4b1f8
Some work on artifact assembly.
2010-02-16 14:39:56 +00:00
Michał W. Urbańczyk
96819379c5
Fixed #109 , #352 , #359 .
...
Possibly also #344 , #353 .
Allowed switching heroes with l-click when another hero is selected. (works for not accessible heroes)
2010-02-13 04:47:31 +00:00
mateuszb
8637b021cc
* (hopefully) full reading of h3c
...
* minor changes
2010-02-12 15:04:01 +00:00
Michał W. Urbańczyk
e79507ab0d
Resolved #349 , #336 / #350
2010-02-12 07:49:17 +00:00
Michał W. Urbańczyk
0fdbe787dc
* New file: lib/HeroBonus.cpp - updated project files for MSVC
...
* Updated changelog
* Support for Lighthosues and Obelisks
* Bonus system extended on players
* Army speed won't affect movement points when sailing
* Picking grail position (digging not implemented though, puzzle map only partially)
* Minor improvements
2010-02-10 02:56:00 +00:00
OnionKnight
790a77c280
Locks for combination artifacts largely implemented, only one or two bugs when moving them around in a certain way. Artifact assembly still remaining.
...
To make sure these artifacts get (un)equipped properly the functions CArtHandler::equipArtifact and CArtHandler::unequipArtifact should be used instead of modifying artifWorn manually.
2010-02-08 21:17:22 +00:00
DjWarmonger
53365af90e
Last part of Seer Hut & Quest Guard code:
...
1.Required artifacts & army are now taken on completion.
2.Hoover tooltip.
3.Fixed bugs.
2010-02-07 16:05:27 +00:00
mateuszb
69bed4a8d6
* small changes
2010-02-07 15:06:14 +00:00
mateuszb
b670979cab
* compilation fix
2010-02-06 13:55:39 +00:00
mateuszb
5fbde49bfb
* another part of thieves' guild
...
* den of thieves
2010-02-06 13:49:14 +00:00
Ivan Savenko
fa735b6a67
- partial implementation of scholar skill (spell exchange works, but no message)
...
- some fixes
2010-02-06 13:27:58 +00:00
OnionKnight
137ab65a13
Fixed artifact screens so only local changes are made. Some ugly const casting, for now.
2010-02-05 22:28:31 +00:00
Ivan Savenko
3aefb896fe
- Created config file for true type fonts (disabled by default)
...
- Implemented buildings with bonuses for defending hero (glyphs of fear, fountain of fortune, some grails)
- Minor fixes
2010-02-04 15:50:59 +00:00
DjWarmonger
ce00ceaf08
Next part of Seer Hut code, including large number of Components, packs and help functions.
...
Mapa now contains separate vector of monsters to avoid linear search trough all objects.
2010-02-02 17:05:03 +00:00
Michał W. Urbańczyk
49e56e3749
7 days without castle loss condition. Minor fixes.
2010-02-01 23:30:03 +00:00
Michał W. Urbańczyk
172b3b0158
Further loss improvements.
2010-02-01 19:19:42 +00:00
Michał W. Urbańczyk
94fa59cf45
* Compilation fix (missing includes, do not remove)
...
* New settings.txt file (needed for kingdom overview to work)
* Last remainings of h3m format: hero placeholders parsing
* Minor improvements
2010-02-01 17:07:46 +00:00
Michał W. Urbańczyk
8552fd2fb0
Fixed some crashes with std loss condition.
2010-01-30 15:00:05 +00:00
Michał W. Urbańczyk
6803d08c6c
Further victory conditions supported:
...
Transport artifact
Find artifact
Gather army
Gather resource
Build city
2010-01-30 12:46:15 +00:00
Michał W. Urbańczyk
5279e2e9fc
First part of support for victory & loss conditions.
...
Implemented and tested are
victory:
Defeat hero
Capture town
Defeat monster
Flag dwellings
Flag mines
Lose:
Loss hero
Time expire
**
Some others may work but not has been tested yet.
I've added a new page in VCMI Status spreadsheet with status of various victory/loss conditions.
2010-01-29 20:52:45 +00:00
mateuszb
8447e58c39
* fixed #72 , #242 , #252 (all crashes seem to be caused by harpy dying in retaliation and causing end of battle)
2010-01-29 18:17:07 +00:00
mateuszb
2fdc53594b
* fix for #123 (I hope)
2010-01-29 16:35:05 +00:00
mateuszb
23a32ebf7a
* fixed bug #20
...
* minor changes
2010-01-29 16:19:12 +00:00
mateuszb
b0a587ff08
* fixed #282 , #295 and partially #299
2010-01-28 17:23:01 +00:00
Ivan Savenko
c6408f5b4b
- Full support for Mystic Pond (Rampart)
...
- Fixed converHordes issue
- Partial implementation of kingdom overview window
2010-01-28 16:15:46 +00:00
Ivan Savenko
0f22ba0c0f
- First part of kingdom overview window (not a 100% stable)
...
- Implemented town buildings: dwarven treasury, ballista yard, partially - mystic pond
2010-01-25 21:25:14 +00:00
Frank Zago
3ec6cfd115
(linux) Meved version to 0.75 (at last) and regenerated the makefiles.
2010-01-25 03:19:55 +00:00
DjWarmonger
a058832862
Fixed # 109 from r1416
2010-01-11 09:18:52 +00:00
Ivan Savenko
58d1ec7ac5
2010-01-01 18:54:31 +00:00
OnionKnight
ef5b1ca1de
* Fixed bug #112
...
* Improved the security checks for ExchangeArtifact and SetArtifact, but have also come to realize that SetArtifact is inherently broken and can be used for cheating. :(
* Preliminary work for combination artifacts, it's now possible to identify artifacts that are combined and what they're made up of.
* Happy New Year!
2009-12-30 15:33:28 +00:00
DjWarmonger
6bff8aec34
Actually this one contains fixed Pyramid
2009-12-29 17:15:03 +00:00
Ivan Savenko
def041a8c9
#39 and #106 - fixed cosmetic buildings behaviour
...
#102 - fixed config + requirements system
#161 - extended clickable rectangle
and some minor fixes
2009-12-29 13:40:16 +00:00
DjWarmonger
e05c73d6ea
Fixed #274
2009-12-24 06:48:45 +00:00
Michał W. Urbańczyk
1c32679f93
Implemented flagged garrisons passableness ( #150 ). Full support for BorderGates.
2009-12-20 17:14:14 +00:00
Michał W. Urbańczyk
d037bec1be
Fixed #229 , #290 .
...
Fixed problems with accessing shared memory sometimes occurring after application has previously crashed.
2009-12-19 12:31:57 +00:00
OnionKnight
0a96decf87
* Fixed the artifact screen completely, hopefully. Structural overhaul of the CArtPlace and CArtifactsOfHero classes, and I had to add a new server message SetArtifact to deal with things properly. The only thing that differs from H3 now is that you can't have gaps of empty slots in the backpack.
...
* Preliminary work on bug #112 , a bigArtifacts set is added to CArtHandler.
2009-12-01 23:19:43 +00:00
Michał W. Urbańczyk
a3bfde9a41
Hopefully fixed #261 , #263 , #246 .
2009-12-01 21:05:57 +00:00
Michał W. Urbańczyk
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
Michał W. Urbańczyk
8f217c5cdf
Fixed #50 , #191 , minor
2009-11-20 22:35:18 +00:00
DjWarmonger
adf3c9fd4b
Resolved bugs #76 and #168 which always gave same heroes in tavern.
2009-11-15 14:06:25 +00:00
Michał W. Urbańczyk
a6f61e33bd
* restored 0.74 savegames compatibility (for easier reproducing reported issues)
...
* Fixed #184 and #189
* minor fixes
2009-11-13 19:04:36 +00:00
Michał W. Urbańczyk
f99c4d3c66
Fixed #110 .
...
Some minor changes / fixes.
2009-11-13 16:02:25 +00:00
DjWarmonger
a2e9e351e1
Fixed wrong call in issue #208 .
2009-11-11 18:20:18 +00:00
DjWarmonger
7a622c6858
Minor fix for last revision.
2009-11-11 17:55:07 +00:00
DjWarmonger
e1c793068d
1.Support for Skyship - revealing entire map
...
2.Reorganization of visible tiles processing
3.Turned off revealing the map at build structure as it caused odd conflict
2009-11-11 17:45:03 +00:00
OnionKnight
2b1f395c70
* Minor bug fix for previous fix when transferring artifacts from one hero backpack to another.
2009-11-11 09:52:38 +00:00
OnionKnight
64a72c39cb
* Fixed bug 101, placing artifacts in specific slots in the backpack. Cleaned up swapArtifacts() to use more descriptive names as well.
2009-11-10 03:10:14 +00:00
mateuszb
db4ee5844f
* implemented 206 and 207 from mantis
2009-11-08 14:44:58 +00:00
DjWarmonger
882ae5a53a
Fixed bug #208 - lookout tower (and possibly other structures) update map view when built.
2009-11-08 07:20:42 +00:00
DjWarmonger
bf7dfca6f5
Fixed bug #203 - no neutral town growth
2009-11-07 20:23:39 +00:00
DjWarmonger
ddd755c0c1
1.Removed unused code from hero handler
...
2.Minor changes in GUI
3.Attempt to manage different alignments of ships
2009-10-28 10:45:45 +00:00
mateuszb
f109c51f7f
* bug 146 fixed
2009-10-17 13:59:25 +00:00
mateuszb
dd7991c541
* fix for bug 170
2009-10-17 13:50:09 +00:00
mateuszb
0078037df8
* compilation fixes for MSVC / minor changes
...
* CDefHandler::openFromMemory DOES NOT WORK! It seems to be design error, not windows specific.
Note: please write more C++-like code (declarations don't have to be in the beginning of block of code, use C++-style casts, follow our naming convention for structs / classes, don't write struct before structure's name etc.)
2009-10-14 12:44:44 +00:00
Frank Zago
044875d500
Rewrote a piece of CLodHandler::init.
2009-10-10 23:25:34 +00:00
Frank Zago
b02d4c1c2f
(linux) Manage one directory per user for save games and config.
2009-10-10 05:47:59 +00:00
Frank Zago
668b203486
Work with full file paths instead of partial ones.
2009-10-10 01:42:33 +00:00
DjWarmonger
60085e2249
Fixed bug 116 - constructing bonusing buildings will now affect town heroes.
2009-10-06 06:15:56 +00:00
Michał W. Urbańczyk
fe7ef6bbe1
Smart map object serialization over net.
...
Fixed doubling click sound on map selection.
2009-10-06 00:32:33 +00:00
DjWarmonger
9792c64cbf
Fixed bug #71 . Little redesign of town buildings handling.
2009-10-04 14:20:19 +00:00
Frank Zago
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
mateuszb
540e15d4ea
* when active stack is killed by spell, game behaves properly
2009-09-28 15:05:35 +00:00
mateuszb
7382314dfd
* battle should now end automatically when last stack of one of sides is killed by a spell
...
* minor changes
2009-09-28 14:21:48 +00:00
DjWarmonger
55925e0eea
1.Fixes for RazeStructures net packs.
...
2.Support for Pyramid. Unfortunately untested entirely as combats won't work on my system.
2009-09-24 17:54:02 +00:00
mateuszb
9a1669b926
* animation of catapult
...
* stacks won't be reversed when attacked by turrets
2009-09-24 13:44:55 +00:00
Michał W. Urbańczyk
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
mateuszb
e9c991a180
* compilation fixes (I didn't test everything, I hope it works)
2009-09-23 12:05:33 +00:00
DjWarmonger
91b4212c5f
Support for Magic Spring
...
Optimized Pandora Box
2009-09-22 16:12:33 +00:00
DjWarmonger
7c2b54844f
Update for previous rev. Support for synchronous building demolition.
2009-09-22 14:27:46 +00:00
Michał W. Urbańczyk
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
mateuszb
1f958bc240
* fixed problem with stack positioning on battlefield when creature bank is attacked
2009-09-19 09:13:28 +00:00
DjWarmonger
7660e29751
Creature banks are now functional, however there are some glitches listed on our board.
2009-09-17 06:19:27 +00:00
DjWarmonger
df6a7d680e
Creature banks display resonable info about gathered loot.
2009-09-16 16:16:57 +00:00
mateuszb
4f88871f94
* minor fix
2009-09-16 11:07:30 +00:00
mateuszb
80b5126cf5
* support for RETURN_AFTER_STRIKE feature
2009-09-16 10:59:56 +00:00
mateuszb
e77e49783a
* improved handling of animations in battles
2009-09-15 12:20:11 +00:00
Michał W. Urbańczyk
efb1049860
* fixed crashes with paths when fastly switching heroes
...
* fixed and improved slider behavior
* fixed possible thread access conflicts
* support for attacking town with visiting hero
* fixed dwellings saving
* minor improvements
2009-09-12 22:17:23 +00:00
mateuszb
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
Michał W. Urbańczyk
df87b34662
* fixes for moving War Machines
...
* automatic merging same creatures stacks if needed when moving hero to town garrison
* minor improvements
2009-09-11 05:45:40 +00:00
OnionKnight
3d2ab9c753
* Garrison dialogs for garrisons. Required a bit restructuring of the code to take removable units into account. All showGarrisonDialog methods and the GarrisonDialog struct now takes it as a parameter. Visiting ally towns would benefit from this other than garrisons.
...
* Garrison right-click information shown, but not taking detailed info into account.
* Town info dialogs centered around cursor.
2009-09-09 17:49:03 +00:00
mateuszb
ea5a836a7e
* better positioning of moat/mlip
...
* minor change
2009-09-07 12:30:10 +00:00
Michał W. Urbańczyk
956a87f264
* redone stack queue algorithm
...
* recalculating paths only after finished movement / switching selection
* moving hero uses "new" pathfinder
* moving hero by arrow keys / numpad
* VCMI window should start centered
* fixed pairing Subterranean Gates
* fixed issues with creatures sounds after loading
* several minor changes and improvements
2009-09-07 02:29:44 +00:00
mateuszb
c5832fb9e8
* further fixes for sieges
...
* support for ballistics
2009-09-06 09:13:16 +00:00
mateuszb
05b0d82769
* next part of sieges
2009-09-05 14:10:26 +00:00
mateuszb
a4df8e8831
* partial support for arrow turrets
2009-09-04 14:11:42 +00:00
mateuszb
5bfbcfb000
* next part of sieges
...
* partial implementation of berserk spell (unit does not always attack the nearest creature, wrong handling of situation when nearest stack is too far)
* ballista can shoot (it was considered to be always blocked instead of always free)
2009-09-02 14:10:19 +00:00
DjWarmonger
749d54f686
I don't have time this week to finish and test Creature Banks, so I submit what have been made so far.
2009-09-01 14:36:48 +00:00
mateuszb
1fd156e79d
* minor fix for commit r1178
2009-09-01 14:02:47 +00:00
mateuszb
d25a5a795e
* next part of sieges
2009-09-01 13:54:13 +00:00
OnionKnight
e60c6785a4
* Necromancy implemented. Not sure if they client/server communication is right, but it works.
...
* Cloak of the Undead King implemented as well.
2009-08-31 22:04:00 +00:00
OnionKnight
c1b112d266
* LEVEL_SPELL_IMMUNITY (e.g. Dragon spell immunity) implemented.
...
* Modified the positioning of battle effects, they should look about right now.
2009-08-29 22:00:46 +00:00
Frank Zago
f92b6fc2b6
Depending on the distros, ffmpeg headers aren't always installed in the same directory. Fix from Szpak.
2009-08-29 15:52:29 +00:00
Michał W. Urbańczyk
1f0a1bd771
More fixes.
2009-08-28 19:34:08 +00:00
Michał W. Urbańczyk
780de79eba
Further fixes.
2009-08-28 10:05:45 +00:00
Michał W. Urbańczyk
a40d3fcf63
Fixed setting sides info on battle start (fixes crashes after attacking flagged non-hero objects)
2009-08-28 09:35:35 +00:00
mateuszb
adcfb3c020
* second part of sieges
...
* minor changes
2009-08-26 14:09:55 +00:00
DjWarmonger
af0cfe13a4
Fixed desync problem with Creature Banks and some other glitches.
...
The game is still unstable though. Please let me know if your game tends to crash when starting new map.
2009-08-26 05:08:59 +00:00
OnionKnight
a13d7fd595
* Added Blind to CCreatureHandler::getMindSpells()
...
* Fixed Angelic Alliance to the right factions.
* Added functions to determine good/evil status of a unit/faction. Was going to use it for both Evil Fog/Holy Ground and Angelic Alliance, but turned out the latter was a bit special. Could still be useful in the future with additional towns. CCreatureHandler seemed to be the best place for it.
2009-08-24 17:40:20 +00:00
mateuszb
fe2085fe42
* support for new creature abilities: hate, spell cost decreasing, spell vulnerability
...
* fixed crash when vcmiistari is applied on hero without spell book
2009-08-23 13:41:57 +00:00
mateuszb
56fe3b0547
* jousting support
2009-08-22 15:29:30 +00:00
Michał W. Urbańczyk
66dd31fd8a
* attacking and capturing towns
...
* r-click popups on selected town/hero.bonus and teams in pregame
* disabled music due to bugs in SDL_mixer and smpeg (probably it was the source of reported random crashes / hangups)
* minor fixes
2009-08-22 13:59:15 +00:00
mateuszb
c4b0bd9d7e
* new spell: remove obstacle
...
* minor changes
2009-08-19 10:59:42 +00:00
mateuszb
93f5c83d7c
* support for new spell: hypnotize
2009-08-18 11:49:34 +00:00
mateuszb
072c1f8d12
* support for multiple retaliations per turn, unlimited retaliations, counterstrike spell
...
* stack is not resurrected when it is under a living stack
2009-08-17 11:22:29 +00:00
mateuszb
e892913635
* support for battles in creature banks (hopefully)
2009-08-17 10:47:08 +00:00
DjWarmonger
fbc117b034
1.Pandora and Event now give experience correctly
...
2.Better, but not complete handling for big exp values
2009-08-17 10:02:29 +00:00
Michał W. Urbańczyk
b4070c6b3e
Third part of GUI reorganization:
...
* Rewritten pregame
* FNT fonts support
* Several additions to GUI system.
Changes are significant, some things may be broken.
2009-08-17 08:50:31 +00:00
DjWarmonger
dd91e7e406
1. Support for Pandora Box
...
2. Improved functions handling experience. Now it works with values over 65K, but still didn't with event giving 99M exp
I have no idea what it has to do with AI though
2009-08-16 15:39:18 +00:00
mateuszb
4fc25c7b98
* corrected per-stack spell immunity handling
...
* support for new artifacts: * of Legion, shackles of war
2009-08-16 13:44:17 +00:00
OnionKnight
2b44cd35b6
Shooters with attack twice no longer attacks twice melee. (This assumes shooters would never be able to attack twice in melee)
2009-08-16 03:52:14 +00:00
Michał W. Urbańczyk
1d765e8f29
Second part of GUI reorganization. Some things may not work properly.
2009-08-11 16:05:33 +00:00
DjWarmonger
4653396d76
1.Support for Keymaster Tent & Borderguard, Eye & Hut of The Magi, Stables.
...
2.Partially done support for creature banks. ToDo: load config file, start battle with surrounding enemies
3.Attempt to increase hero exp capacity. You may ignore it at the moment.
4.Fixed negative countdown in timeHandler.
2009-08-11 07:50:29 +00:00
mateuszb
0787b6a79b
* new spell: blind
...
* a part of hypnotize support
* minor changes and bugfixes
2009-08-07 11:22:17 +00:00
mateuszb
ea6ab102a7
* support for new spells: anti-magic and elemental summoning
...
* obstacles in battles should fit now the battlefield
* minor changes
2009-08-06 14:02:21 +00:00
mateuszb
507597301f
* new spells: resurrection, animate dead
...
* a lot of minor fixes in battles
* resolution & depth in settings.txt reverted to 800x600 and 24bpp
2009-08-05 12:46:08 +00:00
Trevor Standley
48581962ab
More AI changes. Minor associated fixes.
2009-08-05 09:46:55 +00:00
Michał W. Urbańczyk
310c369265
Fixed two possible block-ups in AI. Fixed possible problems with picking hero available to recruit (no more duplicates hopefully).
2009-08-05 00:05:37 +00:00
mateuszb
1872c2d575
* new spell: cure
...
* minor changes
2009-08-04 17:05:49 +00:00
Michał W. Urbańczyk
de1ed92379
* version set 0.73b
...
* config entry for 1600x1200 resolution
* several fixes
* http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3185#3185
2009-08-03 23:53:18 +00:00
mateuszb
f582bfde49
* fixed all problems in engine with wide creatures (I hope) (except problem with range of flying wide creatures)
2009-08-03 14:29:29 +00:00
mateuszb
048ab62530
* some changes in code handling movement of wide creatures in battles. It could solve a few bugs but I'm not sure
2009-08-02 14:21:18 +00:00
Michał W. Urbańczyk
78afb07f52
New, experimental crashhandler for windows (creates minidumps).
...
Several minor fixes and improvements.
2009-07-31 20:10:22 +00:00
mateuszb
586957b749
* minor changes
2009-07-31 11:20:53 +00:00
mateuszb
8e63c73cf8
* flaggable objects change their color on minimap when taken over
...
* corrected damage inflicted by spells and ballista
* minor changes
2009-07-30 12:49:45 +00:00
Michał W. Urbańczyk
aad61c8ac8
Fixed exchanging artifacts between heroes. Fixed def visibility issues. Refactored alphaTransform.
2009-07-27 12:29:10 +00:00
mateuszb
27dda485a4
* support for spell resistance, including secondary skill (resistance) and new artifacts (Garniture of Interference, Surcoat of Counterpoise, Boots of Polarity) and unit's resistance (such as dwarfs' resistance)
2009-07-26 12:15:38 +00:00
Michał W. Urbańczyk
9fd4b5bb62
Fourth part of sailing code.
...
Support for Shipyard (both for town and adventure map versions). Improved boat displaying code. Minor changes.
2009-07-26 03:33:13 +00:00
mateuszb
17064478fa
* support for cursed ground
2009-07-22 09:31:20 +00:00
mateuszb
1c2edcf496
* support for new objects:
...
- magic plains
- fiery fields
- rock lands
- magic clouds
- lucid pools
- holy ground
- clover field
- evil fog
2009-07-21 13:53:26 +00:00
Michał W. Urbańczyk
9206a13390
Fixed fighting guardians of Dwellings (and other objs as well).
...
Most of creature generators should work fine.
2009-07-20 23:34:06 +00:00
Michał W. Urbańczyk
3a1e252895
Minor changes (visitdir organization)
2009-07-19 22:16:07 +00:00
Michał W. Urbańczyk
9272f501cd
Second part of sailing support:
...
* boat graphics and appropriate flags are used
* disembarking possible
* new objects supported:
- Flotsam
- Shipwreck Survivor
- Sea Chest
2009-07-19 03:10:24 +00:00
Michał W. Urbańczyk
2ca7cc5b5c
First part of Boat and sailing support.
...
[It's possible to enter the boat and move by sea, graphical glitches removal and disembarking will be done soon]
2009-07-19 01:00:19 +00:00
Michał W. Urbańczyk
eb40ade906
* saving system options
...
* saving hero direction
* minor changes in saving
2009-07-18 03:13:13 +00:00
Michał W. Urbańczyk
d1d2823c58
* fixes for glitches in garrisons in non 800x600 resolutions
...
* fixed timed events
* in recruitment window upgraded creatures will be selected by default
* bumped version number
* spell points won't be negative
2009-07-17 21:53:28 +00:00
Michał W. Urbańczyk
23803c9f17
* improved Events handling
...
* fixed saving town available creatures info
* minor improvements
2009-07-15 22:46:00 +00:00
Michał W. Urbańczyk
64d9665c39
* fixed crash when there was flaggable building next to map edge
...
* increased char per line limit for subtitles under components
* saves are sorted primary by map format, secondary by name
* fixed displaying date of saved game (uses local time, removed square character)
* removed redundant quotation marks from artifact events text
* corrected some exp/level values
* primary skills cannot negative values
* fixed crash on entering hall when town was near map edge
* workaround to prevent crashes when gaining same sec skill on leveling serie
* fixed displaying luck effect animation
* minor improvements
2009-07-12 14:07:36 +00:00
Michał W. Urbańczyk
db2f8c1d7c
* capitol bar in town hall is grey (not red) if already one exists
...
* disabled autosaving on first turn
* bonuses from bonus artifacts
* fixed crash on battle with neutral creatures
* minor improvements
2009-07-10 23:40:10 +00:00
Frank Zago
df1e3bf7bd
Many typos.
2009-07-07 03:48:00 +00:00
Michał W. Urbańczyk
b551f6a72b
Partially done support for external creature dwellings.
2009-07-06 19:41:27 +00:00
Michał W. Urbańczyk
2f73b6cd1e
* pressing enter or escape close spellbook
...
* spellbook shows adventure spells when opened on adventure map
* removed redundant quotation marks from skills description
* erasing path after picking objects with last movement point
2009-07-03 19:57:14 +00:00
Michał W. Urbańczyk
824061e185
* it's possible to exchange stacks between heroes
...
* fixed bugs with displaying stacks health
* 'T' hotkey opens marketplace window
2009-07-01 07:04:21 +00:00
mateuszb
1cac083239
* added native terrain bonuses in battles
...
* number of units in stack in battle should now fit the box
* non-living and undead creatures have now always 0 morale
2009-06-30 12:28:22 +00:00
mateuszb
85eb5c7eb9
* artifact manipulation in exchange window works (without switching artifacts between different heroes)
...
* support for 3 new artifacts:
- Ring of Vitality
- Ring of Life
- Vial of Lifeblood
* restructures creature ability preparing (creature abilities are now loaded from cr_abils.txt file). It needs further work - all changes in abilities should be moved from CCreatureHandler.cpp to cr_abils.txt as it's done in this commit (I hope it's clear how it should be done as there is an example)
2009-06-28 13:49:39 +00:00
Frank Zago
6cf3823154
Correctly count the number of wandering heroes when moving hero off garrison.
2009-06-24 03:14:46 +00:00
Frank Zago
a11ea59418
Video player compilation.
2009-06-20 01:40:52 +00:00
Michał W. Urbańczyk
ffe2ff9647
Estates / hero bonuses won't give resources on first day.
2009-06-19 01:01:43 +00:00
mateuszb
8231a6e6cc
* first part of exchange window
...
* minor changes
2009-06-16 11:18:14 +00:00
Michał W. Urbańczyk
a17936908a
* updated changelog
...
* version set to 0.72
* integrated save format version to the CLoadFile
* fixed problems on entering non-number as resolution number
* minor improvements
2009-06-01 22:31:11 +00:00
Michał W. Urbańczyk
cff70406f1
* enter can be used to open window with selected hero/town
...
* fixed slider behavior when showing less maps/games than available slots
* added a few missing sounds for creatures
* fixed problems with artifacts info caused by bug in serialization
* fixed bug in Scholar's serializetion
* all stacks features will be serialized (should fix problems with missing premies from artifacts)
* proper serialization of HeroBonus, fixes some problems/crashes
* resource silos won't give resources on the first day
* fixed problems with removing artifacts when all visiblebackpack slots are full
2009-05-30 16:00:26 +00:00
Frank Zago
5eb067e3fd
Revert memory mapped support for LOD files (r881, r886 and r895) because on Windows these files get locked and other applications cannot access them anymore.
2009-05-26 04:52:34 +00:00
mateuszb
4f12f73cb9
* next part of stack bonus system
...
* support for a few new creatures
2009-05-24 17:35:11 +00:00
Frank Zago
6635cf4f23
Made a few functions static or static inline.
2009-05-23 22:57:39 +00:00
mateuszb
564c8ae839
Common changes.
...
for changes see http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2576#2576
2009-05-22 19:20:30 +00:00
Frank Zago
73949f3367
Build fixes for linux.
2009-05-21 00:55:30 +00:00
mateuszb
429b226517
* moved a few files
2009-05-20 10:08:56 +00:00
mateuszb
35f7281024
* battle options window works again
...
* reorganization of GUI code
2009-05-19 18:23:04 +00:00
Frank Zago
199be7b06e
Added boost iostreams lib.
2009-05-18 00:07:43 +00:00
mateuszb
27ffad3580
* next part of stack bonus system
...
* stacks can shoot again
2009-05-17 15:24:50 +00:00
mateuszb
38226c1056
* further changes in stack feature code
2009-05-16 14:49:06 +00:00
mateuszb
cc053e4dc2
* partially reverted r861 - one of those lines is actually useful
...
* fixed bug with defending / waiting while no stack is active
2009-05-12 17:30:32 +00:00
Frank Zago
788343dd1d
Typo: cast is an irregular verb.
2009-05-12 03:35:51 +00:00
Frank Zago
68d106ff1a
Let's cast combat spells again.
2009-05-12 03:13:07 +00:00
mateuszb
3c50890d16
* msvc compilation fix
...
* fixed problem with maximal spell level checking reported by ubuntux
2009-05-10 13:00:15 +00:00
Michał W. Urbańczyk
b961d22052
* the number of creatures at the beginning is their base growth
...
* clicking scrolling arrows in town/hero list won't open town/hero window
* fixed crash on NewGame -> Single -> Back -> Back -> LoadGame -> Single when no saves available
* fixed crash on clicking "Load" in load game menu when no saved games available
2009-05-09 22:19:41 +00:00
Michał W. Urbańczyk
90fd75e66c
* Removed trailing newline from settings.txt (caused warning)
...
* Sprite/Bitmap handlers moved to VCMI_Lib
* Moved volume sliders 1px down for better look
2009-05-09 16:18:27 +00:00
mateuszb
ae2909667d
* redesign of stack's abilities and bonuses - not 100% working, but close ;]
2009-05-08 16:55:04 +00:00
mateuszb
b5ae7d5cbe
* refactorings and comment coverage improvements
2009-05-07 17:20:41 +00:00
mateuszb
4f30bde636
* bugfixes and refactorings
2009-05-07 15:19:52 +00:00
Frank Zago
8172493467
Updated autoconf generated files.
2009-05-07 04:52:40 +00:00
Frank Zago
81d2a36df6
Autoconf rework.
2009-05-07 04:45:59 +00:00
Michał W. Urbańczyk
6aacc95945
Patch from Ubuntux:
...
* Revert a change from rev 826 that breaks compilation under gcc.
( vcmi_fix_linux_no_compile.diff )
2009-05-03 23:43:07 +00:00
mateuszb
047590427f
* support for new hero bonuses (BLOCK_MORALE, SECONDARY_SKILL_PREMY (archery), AIR_SPELL_DMG_PREMY, EARTH_SPELL_DMG_PREMY, FIRE_SPELL_DMG_PREMY, WATER_SPELL_DMG_PREMY, BLOCK_SPELLS_ABOVE_LEVEL, SPELL_IMMUNITY, BLOCK_MORALE, FIRE_SPELLS, AIR_SPELLS, WATER_SPELLS, EARTH_SPELLS, SPELL, SPELLS_OF_LEVEL). It means that following artifacts are now supported:
...
- Orb of the Firmament
- Orb of Silt
- Orb of Tempestuous Fire
- Orb of Driving Rain
- Bow of Elven Cherrywood
- Bowstring of the Unicorn's Mane
- Angel Feather Arrows
- Tome of Fire Magic
- Tome of Air Magic
- Tome of Water Magic
- Tome of Earth Magic
- Recanter's Cloak
- Orb of Inhibition
- Pendant of Dispassion
- Pendant of Second Sight
- Pendant of Holiness
- Pendant of Life
- Pendant of Death
- Pendant of Free Will
- Pendant of Negativity
- Pendant of Total Recall
- Spellbinder's Hat
- Spirit of Oppression
- Sphere of Permanence
I hope I listed them all here :). Please try them and report if something's wrong.
2009-05-03 16:14:16 +00:00
mateuszb
e9ed648415
* support for sorcery secondary skill
2009-05-02 17:43:57 +00:00
mateuszb
bb8e505ccd
* refactoring
2009-05-01 14:37:25 +00:00
mateuszb
b0e2d13b4e
* new spells:
...
- precision
- slayer
* refactoring
2009-05-01 13:42:41 +00:00
mateuszb
621400ac85
* small refactoring
2009-04-30 14:59:30 +00:00
mateuszb
d14083272d
* new spells
...
- protection from air
- protection from fire
- protection from water
- protection from earth
* a bit of refactoring in spell handling code
2009-04-22 10:03:13 +00:00
mateuszb
e88ba16ffa
* ubuntux's patch (vcmi_fix_res2)
2009-04-22 07:46:27 +00:00
mateuszb
35f63bdc5f
* new spell (disrupting ray)
...
* a few code cleanups
2009-04-21 17:32:43 +00:00
Michał W. Urbańczyk
c8b6858716
* mostly done Events objects handling
...
* some moving hero code improvements
* fixed Blacksmith
* minor changes
2009-04-20 22:57:07 +00:00
mateuszb
408411d8c3
* next ubuntux's patch
2009-04-19 15:01:33 +00:00
mateuszb
899be22db0
* added new spells
...
- dispel
- armageddon
* spellbook cannot be opened by L-click on hero in battle when it shouldn't be possible
* minor changes
2009-04-17 14:01:22 +00:00
mateuszb
1dcb99254c
* ubuntux's levelup patch
2009-04-17 09:12:24 +00:00
mateuszb
7319e5cb0e
* canceling of casting a spell by pressing Escape or R-click (R-click on a creatures does not cancel a spell)
...
* new spells:
- frost ring
- fireball
- inferno
- meteor shower
- death ripple
- destroy undead
* spellbook button is inactive when hero cannot cast any spell
* obstacles will be placed more properly when resolution is different than 800x600
* minor changes
2009-04-16 14:01:27 +00:00
mateuszb
cc631b1362
* next ubuntux's patch
...
* normalized line endings (CR+LF)
* translated comments in CMessage.cpp
2009-04-16 11:14:13 +00:00
Michał W. Urbańczyk
d80afb1902
* server sends confirmation (given later to player interface) after applying request (will be needed for AI)
...
* created new package for injuring multiple units - needed for area spells (not tested)
* proper screen updating on garrison change
* spell effects will be removed when they time out
* Corpse (Skeleton) will be accessible from all directions
* new objects supported:
- Corpse
- Lean To
- Wagon
- Warrior's Tomb
* several minor improvements
2009-04-16 00:28:54 +00:00
mateuszb
f9ae91d88c
* further changes towards support for ranged spells
...
* added info about author & license in files
2009-04-15 14:03:31 +00:00
Michał W. Urbańczyk
38b680ed30
* Patch from Ubuntux: fix to avoid resources becoming negative [on handling timed events]
...
* improvements for Garrison Window
* some changes towards Events support
* minor fixes
2009-04-14 23:29:26 +00:00
mateuszb
4d3808cfa0
* applied ubuntux's patches
...
* fixed AmptyAI (it builds now)
2009-04-13 18:52:20 +00:00
Michał W. Urbańczyk
de71191307
* Neutral creatures can join or escape depending on hero strength / army (partially done)
...
* Diplomacy secondary skill support
2009-04-12 01:48:50 +00:00
Michał W. Urbańczyk
f9aebcc4bd
* Started making support for garrison window. Leaving guardians in flagged mines.
2009-04-12 00:58:41 +00:00
Michał W. Urbańczyk
d72d988a9c
* fixed crash on closing application
...
* unified yes/no and selection dialog interface calls
* VCMI won't anymore be always giving all three stacks in the starting armies
* fix for drawing starting army creatures count
* support for School of Magic
* support for School of War
* support for Pillar of Fire
* minor changes
2009-04-11 01:32:50 +00:00
Michał W. Urbańczyk
7a9e323297
* fixed 8 hero limit to check only for wandering heroes (not garrisoned)
...
* srand at the beginning of handleConnection
2009-04-09 15:05:20 +00:00
Michał W. Urbańczyk
e3222fd34f
* fixed mana limit info in the hero window
...
* added support for Scholar object
* possibly fixed problems with handling obstacles info
2009-04-08 19:55:50 +00:00
mateuszb
47bc007d8c
Common changes (ours):
...
* Improvements for console
* Speed bonus support
* Minor improvements
2009-04-04 19:26:41 +00:00
Michał W. Urbańczyk
1983aee1b2
* resting in town with mage guild will replenih all the mana points
...
* battle will end when one side has only war machines
* fixed crasbug occurring on revisiting objects (by pressing space)
* started writing support for artifacts
2009-04-03 22:34:31 +00:00
Michał W. Urbańczyk
2710017049
* First Aid Tent won't get move
...
* presumably fixed crash occurring sometimes on battle end
* fixed problems when attacking with two-hex creature another two-hex creature, when tile before our destination was blocked
* minor changes
2009-03-31 20:47:53 +00:00
Michał W. Urbańczyk
cb31f5ada3
* Ammo Cart won't get move
...
* fixed crashes on equipping artifacts
* fixed Wisdom handling
2009-03-29 12:02:37 +00:00
Michał W. Urbańczyk
fca28fab10
* battle settings will be remembered between battles
...
* call-ins for serializing client and playerinterfaces (not used really yet)
2009-03-28 18:46:20 +00:00
Michał W. Urbańczyk
42773e67f2
* amounts of units taking actions / being an object of actions won't be shown until action ends
...
* provisional support for "Save" button in System Options Window
* forbidden buildings will be shown as forbidden, even if there are no res / other conditions are not fulfilled
* improved damage calculation formula
* several minor improvements
2009-03-28 00:38:48 +00:00
Michał W. Urbańczyk
cebd5db8b2
* it's possible to revisit object under hero by pressing Space
...
* splitting window allows to rebalance two stack with the same creatures
* slightly improved sliders
* minor improvements
2009-03-26 23:05:40 +00:00
Michał W. Urbańczyk
1915811a2e
Patch from keen: compatibility fixes for Mac OS X
2009-03-24 21:28:17 +00:00
mateuszb
3ea97f7893
* small refactoring
...
* Rect intersection by operator&
2009-03-21 17:22:16 +00:00
mateuszb
2a7ad63495
* massive spells go via one SetStackEffect
2009-03-21 16:03:07 +00:00
Michał W. Urbańczyk
b2c4f3e0fd
* fixed crash on saving when some objects havebeen removed
...
* support for multi-target attacks/spells in the protocol
* version bumped to 0.7d
2009-03-21 12:49:58 +00:00
Michał W. Urbańczyk
0cf1b2588d
* hero recruited in the town with Mage Guild will get spells (if has spellbook)
...
* fixed casting spells
* resolved some "taking address of temporary" warnings
* fixed removing killed Hero
2009-03-20 18:51:48 +00:00
Michał W. Urbańczyk
516b1e2b00
REMOVED FILES: CPatgFinder.h/cpp
...
Updated project files for MSVC and automake (I hope I didn't break it)
* Refactored pathfinding and integrated into CGameState.
* Fixed issues with wrong calculating movement cost at server side
* Hero infowindow won't be redrawed each time experience changes
* Removed memory leaks with CPaths-s
* Support for Sign objects
* Bumped savegame formt version to ensure old not compatible saves won't be readed
* Spellscrolls will disappear on visit (won't be treated as spellbooks anymore)
2009-03-19 14:17:19 +00:00
Łukasz Wychrystenko
a0057c5014
upd for build system(client and server)
2009-03-15 22:59:32 +00:00
Michał W. Urbańczyk
f33d3894bd
Possibly fixed compiling on gcc.
2009-03-15 12:53:58 +00:00
Michał W. Urbańczyk
6ce9a253a4
* support for Redwood Observatory
...
* support for Shrine of Magic Incantation / Gesture / Thought
* minor improvements
2009-03-14 11:25:25 +00:00
Michał W. Urbańczyk
d6283fd1ca
* fixed crash when there was no sabegames in Games/ subfolder
...
* fixed crash when loading map with a mine belonging to human player
* fixed crash on moving hero into town garrison
* fixed r-click infowindow for towns
* new sight radious calculation. Works as OH3 for heroes, towns and probably all objects. (to be tested)
2009-03-11 23:25:59 +00:00
Michał W. Urbańczyk
a7680d3957
Bugfixes and support for timed events.
2009-03-09 19:40:43 +00:00
Michał W. Urbańczyk
4653ca6b29
New file for VCMI_Server - NetPacksServer.cpp
...
Redone client -> server protocol.
2009-03-09 10:37:49 +00:00
Michał W. Urbańczyk
320e04a121
New files
...
For VCMI_LIB: lib/RegisterTypes.cpp lib/NetPacksLib.cpp
For VCMI_CLIENT: client/NetPacksClient.cpp
(+ headers)
Removed files
FOR VCMI_CLIENT: hch/CAbilityHandler.cpp and header
Redone sending and applying messages server => client
May be still buggy.
2009-03-07 17:08:40 +00:00
mateuszb
9eb6128b27
* correct handling of flying creatures in battles
...
* minor changes
2009-03-07 16:05:53 +00:00
Michał W. Urbańczyk
5ebb54ec59
should be fine...
2009-03-07 15:54:12 +00:00
Michał W. Urbańczyk
b1c0d10ece
2009-03-06 22:11:17 +00:00
Michał W. Urbańczyk
79ae1441ff
* support for numpad keyboard
...
* cannot build more than one capitol
* cannot build shipyard if town is not near water
2009-02-20 15:44:49 +00:00
mateuszb
2e47b5ce10
* probably fixed #8 from 0.7b forum
...
* fixed blockmap for obstacle 10
* better handling of creature animation framesInGroup
* vcmiistari no longer gives creature spell-like abilities
* probably correct calculation of occupiable hexes on battlefield
2009-02-20 13:06:20 +00:00
Michał W. Urbańczyk
6a3bfbee46
* added "Next hero" button functionality
...
* minor improvement for prison (hero appears at proper tile)
* only one spell can be casted per turn
* minor changes
2009-02-20 10:36:15 +00:00
Michał W. Urbańczyk
adf5c052f9
* support for prison
...
* updated changelog
2009-02-14 19:12:40 +00:00
Michał W. Urbańczyk
99aef852be
* probably fixed Bind effect
...
* reverted unwanted part of r730
* project files will now have relative paths to libs/includes
* more checkings on startup
2009-02-14 15:00:29 +00:00
Michał W. Urbańczyk
9dbe9bd277
Reverted r731
2009-02-14 14:37:13 +00:00
mateuszb
96a7e1600b
?!?
2009-02-14 13:51:21 +00:00
mateuszb
b42a7fa87b
* CCallback battle calls are more safe now when there is no battle (may prevent some bugs)
...
* corrected some obstacles entries
* removed two stack corruption bugs
* a few tweaks in battle path/available hexes calculation (more of them is needed)
2009-02-14 13:49:30 +00:00
Michał W. Urbańczyk
fd07f7f33e
Experimental commit...
...
* spellbook displays only spells known by Hero
* further fixes for leveling-up
2009-02-14 10:11:07 +00:00
Michał W. Urbańczyk
b2924064ee
* new movement cost calculation.
...
* fixed crashes on loading maps with flag all mines/dwelling victory condition
* minor changes
2009-02-12 14:44:58 +00:00
mateuszb
489bd1e4f2
* various obstacles fixes
...
* better support for battle backgrounds
2009-02-10 14:21:51 +00:00
Michał W. Urbańczyk
c83404a375
* fixed crash when there was no hero available to hire for some player
...
* pregmae wont crash if user gives wrong resolution number
* fixed 1024x600 screen resolution
* selection dialog (eg. for treasure chests) can be closed with enter key
* orientation of hero can't be change if movement points are exhausted
* numerous improvements for Tavern window (hover tips for buttons, button will be inactive if player has 8 heroes or there is a visiting hero in the town garrison)
* campfire, borderguard, bordergate, questguard will be accessible from the top
* spells not known by hero can't be casted
* restored checking mana points before casting spell
2009-02-09 16:18:48 +00:00
mateuszb
445653c880
* most of the obstacles (but needs some polishing)
...
* more appropriate animation of hero casting spell
2009-02-09 14:50:32 +00:00
Michał W. Urbańczyk
a113a8d289
* patch update from Dikamilo
2009-02-08 16:36:53 +00:00
Michał W. Urbańczyk
dd36cfce50
Patch from Dikamilo:
...
* compatibility fixes for MinGW
* Code::Blocks project files
2009-02-08 15:39:26 +00:00
Michał W. Urbańczyk
131c220685
* fixed r-click on tavern hero crash
...
* fixed removing one-week bonuses
* added keybindings for components in selection window (eg. for treasure chest dialog)
* HANDLE_EXCEPTIONC macro will rethrow exception after logging
2009-02-07 13:28:23 +00:00
mateuszb
811e6c0945
* hopefully resolved bugs 19 and 20 reported by Zamolxis
2009-02-06 15:56:03 +00:00
mateuszb
ba9b58d3a4
* moved graphics from CAbilityHandler to Graphics
...
* reading BALLIST.TXT
* minor changes
2009-02-06 14:15:45 +00:00
mateuszb
7b2585e422
* added mirth, sorrow, fortune and misfortune spells
...
* actual stack's morale/luck is displayed in creature info window
* initialization of morale/luck for siege machines
* removed redundant copies of spell casting code in CGameHandler.cpp
* corrected duration of frenzy spell which was incorrect in certain cases
2009-02-06 11:50:48 +00:00
Michał W. Urbańczyk
05b3e3215c
* magic well support
...
* improvements in the recruitment window
* improvements for pregame
[cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=97 issues 12-15 and 21 - 22]
* minor changes
2009-02-06 11:15:39 +00:00
mateuszb
0070c93888
* more support for attacking stacks for back by two hex stacks
...
* minor typo fixed
2009-02-05 14:44:27 +00:00
Michał W. Urbańczyk
e1d6ff54d7
* morale/luck support in battles
...
* minor improvements/fixes
* updated changelog
More objects supported:
* Faerie Ring
* Swan Pond
* Idol of Fortune
* Fountain of Fortune
* Rally Flag
* Oasis
* Temple
* Watering Hole
* Fountain of Youth
2009-02-05 09:49:45 +00:00
Michał W. Urbańczyk
218a3beaf6
* further changes towards luck/morale support
...
* partial support for Idol of Fortune, Fountain of Fortune, Faerie Ring, Swan Pond
2009-02-04 13:40:54 +00:00
Michał W. Urbańczyk
886ab94708
* spell books tend won't be placed in War Machine slots.
...
[Use ->getArt function to check if artifact is present, NOT ->artifWorn[slot]!!!]
* Rampart's Treasury requires Miner's Guild
* fixed hanging scrollbar and related crash
* fixed crash when hero get level and has less than two sec. skills to choose between
2009-02-04 03:55:12 +00:00
Michał W. Urbańczyk
680993459a
* started making morale/luck system
...
* basic calculation of hero/stack morale
* displaying morale in hero window
* redone checking if attack is possible (should fix some problems with attacking with 2-hex creatures, at least on server side)
* std::list serialization
* version set to 0.7b
2009-02-03 05:28:05 +00:00
Michał W. Urbańczyk
3d29c31deb
* further fight with hanged scroll tab
...
* fixed r-click on FoW crash
* fixed crash on opening tavern window after load
* fixed recruiting new heroes after load
* fixed crash on loading map with spell scrolls
* fixed more crashes
* displpaying difficulty level of saved game
* added support for Library of Enlightenment
* added notification when saving is done
2009-02-01 14:11:41 +00:00
Michał W. Urbańczyk
f28c76984c
Really fixed the evil bug.
2009-01-30 22:23:13 +00:00
Vadim Glazunov
8523fcbb43
Small GCC fixes. Autoconf/automake project files updated
2009-01-30 18:36:00 +00:00
mateuszb
673ffddf4a
* creature info window contains info about modified speed
...
* removed unwanted behavior - VCMI allows now for attacking when move action fails (command walk & attack) [to be tested as I'm not sure if I've done enough]
* battle result window properly displayed
2009-01-30 14:36:26 +00:00
mateuszb
5c51992294
* more developed battle console (spell destination select info, shoot info, move/fly info)
...
* removed crash when siege weapon is attacked
* corrected animation of defender's two-hex creature reverse
2009-01-29 18:07:31 +00:00
Michał W. Urbańczyk
5a36e61c32
* added support for serialization arrays of non-primitive types
...
* improved switching between fullscreen and windowed mode
* fixed crashbug occuring on closing adv options tab in pregame
* fixed crashbug on loading maps with events giving resources
* fixed data bug
* version set to 0.68b
2009-01-25 16:19:34 +00:00
mateuszb
a5c4586d13
* added support for non-damaging multi-target spells
...
* fixed not updating menu in battles
2009-01-15 17:01:08 +00:00
Michał W. Urbańczyk
b895fa35cb
* saving and resuming games should work!
...
(loading from the main menu, saving using "save [NAME]" command)
2009-01-12 20:05:56 +00:00
Michał W. Urbańczyk
3474fdaf05
* save/load partially working
...
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00
Michał W. Urbańczyk
847a4f222c
Further serialization code and refactorings.
2009-01-06 18:42:20 +00:00
Michał W. Urbańczyk
f853074d20
Minor changes (serialization and related)
2008-12-31 09:33:46 +00:00
Michał W. Urbańczyk
4a8ae4ed9a
* restored objects functionalities (hopefully working)
...
* new file in vcmi lib: IGameCallback.cpp
2008-12-27 01:01:59 +00:00
Łukasz Wychrystenko
d0d60175d7
break, fix and break and fix - now its fine :)
2008-12-26 15:00:34 +00:00
Łukasz Wychrystenko
b54a3bfb7c
unified guardians names
2008-12-26 01:46:53 +00:00
Łukasz Wychrystenko
b356524aee
corrected that missclick! hope so
2008-12-26 01:15:47 +00:00
Michał W. Urbańczyk
ae48e73fe7
* fixed reading .defs
...
* new system for handling objects and their behaviors, most functionalities don't work now but will be restored soon
* more serialization code, savegame/loadgame bit closer :)
CHANGES IN PROJECT FILES:
* removed CLua.h and CLua.cpp (server)
* removed CScriptCallback.h and CScriptCallback.cpp (server)
* added IGameCallback.h header (lib)
2008-12-22 17:48:41 +00:00
mateuszb
99691b0f11
* fixed compilation error
...
* added frenzy spell
* repaired order in stack queue in case a unit has waited (it should work correctly now)
* added spell positiveness info, positive spells cannot be cast on hostile stacks and vice versa
2008-12-20 17:08:51 +00:00
Łukasz Wychrystenko
dbd6f2bc82
project files for server and lib (netbeans 6.5)
2008-12-18 20:47:05 +00:00
Łukasz Wychrystenko
0f81bf5ae0
few tweaks to make (server, client) on gcc (4.3.3 ubuntu)
2008-12-18 20:30:26 +00:00
mateuszb
05e25ed3ea
* added spells: shield, air shield, bless, curse, bloodlust, weakness, stone skin, prayer
2008-12-06 16:45:54 +00:00
Michał W. Urbańczyk
c4bcf7b880
* better support for non-800x600 resolutions
...
* Merged CPreGameTextHandler into CGeneralTextHandler and moved to VCMI_Lib.dll (update your project files)
* Genius AI will be used as a default AI
* more code for save/load
2008-11-28 01:36:34 +00:00
mateuszb
2d1fc64dd9
* forgetfulness spell implemented
...
* partial support for many creatures being attacked at once (killed - not killed mixes and callback/engine support must be added)
2008-11-17 18:47:43 +00:00
Michał W. Urbańczyk
333e1d9878
* started making support for save/load options
2008-11-16 01:06:15 +00:00
Michał W. Urbańczyk
bb5819f4df
* support for Wait command (to be tested)
2008-11-15 15:26:08 +00:00
Michał W. Urbańczyk
f6807a2af9
* loading AI dll for neutrals
...
* hopefully fixed reported by Zamolxis garrison bugs
* fixed calculating hero level
* fixed gicing starting exp for heroes
2008-11-15 00:55:19 +00:00
mateuszb
0cc5571604
* new spell: implosion
...
* optimizations in def handling
* small refactoring
2008-11-12 18:59:33 +00:00
mateuszb
d2db5ba18e
* added slow spell
...
* a few mistakes in AC_desc.txt fixed
* appropriate spells cannot be casted at any tile
* small memory optimizations in CDefHandler
* minor fixes
2008-11-11 15:17:58 +00:00
mateuszb
6b9146f998
* lightning bolt and ice bolt spells
...
* displayEffect shows animations on more correct places
* removed three magic numbers (now they're BFIELD_WIDTH, BFIELD_HEIGHT and BFIELD_SIZE macros)
* minor changes
2008-11-10 19:06:04 +00:00
Michał W. Urbańczyk
a1606b2fb3
* partial support for Haste spell
...
* started making external settings file (will be used for support for non 800x600 screen resolutions)
* minor changes
2008-11-08 22:29:19 +00:00
mateuszb
ceb3cf8eae
* magic arrow probably works
...
* war machines support partially added
* queue of stacks narrowed
* minor fixes
2008-11-06 17:17:48 +00:00
Michał W. Urbańczyk
b988d5a51c
* improved hotkeys
...
* updated changelog
* version set to 0.64 (this rev will be released)
2008-11-01 22:32:56 +00:00
Michał W. Urbańczyk
248b5e8677
* added shots limit
...
* improved hero hiring
* tree of knowledge will give right number of exp points
* fixed bug with double showing "getting hit" animation
* more logs in initialization of creature handler
* added 'vcmiglorfindel' cheat (works as woggandalfwhite)
* minor improvements
2008-10-31 22:41:22 +00:00
Michał W. Urbańczyk
3a66dc2b7c
* added heroes pool for heroes available for hiring
...
* better handling disposed/predefined heroes
* blocked scrolling adventure map with mouse when left ctrl is pressed
* scholar will be accessible from the top
* partially done tavern and hero recruitment
* fixed bug with formation button in hero window
* unified hero initialization code
* minor changes
For 0.63c dev release
2008-10-26 20:58:34 +00:00
Michał W. Urbańczyk
2d01e00284
Added some kind of simple chatting functionality through console. Implemented several WoG cheats equivalents:
...
* woggaladriel -> vcmiainur
* wogoliphaunt -> vcminoldor
* wogshadowfax -> vcminahar
* wogeyeofsauron -> vcmieagles
* wogisengard -> vcmiformenos
* wogsaruman -> vcmiistari
* wogpathofthedead -> vcmiangband
Minor changes.
2008-10-18 23:20:48 +00:00
Michał W. Urbańczyk
9d099e8c54
* blocked map scrolling where dialog window is opened
...
* it's possible in battles to check remeaining HP of neutral stacks
* function in CGameInterface called when spell is casted. Support for the Magic Arrow from engine side.
* heroes can regain mana
* support for mistycisim and intelligence skills
* fixed leak with creating frameratekeeper every turn
* minor improvements
2008-10-18 11:41:24 +00:00
mateuszb
57238200e6
bugfixes
2008-09-30 14:50:11 +00:00
mateuszb
538ffb1579
* added support for archery, offence and armorer secondary abilities
...
* hero's primary skills account for damage dealt by creatures in battle
* magical hero are given spellbook at the beginning
* added initial secondary skills for heroes
* minor fixes and improvements
2008-09-29 11:03:30 +00:00
Michał W. Urbańczyk
917be0693d
* fixed start move animation
...
* added receiving exp (and leveling-up) after a won battle
2008-09-29 10:16:02 +00:00
Michał W. Urbańczyk
65ae3c3821
fixed server
2008-09-28 21:24:22 +00:00
Michał W. Urbańczyk
89cb5cb81b
* added calls for battle action start/end
...
* added interface for casting spells
* artifact info in backpack
* artifacts we pick up on the map go to the appropriate slot (if free)
2008-09-28 21:01:49 +00:00
mateuszb
ceaa51d07d
* fixed bug with levelling up
...
* fixed pictures of secondary skills in hero window (in left - click popups)
* added handling of navigation, logistics, pathfinding, scouting end estates secondary skills
2008-09-28 13:29:37 +00:00
Michał W. Urbańczyk
41acf5528c
* spells in the guild visible again
...
* garrisons on adv. map again available from all directions
* working Subterranean Gates, Monoliths
* minor code reorganizations
2008-09-23 10:58:54 +00:00
Michał W. Urbańczyk
48cb63f144
* possibly fixed bug with the mage guild when no spells available
...
* events won't be shown and won't block movement
* casualties among hero army and neutral creatures are saved
* it's possible to build lighthouse
* increased thread-safety (may prevent some crashes)
* minor fixes
2008-09-20 18:30:37 +00:00
mateuszb
ca1dbfe949
changed most of std::cout to tlogX
...
Alt+F4 quits the game
2008-09-19 12:09:15 +00:00
mateuszb
f97628e67f
a few minor fixes
2008-09-19 11:19:14 +00:00
Michał W. Urbańczyk
856698bd80
* fixes for MSVC (it needs to have global variables from library explicitly exported)
...
* renamed logging variables to tlogX ('_' in var names looks ugly)
* cleaned it improved setting formations
* fixed crashbug on maps with random hero
2008-09-19 08:16:19 +00:00
Vadim Glazunov
a1dd7f22f9
gcc fixes(bad idea to call global vars such as log2, this name used by math function). Colored log support on some non-win32 platforms. Small Automake project update
2008-09-18 20:24:53 +00:00
mateuszb
5ee37eeb3d
* fixed bug with disappearing head of a hero in adventure map
...
* some objects are no longer accessible from the top
* minor fixes
2008-09-18 14:18:08 +00:00
Michał W. Urbańczyk
70673674dc
* setting army formation
...
* minor changes
2008-09-18 13:54:54 +00:00
mateuszb
1402b6d634
partial support for formations in battles
2008-09-17 11:55:03 +00:00
Michał W. Urbańczyk
629d934810
* moved CConsoleHandler to lib (update project files)
...
* using winapi for better console handling with MSVC (I hope I didn't break anything at GCC)
* new logging system (use log0 - log5 for different priorities and colors (at msvc))
* using lists for storing activated interface objects
* more proper closing of server
2008-09-17 10:18:22 +00:00
Michał W. Urbańczyk
dc7d324045
* fixed attacking with shooting stack in a close-combat
...
* max/buy buttons in recruitment window are not active when there are no available creatures to buy
* reading no-retalation and twice-attack abilities
* boars are treated as two-hex
* dead stack won't retaliate
* support for double attack (not tested)
* one more typo fixed in battle backgrounds list
2008-09-14 07:11:07 +00:00
Michał W. Urbańczyk
e71b40ccc5
* counterattacks
...
* spells learning
* no tooltips for objects under FoW
* working resource silo
* new system for simple unit abilities/states
* neutral monster army disappears when defeated
* synchronization between client and server processes
* fixed battle ending
2008-09-12 08:51:46 +00:00
Vadim Glazunov
387f8230cf
gcc fixes
2008-09-09 21:10:24 +00:00
Michał W. Urbańczyk
5e0986f9d8
* fixed defending creature in battle end window (slot id was used instead of creature id)
...
* redone casualties calculacion
* redone battle-end checking (now it works always)
* further fixes/checkings around netcode
2008-09-09 07:05:02 +00:00
Michał W. Urbańczyk
6233066b91
* it's possible to use other port than 3030 by passing it as an additional argument
...
* removed some redundant warnings
* minor improvements for marketplace
2008-09-09 01:40:43 +00:00
mateuszb
781340f339
* window of result of battle is shown when one of players has no live stacks
...
* confirm window is shown before retreat
* minor improvements
2008-09-08 11:32:16 +00:00
mateuszb
062f59a583
printing casualties in battles and minor things
2008-09-07 15:39:19 +00:00
Michał W. Urbańczyk
3d147a7be8
* version set to 0.63
...
* mostly done morketplace
* more logging around netcode
2008-09-07 03:38:37 +00:00
Michał W. Urbańczyk
01105ddc41
* fixed move hero button
...
* creatures placeholders work properly
* abandoned mine won't show message with mithril
* it's possible to build glyph of fear in fortress
* emissaries won't be used in random creature drawing (they have no correct def)
* fixed problem with moving two-hex creatures one tile back
2008-09-01 00:25:36 +00:00
Michał W. Urbańczyk
7722d058f0
Fixed issues reported by Zamolxis:
...
* dismiss Hero works blocked in the castles
* the backpack scrollable arrows aren't available (yellow, clickable) even when backpack is empty.
* added missing info texts for buttons in hero window (and added functionality of enable tactic formations button)
* can select (single click) and enter castle (double click) from the map. Same for hero.
* Hero gets automatically selected after End Turn
* Hero is automatically selected when exiting town
* In Garrison or Hero army: units are selected when we first click on them
Fixed (at least partially) also a problem with disappearing path
2008-08-28 17:36:34 +00:00
Michał W. Urbańczyk
e856ad21a9
* fixed crashbug on loading maps with events giving creatures
...
* added confirmation window when hero is dismissed
* finished mage guild screen
* fixed some crashbugs with hero window on adventure interface
* fixed giving wrong war machines on start
* added blacksmith functionality
2008-08-27 10:19:18 +00:00
Michał W. Urbańczyk
ce6a9ae374
* fixed possible freeze when applying changes in gamestate
...
* it's impossible to enter not owned town
* giving starting bonus
* other improvements
2008-08-25 21:14:00 +00:00
Michał W. Urbańczyk
6613955463
* hero placed in the town starts as visiting hero, not garrisoned
...
* if hero doesn't have a spell book, he can buy one in a mage guild
* improvements in closing
* fixed crash on picking artifact
* added event message when picking artifact
* fixed problems with disappearing pikemen
* InfoWindow will be properly centered
* hero portraits again visible in PreGame
* fixed problems with handling Pandora's Box
* support for Campfires
* minor changes
2008-08-25 10:25:16 +00:00
Michał W. Urbańczyk
0607ec70cf
Support for Tree of knowledge and minor changes.
2008-08-22 12:21:09 +00:00
Michał W. Urbańczyk
1c7e3718a7
* swapping artifacts (needs testing)
...
* various improvements and fixes for interface
* put changelog into ChangeLog
2008-08-20 19:02:48 +00:00
Michał W. Urbańczyk
22ade5efbe
* make compatible with boost 1.36.0 (there was breaking change in boost::function)
...
* randomizing spells in towns
* fixed reading forbidden structures
* support for heroes starting in town garrisons
* hopefully fixed problems with wrong town defs (village/fort/capitol)
* moved CSpellHandler.* to VCMI_Lib (project files must be updated)
* redone reading spell info
* added missing features to the fort screen
* minor improvements
* partially done mage guild screen
2008-08-20 06:57:53 +00:00
Vadim Glazunov
65999f4429
2008-08-17 19:30:00 +00:00
Vadim Glazunov
3d11b2c4e7
Changes to work better on other(non win32) platforms
2008-08-17 19:15:31 +00:00
Vadim Glazunov
c94fbbf228
Changes to compile under gcc
2008-08-17 14:09:30 +00:00
Michał W. Urbańczyk
346af53961
* showing creature amount in the CCreInfoWindow
...
* fixes and improvements in dismiss/upgrade dialogs
* possibility of moving hero into the garrison
* viewing hero window in the town screen
2008-08-16 08:47:41 +00:00
Michał W. Urbańczyk
b83b80a71e
* upgrading creatures
...
* splitted map loading on several functions
* buttons can call multiple functions when pressed
* minor
2008-08-15 12:11:42 +00:00
Michał W. Urbańczyk
52f6de2877
Fixed entering/leaving town.
2008-08-13 09:28:06 +00:00
Michał W. Urbańczyk
59b808f4e1
* removing objects (resources, chests, dismissing heroes)
2008-08-13 04:41:11 +00:00
Michał W. Urbańczyk
b89c951d09
* version set to 0.62
...
* almost redone treasure chest
* working gaining levels for heroes (including dialog with skill selection)
* corrected another typo i cr_shots
2008-08-13 00:44:31 +00:00
Michał W. Urbańczyk
6e02c1c5db
* corrected typo in cr_shots
...
* recruiting creatures
2008-08-10 04:46:16 +00:00
Michał W. Urbańczyk
15ff21e84c
Battles: attacking, shooting, killing.
2008-08-08 23:02:32 +00:00
Michał W. Urbańczyk
4673a6d0e1
Improved pathfinding in battles, removed problems with displaying movement, adventure map interface won't be called during battles.
2008-08-06 17:49:47 +00:00
Michał W. Urbańczyk
d8eb861117
Battles:
...
* showing ranges
* improvements in moving
* workaround for neutrals
2008-08-05 23:33:08 +00:00
Michał W. Urbańczyk
a5354271e2
* improvements in battle support - moving creatures work though there are small graphic glitches
...
* @neweagle - I've replaced in VCMI_Lib.h your #ifndef with #ifdef since you modification affected (and broke) compilation only on MSVC. Is it ok now?
2008-08-04 23:04:15 +00:00
Vadim Glazunov
1bd3a677fe
Little changes to fix broken gcc compilation, hope MSVC still compile
2008-08-04 20:27:47 +00:00
Michał W. Urbańczyk
a15ffb06e6
* compiles under MSVC (haven't I broken anything on gcc?)
...
* half-done support for battles
2008-08-04 15:56:36 +00:00
Vadim Glazunov
038dd90517
Autoconf/automake scripts to easy building.
2008-08-04 09:33:08 +00:00
Vadim Glazunov
6e737bbf3c
Now netcode branch may be compiled with gcc. Sorry can't check build with MSVC
2008-08-04 09:05:52 +00:00
Michał W. Urbańczyk
1f4b4364df
Dismissing heroes / minor.
2008-08-01 21:41:38 +00:00
Michał W. Urbańczyk
bfad10a8e4
* added fast graphical cursor :)
...
* building structures should work
2008-08-01 18:13:33 +00:00
Michał W. Urbańczyk
e5a064f36b
Improved threa-safety, almost finished building structures in towns.
2008-08-01 11:21:15 +00:00
Michał W. Urbańczyk
5c5c80933b
Made CreatureSet serializable and using creature id. Stack moving, swapping, merging, splitting.
2008-07-31 13:21:42 +00:00
Michał W. Urbańczyk
28d5c184a9
Mines and object visitable once per week working.
2008-07-31 10:35:22 +00:00
Michał W. Urbańczyk
03287540c7
Further code for objects (mines) - not finished.
2008-07-30 21:27:15 +00:00
Michał W. Urbańczyk
b4f383f196
Slowly recovering object scripts.
2008-07-30 17:51:19 +00:00
Michał W. Urbańczyk
add34b26ed
Further refactoring: merged terrain and undergroundTerrain in Mapa.
2008-07-29 19:10:28 +00:00
Michał W. Urbańczyk
08b6796545
Mainly refactoring
2008-07-29 09:53:27 +00:00
Michał W. Urbańczyk
3247a9a4dd
Rewrote hero moving code. Seems to be working.
2008-07-28 12:44:08 +00:00
Michał W. Urbańczyk
62b0365e70
Improvements for netcode. AI is working. Townlist won't crash. Moving hero is wrong but won't crash. Giving starting hero is working properly. Town defs are wrong but displayed.
2008-07-27 17:07:37 +00:00
Michał W. Urbańczyk
b3c5f19c0d
Proper initialization of the first turn.
2008-07-26 13:57:32 +00:00
Michał W. Urbańczyk
88c9d8d72d
Forgot to add this file
2008-07-26 06:42:12 +00:00
Michał W. Urbańczyk
b72d065265
Minor changes/cleanups. Adventure map is shown :)
2008-07-26 06:39:44 +00:00
Michał W. Urbańczyk
0c139e72f5
More changes for netcode/serialization
...
Removed not needed stuff
2008-07-25 17:28:28 +00:00
Michał W. Urbańczyk
358ab062eb
Base for netcode
2008-07-09 17:22:28 +00:00
Michał W. Urbańczyk
9422b0d9ca
Experimantal parts of netcode
2008-07-03 15:03:32 +00:00
Michał W. Urbańczyk
1b73678b7c
Fighting with includes.
2008-07-02 08:39:56 +00:00
Michał W. Urbańczyk
b0002ff50b
* added files for future server
...
* make code compiling
* broken objects scripts
2008-07-01 08:01:02 +00:00