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

1098 Commits

Author SHA1 Message Date
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
mateuszb
35f7281024 * battle options window works again
* reorganization of GUI code
2009-05-19 18:23:04 +00:00
Frank Zago
199be7b06e Added boost iostreams lib. 2009-05-18 00:07:43 +00:00
Michał W. Urbańczyk
a8c4a53e91 Updated changelog. 2009-05-17 23:29:50 +00:00
Michał W. Urbańczyk
37f38aed0c No newline at the end of settings.txt please. 2009-05-17 23:24:38 +00:00
Michał W. Urbańczyk
7fbd4e696c * Fixed crashbug on iterating stack effects
* Altered probabilities of starting with 1/2/3 stacks (according to Zamolxis tests)
* fix compilation min/max (windef.h is somehow included and it has its own macros min/max)
2009-05-17 22:52:22 +00:00
Frank Zago
7862fe25d1 Fix bpp comment. 2009-05-17 20:34:54 +00:00
Frank Zago
0f6bb0d8b0 Use mapped memory for LOD files. Fixed a few bugs. 2009-05-17 20:31:57 +00:00
Frank Zago
8f5e8fb2a8 Added COPYING (refers to license.txt). 2009-05-17 15:48:13 +00:00
Frank Zago
84937a3e24 Missing build file. 2009-05-17 15:42:47 +00:00
mateuszb
27ffad3580 * next part of stack bonus system
* stacks can shoot again
2009-05-17 15:24:50 +00:00
Frank Zago
5ce428cf1d Let SDL decide which pixel depth is the best. This fixes the sluggish interface under linux. Removed SDL_DOUBLEBUF for it's only valid with SDL_HWSURFACE. 2009-05-17 04:14:30 +00:00
Frank Zago
bc506bbc77 Fix 32 bits depth issues during combat. 2009-05-17 03:34:41 +00:00
Frank Zago
bf562bdb77 Depth neutral implementation of CSDL_Ext::rotate01 and CSDL_Ext::hFlip. 2009-05-17 02:43:36 +00:00
Frank Zago
ce9b7b48ca Fix visual artefacts on the map when using 32 bits screen depth. 2009-05-17 02:35:28 +00:00
Frank Zago
0d5de20a7a vcmi builds with boost 1.36. Add a note for systems where boost is installed in /usr/lib64. 2009-05-16 17:15:21 +00:00
mateuszb
38226c1056 * further changes in stack feature code 2009-05-16 14:49:06 +00:00
mateuszb
cc78c2d350 * more of the new stack bonus system 2009-05-15 12:07:55 +00:00