Michał W. Urbańczyk
5b077531cd
* improvements in recruitment window (slider won't allow to select more creatres than we can afford)
2008-05-12 05:46:04 +00:00
Michał W. Urbańczyk
2f2169b71f
* improved slider ( #58 )
...
* fixed problems with horde buildings (won't block original dwellings)
* giving primary skill when hero get level (but there is still no dialog)
* if an upgraded creature is available it'll be shown as the first in a recruitment window
* creature levels not messed in Fortress
* war machines are added to the hero's inventory, not to the garrison
* support for H3-style PCX graphics in Data/ (not tested)
* started doing support for ZSoft PCX graphics in Data/
* VCMI won't crash when is unable to initialize audio system
* fixed displaying wrong town defs
* minor fixes and improvements
2008-05-03 15:30:11 +00:00
mateuszb
33e3bf4849
better battle pathfinder and unit reversing
2008-05-03 15:18:48 +00:00
mateuszb
62952e3163
a bit of refactoring (removed variable ekran as we have screen which is the same as ekran)
2008-04-25 09:25:59 +00:00
Michał W. Urbańczyk
53b201c63f
Fixed wrong creatures def names
2008-04-24 01:27:37 +00:00
mateuszb
9674343453
* fixed memory leak in battles
...
* blitting creature animatoins to rects (not tested!)
* a few minor improvements
2008-04-20 15:56:03 +00:00
Michał W. Urbańczyk
4ff5788e51
* version changed to 0.58
...
* splitting stacks in hero window
* minor fixes
2008-04-20 12:39:33 +00:00
Michał W. Urbańczyk
d7b5099b6f
Fixed moving creatures in garison in heroWindow
2008-04-19 19:29:00 +00:00
mateuszb
8fca3147b3
small fix
2008-04-19 18:08:29 +00:00
mateuszb
f9a4c2a5fd
better support for two-hex stacks
2008-04-19 17:10:57 +00:00
Michał W. Urbańczyk
06f278717c
Splitting stacks
2008-04-19 16:15:04 +00:00
mateuszb
df76e03628
console in battles and small improvements
2008-04-16 17:21:02 +00:00
Michał W. Urbańczyk
e8056d0d80
* improved slider
...
* fixed leaving battles
2008-04-15 17:12:21 +00:00
mateuszb
54f94cf5ef
a bit of escaping battlefield (to be finished)
2008-04-15 16:52:31 +00:00
mateuszb
063d2279ee
* nicer movement of creatures on battlefield
...
* amounts of creatures on battlefield
* partial support for two hex creatures
* a few minor things
2008-04-14 18:24:46 +00:00
Michał W. Urbańczyk
fb5c26437c
* correctly calculated growths (including castles and horde structures)
...
* giving daily income
2008-04-14 17:45:01 +00:00
Michał W. Urbańczyk
a729484dde
* battle funcs added to ICallback
...
* initing visiting heroes
* merging stacks in town screen
* available creature amount handled
2008-04-13 11:05:39 +00:00
Michał W. Urbańczyk
ffc93639ab
Recruitment should work (todo - growths, counting remaining creatures)
2008-04-11 17:41:02 +00:00
mateuszb
149c6772e2
battle and general upgrades and bugfixes
2008-04-07 17:51:46 +00:00
Michał W. Urbańczyk
36779118b5
Huge commit:
...
* correctly showing recruitment window (recruitment not ready)
* new slider class
* creature growths handled (horde buildings not yet supported)
* buttons more secure
* info about factions and their creatures
* costs of creatures merged into vector
* info about town structeres state (started)
* new function in CSDL_Ext for drawing borders
* numerous minor changes
2008-04-04 17:30:53 +00:00
mateuszb
fc4e0215fb
* moving units and some minor improvements
2008-03-29 10:59:18 +00:00
mateuszb
137f62798b
completed calls of functions during stack's move
2008-03-24 19:04:30 +00:00
mateuszb
500f55cd52
A few upgrades and bugfixes in battles
2008-03-24 13:25:11 +00:00
mateuszb
d5a5a04811
progress in battles
2008-03-23 17:25:38 +00:00
Michał W. Urbańczyk
ac82c2fe5a
Mostly working building and requirements
2008-03-23 01:01:17 +00:00
mateuszb
f5cd675c6a
requirements almost complete (todo: add nontrivial upgraded conflux dwelling's requirements)
2008-03-22 16:22:21 +00:00
Michał W. Urbańczyk
1e61235aa9
Almost finished building of buildings.
2008-03-21 00:03:31 +00:00
mateuszb
db12ede837
added requirements for some towns (to be tested - they're probably good, but seem to don't work)
2008-03-20 14:23:54 +00:00
phoebus118
3a279a7964
Interface added: CMusicHandler::playLodSnd(std::string name).
...
We can play wav data of Heroes3.snd through CMusicHandler::playLodSnd(std::string name) now, where name can be "BASLDFND.wav" or "BASLKILL.wav".
2008-03-20 09:55:33 +00:00
phoebus118
9c4cb94490
Play Wav from Lod directly. Need a little more work..
2008-03-20 08:51:53 +00:00
mateuszb
bd7cf60f13
faster and better creature animation handling (almost finished!)
2008-03-18 17:05:00 +00:00
Michał W. Urbańczyk
b3c69fe838
More town hall code, started making building requirements.
2008-03-16 00:09:43 +00:00
mateuszb
d106fdcf2a
battle improvements
2008-03-15 17:48:05 +00:00
mateuszb
7b88f4a70b
another piece of battles (with code reorganization)
2008-03-14 18:24:37 +00:00
Michał W. Urbańczyk
eed2a2b54c
More code for halls.
2008-03-11 21:36:59 +00:00
mateuszb
b95551a0be
* another part of Battle interface
2008-03-10 20:19:41 +00:00
Michał W. Urbańczyk
c3249d3fd7
Some code for town hall screen.
2008-03-09 23:06:35 +00:00
mateuszb
0379fbfc1d
* [battles] displaying fighting creatures
...
* faster blitting of animated unit
2008-03-08 15:23:04 +00:00
Michał W. Urbańczyk
23a7b708d8
* right click popups in towns
...
* drawing window text-bitmap-subtitle
* destructor for CDefEssential
* version changed to 0.5x (or maybe it should be 0.6 ?)
* minor changes
2008-03-06 18:54:35 +00:00
mateuszb
f1e40d5e86
* significant speed-up in def loading
...
* bugfixes (player's id - player's serial mismatches)
2008-03-06 16:42:34 +00:00
mateuszb
26592feb02
missing file
2008-03-06 12:59:31 +00:00
mateuszb
4236c65512
another piece of battles (and CCreatureAnimation)
2008-03-05 17:01:41 +00:00
mateuszb
ffd3742e3d
another piece of battles
...
Yifeng, your blitting optimizations are good enough for now (and work for me ;]). If you want to do something simple and developing, you could write sound handling - especially a function to play sounds directly from lod files (atm it requires unpacking to a file and opening it). It may require a small patch to SDL_mixer, but will significantly contribute to this project.
2008-03-04 17:25:58 +00:00
phoebus118
4f3ca5613e
Corrected blit8bppAlphaTo24bpp function. Can anyone give me some hints to further improve this algorithm?
2008-03-04 13:59:34 +00:00
mateuszb
9b9a9b455f
* hero is displayed in battle window
...
* battle console buttons added
* blit8bppAlphaTo24bpp bad working fixed (to be optimized)
* maybe something else
2008-03-03 19:41:10 +00:00
phoebus118
ab3d7fccb5
Fix an error
2008-03-03 11:18:23 +00:00
phoebus118
5f4b582eab
Little faster CSDL_Ext::blit8bppAlphaTo24bpp, please review my code.
2008-03-03 10:52:32 +00:00
Michał W. Urbańczyk
88acb2e0c1
* redone building info reading
2008-03-02 18:16:08 +00:00
Michał W. Urbańczyk
6cb9ed9f8b
*fixed bugs with hero dismissing
2008-03-02 13:16:11 +00:00
Pioxan
1b55f6457f
* fixed crashbug with dissmising heroes
...
* fixed bug with hero list redrawing after dissmissing
2008-03-01 14:50:22 +00:00