Commit Graph
76 Commits
Author SHA1 Message Date
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
Ivan Savenko 3fc42134b7 - fixed #586, #757, #758
- fixed spinning projectiles for some creatures
2011-08-31 12:11:34 +00:00
Ivan Savenko 33719696d8 - added default values to JsonNode
- small cleanup to heroes.json
2011-08-27 21:17:45 +00:00
Ivan Savenko 7eb82278d9 - minor fixes to JSON
- music will resume correctly after battles
2011-08-20 11:27:09 +00:00
Ivan Savenko 8054c85091 - some work on sound and music players:
-- Adventure map music will update with hero movement
-- implemented battle intro sounds
-- battle music tracks will  be selected randomly each time
- fixed #781
2011-08-19 19:50:24 +00:00
Ivan Savenko c63df4f07a - compile fixes for linux player 2011-08-08 14:20:22 +00:00
Ivan Savenko 0893ed816f - fix for #775
- fix for crash in battle options window
2011-07-27 09:35:27 +00:00
Ivan Savenko 5d2f5c2e33 - fixed #762
- (linux) fixed video in campaigns menu
2011-07-22 23:34:15 +00:00
Ivan Savenko 35a528e062 - Rewrote Kingdom Overview window - all should be stable now
- New classes for GUI - lists and tabs
- finishing work on Json config in animations
2011-07-22 16:22:22 +00:00
Ivan Savenko 98d32acf1b - new files JsonNode.cpp/.h
- CAnimation can use JSON configs from Sprites folder instead of .def files
2011-07-21 18:29:22 +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
Ivan Savenko 706510f12f - gcc compile fixes 2011-07-13 23:36:37 +00:00
Ivan Savenko 75d068bc03 - compilation fix for #765 2011-07-05 19:06:47 +00:00
Ivan Savenko b8448e4c3b - (linux) build system update
- gcc errors/warnings fixes
2011-07-05 11:31:26 +00:00
Ivan Savenko ecf33cca91 - one more fix for 763 2011-07-03 15:22:14 +00:00
Ivan Savenko 39feb24d64 - possibly fixed #763 2011-07-03 10:04:06 +00:00
Ivan Savenko 11fade5e67 - fixed crash in #761 2011-07-02 15:12:35 +00:00
Ivan Savenko 48e79b163c - missed file from previous commit
- minor fixes
2011-07-01 16:26:36 +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
Ivan Savenko 19f0836211 Fixed #712 and #713 2011-05-28 10:05:25 +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
Ivan Savenko 61af4c745e - recursive directory parser for LodHandler - for creature abilities and new main menu images
- fixed screen updating on closing window
- minor fixes
2011-04-23 10:27:44 +00:00
Ivan Savenko 734c95959e gcc compile fix 2011-04-10 22:06:05 +00:00
Ivan Savenko 0f605256e9 - added new files to build system
- minor gcc fixes
- updated castle interface code, added missing parts including #380
- buildings enum in global.h
2011-04-07 17:54:08 +00:00
Ivan Savenko 407acce4c6 - gcc 4.5 / boost 1.46 compilation fixes
- configure will accept CXXFLAGS parameter correctly
- boost version check in ERMParser - to skip compilation with old boost
2011-03-29 17:16:10 +00:00
Ivan Savenko c6f1d87ede - fix for #95 and #602
- implemented animation for new town buildings
2011-03-22 13:19:07 +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
Ivan Savenko 7908a1a61d Makefiles update - new files 2011-03-04 17:18:45 +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
Ivan Savenko 450ae1772c - Buttons optimization - less memory and CPU usage
- gcc compilation fixes
2011-02-20 09:24: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
Ivan Savenko 551d1f1b26 - Possible support for sounds in GOG version
- Fixed all issues with Russian localisation
- (Linux) fixed #637
2011-01-17 16:07:08 +00:00
Ivan Savenko 77ba5a5cd6 - some minor fixes: #626 #597 #275
- fixed console on Linux
2011-01-15 17:30:46 +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
Ivan Savenko 3d9dc0642d - gcc compile fixes
- corrected projectiles for some units
2010-12-24 15:37:48 +00:00
Ivan Savenko 73a4c2e446 - missed Hill Fort fixes
- compile fix
2010-11-18 13:34:21 +00:00
Ivan Savenko 265d7a22d6 Animation system update:
-- files moved to /client, GUI classes added
-- handling of creatures, used in creature cards, fixed #469 \ #490
-- handling of town buildings
#631 crash at hill fort fixed
2010-11-15 15:15:00 +00:00
Ivan Savenko 9771dd12ff - changes in LodHandler:
-- file type (text, image...) can be specified in getFile(), all hacks removed
-- replaced Nodrze with std::set
-  some gcc warnings fixed
2010-11-09 11:27:58 +00:00
Ivan Savenko 914212c9c1 - missed memory leak in last commit 2010-10-25 19:47:57 +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
Ivan Savenko c10dac929d - New animation system:
-- New files: hch/CAnimation.h/cpp
-- Class CAnimation capable to load file partially and/or keep data in compressed state
-- Buttons now use CAnimation instead of CDefHandler

- build system regenerated to include new files
- fixed several gcc warnings
- updated README.linux
2010-10-18 15:08:59 +00:00
Ivan Savenko 9e8d0651f6 - fix for #32 (b)
- fix for some warnings
2010-08-29 23:12:34 +00:00
Ivan Savenko 88fd213e87 - LodHandler now will ignore file extensions.
Special case: MSK\MSG files (they have same names as def) can be accessed as file#msk or file#msg
- some fixes
2010-08-28 15:10:37 +00:00
Ivan Savenko 4d171bd53c -rewrote GarrisonInt with use of object capturing
- BitmapHandler can now load images from any format supported by SDL_Image
note: file can have any possible format but extension should be .bmp or .pcx
- fixed some warnings
2010-08-27 16:20:35 +00:00
Ivan Savenko 8902aeb3f9 Small fix to correct *.def loading outsize of *.lod 2010-08-26 13:49:23 +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
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
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
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
Ivan Savenko 1338340027 - fixed 578
- minor fix to hero window
2010-07-31 13:18:40 +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
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
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
Ivan Savenko 5dc444cd2b - University is finally implemented, both town and map objects 2010-07-20 14:08:13 +00:00
Ivan Savenko bb7615309f - Implemented Portal of Summoning (Dungeon) 2010-07-10 16:50:23 +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
Ivan Savenko 2a99bc76da - part of castle gate handling (need to make server-client interaction)
- minor fixes ( 361, 507, 466 )
2010-06-26 10:01:26 +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
Ivan Savenko f250880c69 - minor fixes (363, 365, 371) 2010-02-15 13:19:13 +00:00
Ivan Savenko 5eef9cde44 - fixed 355, 356, 360
- fixed bug in map handling (random creatures in random town\hero)
2010-02-13 15:56:34 +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
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
Ivan Savenko 3dbeaa5ef8 - Moved most of text output to original fonts
- Temporary disabled ttf output
2010-02-02 16:24:53 +00:00
Ivan Savenko ddd0786739 forgot to fix line endings and one file 2010-01-31 23:30:47 +00:00
Ivan Savenko eefdd686de - Almost finished kingdom overview window
- modified garrison to allow placing it in 2 rows
- some fixes to hero and exchange windows
2010-01-31 23:22:25 +00:00
Ivan Savenko 6f0f6564d7 - partial implementation of kingdom overview:
-- moved some kingdom overview values to config
-- small fix to garrison window
-- small fix to button class
2010-01-30 19:08:26 +00:00
Ivan Savenko 6fbcdf63eb Small compile issues in previous revision 2010-01-28 16:28:55 +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
Ivan Savenko 58d1ec7ac5 2010-01-01 18:54:31 +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