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

1115 Commits

Author SHA1 Message Date
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
Frank Zago
7e7143cf2c Load a map by block instead of byte per byte. 2009-05-24 16:33:42 +00:00
mateuszb
d3e5020da1 * fixed #28 bug
* fixed #30 bug (those elementals were wrongly double-wide)
* fixed #40 bug
* RowAdd always initialized in getSprite

bugs from http://antypika.aplus.pl/vcmi/forum/viewtopic.php?t=148&sid=1813b5192666d21ca931aac9ad778606
2009-05-24 14:32:36 +00:00
Frank Zago
6635cf4f23 Made a few functions static or static inline. 2009-05-23 22:57:39 +00:00
Frank Zago
938aaac2ca applyGh is overloaded so don't make an empty body. 2009-05-23 21:37:33 +00:00
Frank Zago
a0417e95c4 Do not return reference to temporary. 2009-05-23 21:16:42 +00:00
Frank Zago
24449e0c41 blit8bppAlphaTo24bpp speedup. 2009-05-23 20:13:09 +00:00
Frank Zago
d5bd4d4aaf Optimized (a little) CDefHandler::getSprite. 2009-05-23 04:22:21 +00:00
Frank Zago
e569159f3c Removed svn:mime-type property. 2009-05-23 04:19:25 +00:00
Frank Zago
e3c3d3478d Simplify infs2. 2009-05-23 01:23:09 +00:00
mateuszb
564c8ae839 Common changes.
for changes see http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2576#2576
2009-05-22 19:20:30 +00:00
Frank Zago
8e2a6466e2 Split audioh into soundh and musich. Derive both from a new CAudioBase class. Fixed crash when there is no sound card present. 2009-05-22 04:14:59 +00:00
Michał W. Urbańczyk
1d5565b3a3 * updated project files for MSVC
* fixed a few includes paths
* it's possible to enter Tavern via Brotherhood of Sword
* fixes for statusbar
* fixes for townlist
* fixed crashes on building / clicking some buildings
* bumped version number to 0.71c
* bonuses from wearing more than one same artifact won't cumulate
2009-05-21 23:50:45 +00:00
Frank Zago
73949f3367 Build fixes for linux. 2009-05-21 00:55:30 +00:00
mateuszb
429b226517 * moved a few files 2009-05-20 10:08:56 +00:00
mateuszb
4c0936a3dc * further code reorganization 2009-05-20 09:02:50 +00:00
Frank Zago
2ab691ef40 Linux build fixes. 2009-05-20 03:10:16 +00:00