DjWarmonger
9e0c9b4f49
Fixed #1042 . Tweaks for Commander bonuses.
2012-08-20 16:10:50 +00:00
Ivan Savenko
deb22b3674
- (linux) use empty video player if av_register_protocol function was not found
2012-08-18 10:29:54 +00:00
Ivan Savenko
ea0399db93
- (autotools) updated ffmpeg detection
2012-08-18 09:23:46 +00:00
DjWarmonger
037d4811a1
Fixed #1047
2012-08-14 06:31:14 +00:00
DjWarmonger
10122f8153
Another tweak for Seer Hut serialization.
2012-08-11 19:00:52 +00:00
DjWarmonger
fa544384a7
Fixed double serialization, possible cause of #1051 .
2012-08-11 17:01:39 +00:00
Ivan Savenko
eec4d3579d
- fixed crash on missing videos
...
- fixed savegames name selection
2012-08-11 11:34:49 +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
Ivan Savenko
aa326491a3
- compile fixes
...
- build system update
2012-08-10 15:16:42 +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
d72c44e4c3
- fixed modifiers keys behaviour in TextInput
...
- erm compilation is optional in cmake (too memory-consuming for old systems)
- minor fixes
2012-08-10 08:49:18 +00:00
DjWarmonger
d3d24d0737
Compile fix for windows.
2012-08-09 13:52:40 +00:00
Ivan Savenko
7e778045b8
- removed no longer used CSndHandler. Transition to new fs is finished
...
- moved TownHandler::requirements to CBuilding class
2012-08-09 10:32:50 +00:00
Michał W. Urbańczyk
08bcfd1285
* windows video player uses the new FS
...
* don't crash on missing sounds
2012-08-09 07:40:47 +00:00
Ivan Savenko
94cfc99d7b
- fixes #1044
...
- fixes to linux video player
2012-08-08 20:58:06 +00:00
Ivan Savenko
127600311f
- linux video player uses new FS
2012-08-08 12:17:25 +00:00
Ivan Savenko
cab8955d8f
- sound player uses new FS
2012-08-08 12:03:32 +00:00
Ivan Savenko
28f0263298
- compile fixes
...
- filesystem tweaks
2012-08-08 10:17:46 +00:00
DjWarmonger
55f321f3f3
- Fixed AI crash at "gather resource" quest
...
- AI will now understand threat of Abandoned Mine. For sure.
- Fixed incorrect creeps quantities info
2012-08-08 08:27:52 +00:00
Michał W. Urbańczyk
cd63c177e2
* std::unordered_map implementation in MSVC 10 has terribly slow destructor. Since bug is fixed only in VC11, I replaced it with boost::unordered_map.
...
* fixed crash with invalid .lod archive (some H3 installations have fake 1 byte .lod "archives"
* fixed crash when parsing invalid map file
* minor random optimizations (rv-refs, etc)
2012-08-08 08:25:27 +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
708ad6ac7f
- music player uses URI's instead of enum from music base
...
- #1045 and #1046 should be fixed
- moved pregame backgrounds to config/mainmenu
- animation can be overriden with .json multiple times
2012-08-06 07:34:37 +00:00
DjWarmonger
385be09248
Foxed #943
2012-08-06 06:01:02 +00:00
DjWarmonger
75283bf0fd
Fixed TextBox line breaking & slider.
2012-08-04 17:51:02 +00:00
Ivan Savenko
63a757ac7d
- removed debug
2012-08-02 11:05:40 +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
DjWarmonger
17a513c01b
various fixes for #828
2012-07-30 09:27:19 +00:00
DjWarmonger
12e71e0dff
Missing serialization for Border Gate fixes #1040 .
2012-07-29 18:18:55 +00:00
Michał W. Urbańczyk
5981ad15d4
Fixed Duel mode. Integrated some changes from programmingChallenge branch - it's possible to define duel parameters using JSON.
2012-07-26 00:48:44 +00:00
Michał W. Urbańczyk
9327823355
Updated MSVC project file.
2012-07-23 11:33:25 +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
DjWarmonger
4bd8a5a15b
Compile fix for last commit.
2012-07-22 15:40:44 +00:00
beegee1
1ed91077f7
* Implementation of the new filesystem API (msvc project files needs to be updated)
2012-07-22 15:02:13 +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
DjWarmonger
0665850d9d
Fixed #1024
2012-07-21 09:58:42 +00:00
DjWarmonger
356e675a65
- VCAI can now complete all types of Seer Hut Mission. GATHERTROOP victory condition should also work.
...
- Minor tweaks.
2012-07-21 07:15:53 +00:00
Michał W. Urbańczyk
9207e4f4a4
Fixed a compile error on MSVC with abs(ui64).
...
Fixed crash when quest object is removed.
2012-07-20 21:42:25 +00:00
Michał W. Urbańczyk
79f8e0ea3c
Fail gracefully when file pointed by --start path doesn't exist.
2012-07-20 20:57:18 +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
4c0537c420
- AI will now wander with all the heroes that have spare movement points. It should prevent stalling.
...
- Fixed #1030
2012-07-19 16:29:29 +00:00
DjWarmonger
d8cb3a34d3
-Fixed crash #1037
...
-AI can now successfully complete several types of quests.
-Lots of tweaks for AI
TODO: fix bizarre crash when opening borderguard
2012-07-19 09:10:55 +00:00
DjWarmonger
6a7327d38a
VCAI will now not be confused by Border Gates and attempt to find Keymaster to cross them.
2012-07-18 13:23:46 +00:00
DjWarmonger
624908e403
- Fixed unserialized GrowingArtifact, causing crash
...
- An attempt to teach AI completing quests
- Gathering army is now continuous, abstract goal
- Lots of fixes and tweaks in AI
2012-07-18 10:10:14 +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
DjWarmonger
9ebf56ff03
Quick fix for previous commit.
2012-07-16 16:31:41 +00:00
DjWarmonger
cf45239332
Fixed #1035 .
...
Support for commander artifacts that accumulate bonus after battle.
2012-07-16 16:18:02 +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