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

1431 Commits

Author SHA1 Message Date
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
Frank Zago
b1c9b17327 Fix for bug introduced in r937. 2009-06-06 19:47:25 +00:00
Frank Zago
3e00e68e50 Typo. 2009-06-06 19:10:38 +00:00
Frank Zago
177d146f04 Optimize: don't compute invariants inside loops. 2009-06-06 19:07:51 +00:00
Frank Zago
a817244a98 Optimize. 2009-06-06 18:53:35 +00:00
Frank Zago
7acd191663 Move invariants out of the loops. 2009-06-06 17:43:36 +00:00
Frank Zago
7fe8e08e02 Makes code more readable + micro-optimization. 2009-06-06 17:33:26 +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
83432e30c0 Fixed projectile name for Storm Elemental and Titan. 2009-06-05 02:47:25 +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
7a89b33ab7 Fixed init of playerInfo. Fixes crash during save game where not all 8 players are present. 2009-05-29 03:53:53 +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
Frank Zago
aa2e8b0eb7 Change projectile name for monk/zealots. 2009-05-27 22:57:01 +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
mateuszb
4f12f73cb9 * next part of stack bonus system
* support for a few new creatures
2009-05-24 17:35:11 +00:00
Frank Zago
bd608a3d88 Clear some warnings. 2009-05-24 16:49:19 +00:00