Frank Zago
7a6f1a383a
Free now uninitialized std::map in CPlayerInterface::~CPlayerInterface.
2009-10-31 16:43:12 +00:00
OnionKnight
46c1127cc4
* Fixed bug 196.
2009-10-31 15:29:05 +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
DjWarmonger
2c77785bc7
Hero experience tooltip will now be shown correctly despite of its type (bug #99 )
2009-10-27 20:40:11 +00:00
mateuszb
f22570712e
* again, please don't include headers in headers if not necessary
...
* minor changes
2009-10-26 15:01:12 +00:00
Frank Zago
7471372074
Fixed several crashes when exiting.
2009-10-26 05:39:30 +00:00
OnionKnight
95808db933
* Right-click info window for castles and garrisons you do not own shows a rough amount of creatures instead of none.
...
I don't really know under which circumstances no information at all is shown in the original H3 so I haven't dealt with that.
2009-10-25 19:32:02 +00:00
mateuszb
68c5bb63a4
* various improvements and code cleanups
2009-10-25 14:36:11 +00:00
DjWarmonger
7f5aa1007f
Better handling of huge and empty message boxes (Bugs #55 and #183 )
2009-10-24 11:17:10 +00:00
Frank Zago
04ea5deb01
Fixed bug 43.
2009-10-23 03:07:03 +00:00
Frank Zago
c6bd8e3518
Fixed bug 163 and display the right text when saving a game.
2009-10-23 01:48:03 +00:00
Frank Zago
ddfe2e6f43
Center system option window.
2009-10-23 01:20:16 +00:00
red1939
142ec8e11a
Lacking VCMI library include (VLC not found).
2009-10-22 17:50:37 +00:00
Frank Zago
218194c36e
Fixed bug 186.
2009-10-22 03:28:54 +00:00
Frank Zago
598334a71e
Hide the mouse cursor while displaying a popup window.
2009-10-22 03:12:01 +00:00
Frank Zago
063bb9dc47
Hide the mouse cursor while displaying a popup window.
2009-10-22 02:41:09 +00:00
Frank Zago
336fee48aa
Check if a right click is in the map, so clicking on the border no longer opens an empty info windows.
2009-10-22 02:25:12 +00:00
Frank Zago
e412619ce7
Info map for terrain type. Fixes bug 5.
2009-10-22 02:09:14 +00:00
Frank Zago
5a9752fb8c
genWindow can center on the last mouse event instead of the screen. Fixes bug 188.
2009-10-22 00:25:39 +00:00
mateuszb
ad0848f1d2
* fix for bugs 47 and 89
2009-10-18 14:39:53 +00:00
DjWarmonger
476443101f
Fixed bug #175
2009-10-17 15:51:58 +00:00
mateuszb
0ac3d9be83
* fix for bug 70
2009-10-17 14:05:44 +00:00
mateuszb
f109c51f7f
* bug 146 fixed
2009-10-17 13:59:25 +00:00
mateuszb
fdcb286044
* VCMI works again on Windows.
...
hint: ./executable.exe does not run executable on Windows - you must use executable.exe or .\executable.exe
2009-10-17 13:13:09 +00:00
Frank Zago
3cdefa2790
accesible->accessible
2009-10-16 02:09:58 +00:00
Frank Zago
6c008d5fea
Restore 'click' sound when pressing a button.
2009-10-13 04:58:15 +00:00
Frank Zago
bd9eb37465
Fixed a few warnings.
2009-10-13 04:07:26 +00:00
Frank Zago
17a795015a
Restores attacking and shooting sounds.
2009-10-13 02:01:29 +00:00
Frank Zago
c2cb7be227
Fixed bug 143 and possibly 142.
2009-10-12 05:00:28 +00:00
Frank Zago
eee726bd32
Removed duplicated code.
2009-10-10 23:46:42 +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
Michał W. Urbańczyk
3697b1d64e
Fixed #74 , #83 , #84
2009-10-06 01:14:00 +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
Frank Zago
9ae6796810
Added path to error message.
2009-10-05 01:49:22 +00:00
mateuszb
0fabf5f31d
* bug 85 really fixed
2009-10-04 12:55:56 +00:00
mateuszb
1ac3481579
* fix for bug 85 (mantis)
2009-10-04 12:07:42 +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
DjWarmonger
913c0af6fa
Fixed bugs 11, 24 & 26
...
Next part of Shops script, however still no GUI.
2009-10-03 11:16:42 +00:00
mateuszb
78517a4397
* fixed previous fix
...
* fixed bug #20 from mantis
2009-10-03 10:51:05 +00:00
mateuszb
e0b65d7893
* missing file
2009-10-03 10:15:41 +00:00
OnionKnight
7f5f939f4f
* Movement cursor shown for unguarded enemy towns.
...
* Battle cursor shown for guarded enemy garrisons.
2009-10-02 15:50:22 +00:00
Michał W. Urbańczyk
3d4db35df0
Added icon to the MSVC project, minor fixes, version bumped to 0.74.
2009-10-01 20:00:21 +00:00
mateuszb
22e9098752
* fix for 0.72d #26 (flying creatures will be blitted over all other creatures, obstacles and wall)
2009-09-29 11:23:47 +00:00
mateuszb
540e15d4ea
* when active stack is killed by spell, game behaves properly
2009-09-28 15:05:35 +00:00
OnionKnight
03f2137cab
Small fix so vertical garrisons get right-click information.
2009-09-27 20:14:26 +00:00
mateuszb
07a769601e
* faster decompression with infs2
...
* minor changes (unused code removed, a few additional consts)
2009-09-27 11:37:15 +00:00
OnionKnight
e3eeed0b70
gcc compilation fixes.
2009-09-25 21:11:13 +00:00
mateuszb
4ba26635b6
* hero in siege won't be blitted below wall
...
* obstacles and units should be printed in better order (not tested)
* animations of attack and defense will follow general speed of animations
2009-09-25 11:38:18 +00:00
Frank Zago
66541027b5
Correct spelling.
2009-09-25 04:05:01 +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
4677d3a338
* fixed animation of defense / death when unit is attacked twice
...
* fixed armageddon animation
2009-09-24 10:10:24 +00:00
mateuszb
2d54b31b17
* fixed bug with lightning bolt
2009-09-23 13:22:40 +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
DjWarmonger
1f92b2af2c
Towns belonging to specific player will now allow only one capitol. Function triggers on InitObj and after siege.
2009-09-22 11:28:05 +00:00
mateuszb
75c6db7197
* wights won't have regeneration animation played when not alive
2009-09-21 12:44:16 +00:00
DjWarmonger
b29ac50dcb
1.Support for cage of Warlord, Temple of Valhalla, Wall of Knowledge, Order of Fire
...
2.Level-up from newly implemented School of War crashed the game.
3.A sketch of shops support
2009-09-21 09:00:33 +00:00
Michał W. Urbańczyk
bff3abe122
Fixed positioning of battle effects / animations in non 800x600 resolutions.
2009-09-21 08:29:41 +00:00
Michał W. Urbańczyk
22a74ea781
Fixes
...
( http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3635#3635 )
2009-09-20 19:17:28 +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
bab07c0ab3
* fixed bugs 66, 74 from VCMI 0.73 bug thread
2009-09-19 09:57:37 +00:00
mateuszb
d5ba0fc4fb
* faster and less memory-consuming def handling
...
* minor leak in battle interface fixed
2009-09-18 12:50:00 +00:00
mateuszb
451c08922c
* spell animations are handled by new battle animation engine
...
* armageddon works when there are dead stack on the battlefield
2009-09-17 12:59:04 +00:00
mateuszb
80b5126cf5
* support for RETURN_AFTER_STRIKE feature
2009-09-16 10:59:56 +00:00
mateuszb
ba25f5c807
* almost all problems with battles fixes
2009-09-16 10:36:50 +00:00
mateuszb
8799eddcdc
* many fixes and improvements for battles
2009-09-16 10:09:08 +00:00
mateuszb
e77e49783a
* improved handling of animations in battles
2009-09-15 12:20:11 +00:00
mateuszb
f3a1cd4ae5
* animations in battles seem to approximately work
2009-09-14 12:00:23 +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
34ef79d15e
* minor improvements
2009-09-11 13:18:20 +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
OnionKnight
9f6fd12b5f
* When sorting/filtering is applied during map selection the first map in the list is selected.
2009-09-11 11:11:01 +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
mateuszb
3f5c98ac7c
* reworked system of animations in battles; it's not fully working yet, but crashes should not occur
...
* fix for previous fix for two-hex creatures (my previous commit) (this one should work better, certainly has nicer code)
2009-09-10 11:28:34 +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
Michał W. Urbańczyk
9e7771272d
* improved "Split" button behavior. It can be used for calling hero meeting screen in town screen.
...
*fixed problems with underground switch button in higher resolutions
* minor graphical fixes for Marketplace window
* minor fixes
2009-09-09 06:04:42 +00:00
mateuszb
08723ecf84
* fixed crash with two-hex creatures
2009-09-07 13:34:02 +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
fc2a11359e
* different fixes and improvements for puzzle window
2009-09-05 10:23:29 +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
mateuszb
d25a5a795e
* next part of sieges
2009-09-01 13:54:13 +00:00
mateuszb
399f58f1af
* partially implemented puzzle map
2009-08-31 15:57:15 +00:00
mateuszb
7586094a9b
* corrected r1174 - we can get the dead stack's info
2009-08-31 10:56:41 +00:00
OnionKnight
866d39727e
Made a small fix for the problem with crash on killing with a spell.
2009-08-31 08:13:10 +00:00
mateuszb
4672070e8c
* positions of obstacles in the battlefield can now be individually shifted by config file
2009-08-30 12:58:38 +00:00
Michał W. Urbańczyk
ca7ee8936c
Implemented redesigned pathfinder. Using new info from it, implemented various adventure map cursors.
...
(Paths are still calculated using the old pathfinder, it will be changed soon)
2009-08-30 12:47:40 +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
mateuszb
8fac12f957
* estimating damage that will be dealt while choosing stack to attack
2009-08-29 17:09:07 +00:00
mateuszb
03b91b1ed7
* fixed reading of guards / granted creatures (for BankConfig)
...
* minor changes
2009-08-29 16:08:58 +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
mateuszb
e746313565
* walls block movement now
...
* minor change
2009-08-28 10:49:11 +00:00
Michał W. Urbańczyk
780de79eba
Further fixes.
2009-08-28 10:05:45 +00:00
mateuszb
fceeb05e16
* a bit of pathfinder interface redesign
...
* a few fixes for sieges
* better wall parts' positions by Ivan
2009-08-28 09:03:58 +00:00
Michał W. Urbańczyk
6bdfddd0c4
Mostly implemented Scenario Information and Save Game windows. Adventure Options Window (crash after closing it is known, will be soon fixed). Several minor improvements for pregame. Arrogance will be selected by default when starting a new game.
2009-08-27 08:04:32 +00:00
Frank Zago
e806399246
Compile fixes.
2009-08-26 23:38:17 +00:00
Frank Zago
be76586fab
Added missing dependencies to makefiles.
2009-08-26 23:37:15 +00:00
mateuszb
adcfb3c020
* second part of sieges
...
* minor changes
2009-08-26 14:09:55 +00:00
mateuszb
2c7d7f4094
* first part of siege support
...
* minor fix
2009-08-24 12:55:05 +00:00
Michał W. Urbańczyk
579b7236b7
Fixed crash when r-clicking spell.
2009-08-23 18:23:21 +00:00
Michał W. Urbańczyk
1f79af440f
* @previous revision: not an AI bug, it was a vector traversing bug. Fixed :-)
...
* Scrolling through scenario list with mouse wheel, HOME, END, PAGE UP and PAGE DOWN buttons
* Starting selected scenario with double-click
2009-08-23 18:01:08 +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
ef8f2e695f
* support for HP regeneration
...
* minor fixes
2009-08-22 14:39:44 +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
Frank Zago
ac7c7a3d23
Re-order declaration of 2 variables, and fix a typo.
2009-08-21 00:59:54 +00:00
Frank Zago
5352496bad
Fixed uninitialized variables. callback2 is not yet initialized.
2009-08-21 00:59:12 +00:00
Frank Zago
8458a03e85
Added missing initialization.
2009-08-20 04:34:38 +00:00
OnionKnight
d8c2055809
* Shipyard window had it's wood and gold spots swapped, fixed.
...
* Melee cursor in battle now works like it should for 2-hex creatures.
2009-08-19 15:47:00 +00:00
mateuszb
c4b0bd9d7e
* new spell: remove obstacle
...
* minor changes
2009-08-19 10:59:42 +00:00
Frank Zago
6312a55bac
Fixed uninitialized variables.
2009-08-19 05:00:59 +00:00
Frank Zago
a7b7b0a431
Add new files to makefiles.
2009-08-19 04:45:33 +00:00
mateuszb
93f5c83d7c
* support for new spell: hypnotize
2009-08-18 11:49:34 +00:00
Michał W. Urbańczyk
3915b71869
Various fixes. Subtitles for choosen hero/town/bonus in pregame. Fixed arrows behavior. Really fixed shortcuts. Fixed map scrolling. Fixed disappearing battle interface.
2009-08-18 08:22:56 +00:00
Frank Zago
c7a307dfed
Compile fix.
2009-08-18 01:57:39 +00:00
OnionKnight
d8ddc4236b
Shipyard window fixed.
2009-08-17 17:19:09 +00:00
OnionKnight
1ef51b6888
"Next Hero" on adventure map now selects heroes who have movement points left, rather than those who don't.
2009-08-17 13:50:21 +00:00
OnionKnight
c42ef6a23e
Button hotkeys are now functioning.
2009-08-17 13:14:37 +00:00
mateuszb
49a142b92e
* minor changes
2009-08-17 13:08:05 +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
Frank Zago
79362501c1
Make sure we actually have an ellipsis.
2009-08-15 15:43:30 +00:00
OnionKnight
4845ba80bd
Ellipsis in messages will not be broken apart, as with the description for Speculum.
2009-08-15 04:54:52 +00:00
OnionKnight
ce86e88fa3
Better positioning of the melee cursors.
2009-08-14 02:13:22 +00:00
OnionKnight
ccbc2ebf6f
Changed the melee cursor behavior in battle.
2009-08-13 01:55:00 +00:00
Michał W. Urbańczyk
2af6d85c23
Various fixes and improvements, mostly for r1093
2009-08-13 01:03:11 +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
Frank Zago
bf17a77e00
Added workaround for a const value treated by gcc -O0 as a regular variable, and thus preventing linking.
2009-08-08 05:45:00 +00:00
Michał W. Urbańczyk
425791f27e
"onlyai" command - game starts with no human players, only AI.
2009-08-07 23:17:12 +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
9d531b0d84
* fixed:
...
- 0.72d #27
- 0.73 #13
2009-08-07 09:45:21 +00:00
Michał W. Urbańczyk
a91ab8872b
First part of GUI reorganization: extracted CGuiHandler from CPlayerInterface.
...
Minor fixes for Creature Generators and recruitment window.
2009-08-06 22:36:51 +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
Frank Zago
9aca713050
Compile fixes.
2009-08-06 05:08:17 +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
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
Michał W. Urbańczyk
92ef19942f
Splitting buttons in the exchange window. Minor fixes. Updated changelog. Version set to 0.73.
2009-08-01 19:25:12 +00:00
mateuszb
d17469bc7a
* small memory leak fixed
...
* minor changes
2009-08-01 12:54:05 +00:00
mateuszb
c0ff3c30fd
* minor changes
2009-08-01 11:55:40 +00:00
Michał W. Urbańczyk
1f75aeaf34
Video working with 32 bpp. Proper loading of hero on boat. Fixed problems with newly recruited hero blockvis info. Fixed possible crashes.
2009-08-01 10:08:16 +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
25663d2605
Fixes for exchange window in non 800x600 res
...
Minor improvements and fixes.
2009-07-27 17:55:56 +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
898d266580
* swapping artifacts in hero window almost works (artifacts are cloned instead of swapped for some reason)
2009-07-26 15:37:27 +00:00
mateuszb
150a79d643
* fixed bug reported by Zamolxis (see http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3052#3052 )
2009-07-26 13:06:43 +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
0d408bc6c2
Fixed switching music between towns and system options window.
2009-07-26 11:42:00 +00:00
Michał W. Urbańczyk
e358845873
Golems Factory and Elemental Conflux creature generators supported. Minor improvements. Updated changelog.
2009-07-26 10:43:22 +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
4bc0d1ace6
* partially fixed problems with boats
...
* minor changes
2009-07-25 12:49:45 +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
ec3b254c83
Castle interface: improved town scrolling.
...
Minor changes for future loading-without-restarting.
2009-07-20 08:18:33 +00:00
Michał W. Urbańczyk
fbd496b756
Infowindows for enemy towns.
2009-07-20 02:56:35 +00:00
Michał W. Urbańczyk
c9cac18482
Support for infowindows on enemy heroes.
2009-07-20 01:47:49 +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
b24bd585bc
Really fixed glitches in garrison slots.
2009-07-16 01:10:16 +00:00
Michał W. Urbańczyk
ac175895b1
MKinor bugfixes.
...
(cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2980#2980 )
2009-07-15 23:58:47 +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
Michał W. Urbańczyk
1d816b2eb9
Further part of external dwellings handling. Still not done.
...
Redone MetaString.
2009-07-09 19:15:22 +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
Michał W. Urbańczyk
9aff190899
Added palette colors for neutral "player" (Thx to Dru). Support for using them via blueToPlayersAdv(surface, 255).
2009-06-30 15:36:12 +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
Frank Zago
4dbc7495d6
Added battle result videos. Videos in 2 parts are not supported yet.
2009-06-28 16:02:39 +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
Michał W. Urbańczyk
9093320da8
Garrison interface in Exchange Window.
2009-06-28 08:21:50 +00:00
Frank Zago
6be7a77fee
Linux video player updates.
2009-06-27 23:33:59 +00:00
Frank Zago
0d7f92b290
Compile fix for boost <= 1.37
2009-06-27 04:28:48 +00:00
mateuszb
0919235948
* next part of hero exchange window
...
* minor changes
2009-06-26 15:41:19 +00:00
mateuszb
20676e8f95
* compilation error fix
2009-06-24 12:14:48 +00:00
Michał W. Urbańczyk
f0dea8d708
Video in Tavern Window. Minor improvements.
2009-06-24 09:17:33 +00:00
Michał W. Urbańczyk
60f7048662
Finished BIK handler. Refactored CVideoPlayer. Added intro and main menu animation. (Win only).
2009-06-24 06:56:36 +00:00
Frank Zago
a42b77b682
Typo.
2009-06-24 03:04:59 +00:00
Michał W. Urbańczyk
9ff6501ba3
Mostly done .BIK video handling (WIN only).
...
Refactoring.
2009-06-23 08:14:49 +00:00
Frank Zago
191aebed58
Fix y position for video under linux/windows.
2009-06-23 00:01:25 +00:00
mateuszb
3e7a180613
* playing smk videos on Windows (currently only spellbook animation)
2009-06-22 11:12:40 +00:00
Frank Zago
c3139125b4
Fixed several spellbook glitches.
2009-06-20 02:14:25 +00:00
Frank Zago
2f39106ff8
Spell book animations.
2009-06-20 01:42:19 +00:00
Frank Zago
a11ea59418
Video player compilation.
2009-06-20 01:40:52 +00:00
mateuszb
d2003d59c7
* next part of exchange window
...
* corrected typo in constructors of CSndHandler and CVidHandler causing compilation errors under MSVC
2009-06-19 12:10:36 +00:00
mateuszb
9a5aea6635
* next part of exchange window
2009-06-18 15:05:00 +00:00
mateuszb
ae3fa69134
* next part of exchange window
...
* changed some CDefHandlers to CDefEssential (the second is less memory consuming)
* minor changes
2009-06-17 16:46:16 +00:00
mateuszb
7932a9e8ad
* next part of exchange window
...
* minor changes
2009-06-17 09:38:03 +00:00
Frank Zago
cb1c31ac49
Simplified terrainRect prototype.
2009-06-17 01:08:24 +00:00
mateuszb
8231a6e6cc
* first part of exchange window
...
* minor changes
2009-06-16 11:18:14 +00:00
Frank Zago
287e0c016d
Restores smoothing.
2009-06-15 04:02:59 +00:00
Frank Zago
cf6a4c7d9a
Removed obsolete todo.
2009-06-14 16:40:50 +00:00
Frank Zago
eacbddb7a0
Replaced 4 hardcoded values.
2009-06-14 16:38:24 +00:00
Frank Zago
e5203db83c
In config file, for adventure map, replaced tilesWidth, tilesHeight, trimX and trimY with width and height. Let VCMI do the right calculations.
2009-06-14 15:10:59 +00:00
Frank Zago
96a34c30f0
Center active hero on map. Added map grid. Fixed a visual artefact.
2009-06-14 07:02:06 +00:00
Frank Zago
a8f9e4d033
Fix prototype for blitWithRotate1.
2009-06-13 23:25:15 +00:00
Michał W. Urbańczyk
527ec27ef5
* fixed handling second horde building in Rampart/Inferno
...
* garrisoned hero can buy a spellbook if he is selected or if there is no visiting hero
* minor fixes
2009-06-12 23:34:02 +00:00
Frank Zago
1c2ac579d5
The size of the frame around the map depends on the screen size, so compute it.
2009-06-12 03:26:41 +00:00
Michał W. Urbańczyk
58c12e8d73
Reshaped some code responsible for hero list / paths.
...
* Garrisoning, then removing hero from garrison move him at the end of the list
* problems with the hero window hero list should be fixed
2009-06-11 17:21:06 +00:00
Michał W. Urbańczyk
e2c30df5a6
* fix for problems after r-clicking hero in tavern
...
* refactored Options::show
* minor improvements
2009-06-10 20:48:55 +00:00
Michał W. Urbańczyk
29e1f2a0b8
* removed redundant code for displaying map difficulty
...
* bumped version name to 0.72b
* more diagnostics in music handler (should help to catch the reported bug with not playing main menu theme)
* probably fixed problems with horde buildings in towns that start with upgraded dwellings (0.72#1 http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=159 )
2009-06-10 19:44:09 +00:00
Frank Zago
914da9d6d6
Use mutex.hpp instead of shared_mutex.hpp.
2009-06-10 14:01:27 +00:00
Frank Zago
1113de7a1c
In hero window, only display heroes that are not in garrison.
2009-06-10 01:23:17 +00:00
Frank Zago
3398941231
Fix difficulty level displayed (Normal instead of ormal).
2009-06-10 00:34:40 +00:00
Frank Zago
be806d7942
Use right path separator.
2009-06-09 05:02:22 +00:00
Frank Zago
cbf2ed6b7a
Protects against concurrent access to in game console texts.
2009-06-09 03:53:29 +00:00
Frank Zago
c75bbc359e
CSDL_Ext::alphaTransform does not need to return the modified surface.
2009-06-06 22:47:23 +00:00
Frank Zago
e0c600b963
Don't close the server socket while another thread is using it.
2009-06-06 15:17:07 +00:00
Frank Zago
8bc64d87e9
Force the popup window to be completely oin scs\reen. Fixes bug #2799727 .
2009-06-02 03:01:17 +00:00
Frank Zago
b2014c79d4
Try to better dimension the info windows.
2009-06-02 02:15:23 +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
Frank Zago
fa7f35bbf4
Do not use hardcoded font sizes in messages.
2009-06-01 05:40:54 +00:00
Frank Zago
627c20c949
Typo.
2009-06-01 03:36:13 +00:00
Frank Zago
d9215d050c
Fix typo.
2009-06-01 03:17:54 +00:00
Frank Zago
da0bf61b54
Fixed typo.
2009-06-01 03:04:50 +00:00
Frank Zago
ee385d7654
Fix comment from previous commit.
2009-05-30 17:37:53 +00:00
Frank Zago
e7b2074812
In tavern update the hover text for the RECRUIT button when a hero is selected.
2009-05-30 16:17:44 +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
5b25b21a15
Hero description in tavern is invariant, so move it into its constructor instead of recreating it for every frame.
2009-05-30 15:58:28 +00:00
Frank Zago
e3bfc51328
Initialize animval. Fixes crash in town.
2009-05-29 13:43:33 +00:00
Frank Zago
566a99932b
Enable key repeats. Useful for the map selection screen.
2009-05-29 03:03:19 +00:00
Frank Zago
94b8fa4f9d
Added support for Home/End.
2009-05-29 02:39:12 +00:00
Frank Zago
53129ec1a7
Made sortMaps clearer.
2009-05-29 01:54:45 +00:00
Frank Zago
e863269893
Use a temporary vector to keep list of maps to display instead of using sizeFilter. That should fix all the glitches reported. Added support for pgup/pgdown.
2009-05-29 01:50:33 +00:00
Frank Zago
6b87161ae2
Further blit8bppAlphaTo24bpp optimizations (use invariant loop counters, switch RShift cases).
2009-05-28 02:58:29 +00:00
Frank Zago
79cd541bbf
Optimized blitWithRotate3.
2009-05-27 23:43:47 +00:00
Frank Zago
af5dfd9dbc
Optimized blitWithRotate2.
2009-05-27 23:21:34 +00:00
mateuszb
b8adaaeaf4
* removed misleading const
2009-05-27 08:38:12 +00:00
Frank Zago
b38c279225
Optimized blitWithRotate1.
2009-05-27 04:10:35 +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
Michał W. Urbańczyk
4581c30b20
* VCMI won't try to calculate path when clicking terrain on the other map level then that of currently selected hero (caused hangs)
...
* Mines / Resource Silos won't give income in the first turn
* Double click on hero slot during stack splitting won't crash
* Fixed problems with updating buttons / minimap
2009-05-24 23:21:55 +00:00
Frank Zago
6635cf4f23
Made a few functions static or static inline.
2009-05-23 22:57:39 +00:00
Frank Zago
24449e0c41
blit8bppAlphaTo24bpp speedup.
2009-05-23 20:13:09 +00:00