1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
Commit Graph

1066 Commits

Author SHA1 Message Date
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
a42b77b682 Typo. 2009-06-24 03:04:59 +00:00
Michał W. Urbańczyk
576dbe62d0 include windows.h before WORD usage. 2009-06-23 18:34: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
Frank Zago
d8cfced035 Fixed include path. 2009-06-23 00:00:15 +00:00
mateuszb
3e7a180613 * playing smk videos on Windows (currently only spellbook animation) 2009-06-22 11:12:40 +00:00
mateuszb
c6b11ee917 * VCMI compiles now under MSVC 2009-06-21 13:44:15 +00:00
Frank Zago
f0b1c8b644 Fix bug where adventure map is not displayed correctly when hero is moving. 2009-06-20 15:57:53 +00:00
Frank Zago
af7605b363 s/WIN32/_WIN32/ 2009-06-20 14:52:20 +00:00
Frank Zago
4e9fb63a8b Fixed potential issue in video player. 2009-06-20 02:18:27 +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
Frank Zago
dcbf717a07 Basic video player, with no sound, using FFMpeg. Currently plays SMK only. 2009-06-20 01:34:26 +00:00
Frank Zago
e874681fc0 Fixed CVidHandler entry parser. 2009-06-20 01:31:45 +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
Frank Zago
7bb09341a0 Derive CSndHandler and CVidHandler from new class CMediaHandler. 2009-06-19 04:27:12 +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
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
e4275c2c90 Make MARK_BLOCKED_POSITIONS and MARK_VISITABLE_POSITIONS compilable. 2009-06-14 15:53:40 +00:00
Frank Zago
bda62ab147 Added 1280x1024 resolution. 2009-06-14 15:15:54 +00:00
Frank Zago
facb984654 Missing diff from previous commit. 2009-06-14 15:14:03 +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
Frank Zago
a3d2ae2135 Temporarily disable map smoothing as it is source of crashes 2009-06-12 00:51:58 +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
Frank Zago
eb62c921b1 Not needed anymore. 2009-06-11 13:35:07 +00:00
Frank Zago
cc1c7c83c5 Readability and micro optimization. 2009-06-11 03:57:21 +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
574780da21 Fixed primary/secondary skill levels given by a scholar. 2009-06-10 00:06:35 +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
Michał W. Urbańczyk
fcc4acc451 Two more fixes for CSDL_Ext::alphaTransform usage. 2009-06-07 07:38:51 +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
78d62481e4 Fixed some small one-time memory leaks. 2009-06-06 22:36:15 +00:00