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

5744 Commits

Author SHA1 Message Date
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
Michał W. Urbańczyk
06c193498e * added giving default buildings in towns
* town infobox won't crash on empty town
* version changed to 0.53b
2008-02-20 18:24:19 +00:00
Michał W. Urbańczyk
e46d411643 * mostly done town infobox
* town daily income is properly calculated
* minor not done stuff
2008-02-18 21:14:28 +00:00
mateuszb
3844c45441 small helpful function 2008-02-17 19:04:27 +00:00
mateuszb
a997c41f5c probably fixed problem with FoW on minimap on L-sized maps 2008-02-16 10:10:10 +00:00
Michał W. Urbańczyk
77fadf561d * added visitDir bitfield in CGDefInfo specifying from which directions object can be visited
* fixed crashbug in heroList (showing after dismissing hero)
2008-02-15 18:40:58 +00:00
mateuszb
d5a4dcc6cd * CPU usage decreased
* it's impossible to select empty artifact slot in hero window
2008-02-12 17:40:01 +00:00
mateuszb
4a655a0ad1 small changes 2008-02-11 18:40:10 +00:00
mateuszb
f0e2f1d205 * memory usage significantly decreased (now it's about half of what was before ;])
* load time significantly decreased also (now it's almost like in OH3)
* TODO: make extensively used CSDL_Ext::blit8bppAlphaTo24bpp faster - it slows down VCMI too significantly, but I'm sure it can be as fast as the code from SDL and anyway those speed-ups and memory usage decrease were worth it ;]
2008-02-10 17:44:51 +00:00
mateuszb
2f6ec1f7eb * better new hero initialization
* faster pathfinder
2008-02-10 15:43:11 +00:00
Michał W. Urbańczyk
021a7ed61a * Seer's Hut and Event with creatures won't crash on RoE maps 2008-02-10 15:02:08 +00:00
mateuszb
8fc8869bef quick bugfix in heroWindow 2008-02-10 13:09:56 +00:00
Michał W. Urbańczyk
85e45df6d1 Little bugfix in hero picking. 2008-02-10 12:57:56 +00:00
Michał W. Urbańczyk
ec072972ee * hopefully last bugfix for Pandora's Box
* fixed blockmap for generated hero
* one can't choose already disposed hero in pregame
* fixes in heroes and towns picking
* improved hero selection in pregame
* version changed to 0.53
* CGI will be in debug mode a global pointer (much more convenient debugging)
2008-02-10 09:35:52 +00:00
mateuszb
2b91d6129b small refactoring in mapHandler, first part of object-to-screen blitting (8bpp with alpha to 24bpp/32bpp without alpha) that will improve speed and memory usage (faster flag color selecting, 8bpp instead of 32bpp defHandlers, no need of secondAlphaTransform) 2008-02-09 14:44:32 +00:00
Michał W. Urbańczyk
7942f97870 * better 2008-02-07 19:05:16 +00:00
Michał W. Urbańczyk
a89b4e2c59 * [feature] giving starting hero
* [feature] VCMI will try to use files from /Data folder instead of those from h3bitmap.lod
* [feature] picked artifacts are added to hero's backpack
2008-02-07 18:45:22 +00:00
mateuszb
96734fafa1 general code improvements 2008-02-06 13:50:40 +00:00
Michał W. Urbańczyk
e34f9a54c9 * it's possible to choose a player
* minor fixes
2008-02-06 07:33:53 +00:00
Michał W. Urbańczyk
f0db8760c2 * redone ZELP.TXT handling. Now VCMI should handle all language versions of that file. 2008-02-06 05:12:59 +00:00
mateuszb
2e0dacd65a small bugfix in def handling 2008-02-05 10:58:59 +00:00
Michał W. Urbańczyk
c9cfdacbc5 * leading files from Data/ instead of h3bitmap.lod when possible (as in OH3)
* minor improvements
2008-02-05 07:21:09 +00:00
Michał W. Urbańczyk
fe5bcc19cf * redone def info handling
* redone randomization (mam nadziemę, że będzie toto działać)
* no more cheating pathfinder
* minor improvements
* version changed to 0.52
2008-02-05 03:56:45 +00:00