1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
Commit Graph

203 Commits

Author SHA1 Message Date
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
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
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
Frank Zago
6635cf4f23 Made a few functions static or static inline. 2009-05-23 22:57:39 +00:00
Frank Zago
24449e0c41 blit8bppAlphaTo24bpp speedup. 2009-05-23 20:13:09 +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
0f6bb0d8b0 Use mapped memory for LOD files. Fixed a few bugs. 2009-05-17 20:31:57 +00:00
Frank Zago
bc506bbc77 Fix 32 bits depth issues during combat. 2009-05-17 03:34:41 +00:00
Frank Zago
788343dd1d Typo: cast is an irregular verb. 2009-05-12 03:35:51 +00:00
Michał W. Urbańczyk
90fd75e66c * Removed trailing newline from settings.txt (caused warning)
* Sprite/Bitmap handlers moved to VCMI_Lib
* Moved volume sliders 1px down for better look
2009-05-09 16:18:27 +00:00
mateuszb
b5ae7d5cbe * refactorings and comment coverage improvements 2009-05-07 17:20:41 +00:00
Frank Zago
8172493467 Updated autoconf generated files. 2009-05-07 04:52:40 +00:00
Frank Zago
81d2a36df6 Autoconf rework. 2009-05-07 04:45:59 +00:00
mateuszb
047590427f * support for new hero bonuses (BLOCK_MORALE, SECONDARY_SKILL_PREMY (archery), AIR_SPELL_DMG_PREMY, EARTH_SPELL_DMG_PREMY, FIRE_SPELL_DMG_PREMY, WATER_SPELL_DMG_PREMY, BLOCK_SPELLS_ABOVE_LEVEL, SPELL_IMMUNITY, BLOCK_MORALE, FIRE_SPELLS, AIR_SPELLS, WATER_SPELLS, EARTH_SPELLS, SPELL, SPELLS_OF_LEVEL). It means that following artifacts are now supported:
- Orb of the Firmament
- Orb of Silt
- Orb of Tempestuous Fire
- Orb of Driving Rain
- Bow of Elven Cherrywood
- Bowstring of the Unicorn's Mane
- Angel Feather Arrows
- Tome of Fire Magic
- Tome of Air Magic
- Tome of Water Magic
- Tome of Earth Magic
- Recanter's Cloak
- Orb of Inhibition
- Pendant of Dispassion
- Pendant of Second Sight
- Pendant of Holiness
- Pendant of Life
- Pendant of Death
- Pendant of Free Will
- Pendant of Negativity
- Pendant of Total Recall
- Spellbinder's Hat
- Spirit of Oppression
- Sphere of Permanence
I hope I listed them all here :). Please try them and report if something's wrong.
2009-05-03 16:14:16 +00:00
mateuszb
bb8e505ccd * refactoring 2009-05-01 14:37:25 +00:00
Michał W. Urbańczyk
8c6c0df45e Sound patch from Ubuntux #11: Add music infrastruture + some musics in various places
[With mine minor fixes and updated MSVC project]
vcmi_music.diff
2009-04-30 23:25:17 +00:00
Michał W. Urbańczyk
df25dd7efb Sound patches from Ubuntux #7 - #10:
* Some sound code cleanups
* Renamed soundBase::soundNames into soundBase::soundID
* Add a music handler destructor
* Add Archdevil and vampire pre and post movement sounds

I've applied minor change to fix CMusicHandler - GeniusAI conflict: moved sounds bimap to the .cpp file.

(vcmi_sounds_cleanup.diff
vcmi_sounds_cleanup2.diff
vcmi_sounds_cleanup3.diff
vcmi_add_sounds.diff)
2009-04-30 10:53:06 +00:00
Michał W. Urbańczyk
ade4b46edd Sound patch from Ubuntux #2
(vcmi_sounds.diff)
2009-04-22 18:48:56 +00:00
Michał W. Urbańczyk
d625066449 Sound patch from Ubuntux #1 2009-04-22 18:28:01 +00:00
Michał W. Urbańczyk
c8b6858716 * mostly done Events objects handling
* some moving hero code improvements
* fixed Blacksmith
* minor changes
2009-04-20 22:57:07 +00:00
mateuszb
408411d8c3 * next ubuntux's patch 2009-04-19 15:01:33 +00:00
mateuszb
cc631b1362 * next ubuntux's patch
* normalized line endings (CR+LF)
* translated comments in CMessage.cpp
2009-04-16 11:14:13 +00:00
Michał W. Urbańczyk
d80afb1902 * server sends confirmation (given later to player interface) after applying request (will be needed for AI)
* created new package for injuring multiple units - needed for area spells (not tested)
* proper screen updating on garrison change
* spell effects will be removed when they time out
* Corpse (Skeleton) will be accessible from all directions
* new objects supported:
- Corpse
- Lean To
- Wagon
- Warrior's Tomb

* several minor improvements
2009-04-16 00:28:54 +00:00
mateuszb
f9ae91d88c * further changes towards support for ranged spells
* added info about author & license in files
2009-04-15 14:03:31 +00:00
Michał W. Urbańczyk
985b4930e4 Major changes to the GUI. Introduced list of interfaces (listInt) containing pointers to all shown interfaces / windows. Only top layer is active and regularly updated.
Windows should be shown using pushInt and closed with popInt or PopIntTotally (if interface needs to be also deleted).
Some things are not working yet properly, I'll try to fix them ASAP.
2009-04-14 12:47:09 +00:00
mateuszb
4d3808cfa0 * applied ubuntux's patches
* fixed AmptyAI (it builds now)
2009-04-13 18:52:20 +00:00