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
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