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

4466 Commits

Author SHA1 Message Date
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
mateuszb
68d37e1507 * small bugfix in dismissing hero (still needs better actualization of advmap lists)
* most buttons in battleInterface
2008-03-01 11:49:25 +00:00
Michał W. Urbańczyk
17d5d298ca * hints for cregens
* moved battle loop to the activeStack
2008-02-29 22:14:53 +00:00
mateuszb
8c0536be8e battles are now enabled - but running any freezes the screen
Tow, do something with that
2008-02-28 17:00:16 +00:00
mateuszb
fe2356ea0f missing file 2008-02-26 18:02:04 +00:00
mateuszb
1580c71c78 * reported problems with hero flags resolved
* a bit of battle interface
* heroes with same owner cannot fight
2008-02-26 18:01:26 +00:00
Michał W. Urbańczyk
1e7f8984e2 * new command - "get txt" - VCMI will extract all .txt files from h3bitmap.lod to the Extracted_txts/ folder.
* more detailed logs
* version changed to 0.55
2008-02-25 23:26:50 +00:00
Michał W. Urbańczyk
33fd0d22a6 * reading disposed/predefined heroes (probably works)
* new discoveries in h3m specification

VCMI handles correctly all known maps again :)
2008-02-25 18:35:10 +00:00
Michał W. Urbańczyk
ee2a63f26e * another fix of Pnadora's Box handling 2008-02-25 16:21:19 +00:00
Michał W. Urbańczyk
9819bc86e2 * stuff for battles
* Sprites/ folder works for h3sprite.lod same as Data/ for h3bitmap.lod
* randomization quantity of creatures on the map
* minor changes
2008-02-24 23:06:27 +00:00
mateuszb
0c2cf02ca6 * given hero is placed in the town entrance
Wspólne zmiany
* some objects such as river delta won't be blitted "on" hero
* tiles under FoW are inaccessible
* giving random hero on RoE maps
* improved protection against hero duplication
* fixed starting values of primary abilities of random heroes on RoE/AB maps
2008-02-23 19:20:41 +00:00
Michał W. Urbańczyk
dbf3b8d08e * right click popups with infoboxes for heroes/towns lists
* separation activate/show functions in advmapint
2008-02-22 22:26:31 +00:00
mateuszb
8b5a50f619 * new interface coloring (many thanks to GrayFace ;])
* fixed bug in object flag's coloring
* a bit of water animation (next thanks to GrayFace, even if it does not work good ATM)
2008-02-22 17:47:14 +00:00
Michał W. Urbańczyk
83b5c78d5a * added hints in town lists
* eliminated square from city hints
* version changed on 0.53c
2008-02-22 15:47:01 +00:00