Commit Graph
100 Commits
Author SHA1 Message Date
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
mateuszb bd7cf60f13 faster and better creature animation handling (almost finished!) 2008-03-18 17:05:00 +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
mateuszb b95551a0be * another part of Battle interface 2008-03-10 20:19:41 +00:00
mateuszb 0379fbfc1d * [battles] displaying fighting creatures
* faster blitting of animated unit
2008-03-08 15:23:04 +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
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
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
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
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
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
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
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
mateuszb 8fc8869bef quick bugfix in heroWindow 2008-02-10 13:09:56 +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
mateuszb 96734fafa1 general code improvements 2008-02-06 13:50:40 +00:00
mateuszb 2e0dacd65a small bugfix in def handling 2008-02-05 10:58:59 +00:00
mateuszb 21ec0b77d4 code cleanups, etc. 2008-02-03 15:24:35 +00:00
mateuszb 313f940e7e small and unfortunately partial bugfix 2008-02-02 13:06:33 +00:00
mateuszb 31a5ea2ae5 general heroWindow improvements 2008-01-31 12:10:59 +00:00
mateuszb 974d27aacc small improvements, bugfixes etc. 2008-01-30 14:19:35 +00:00
mateuszb 2b4e5ff2e2 hero screen garrison and small crashbugfix 2008-01-30 13:18:08 +00:00
mateuszb ed0bbcfe11 changes seem to cover almost everything on heroes' artifacts in hero screen
a part of code has been refactored for simpler support by other parts of code
2008-01-30 10:55:43 +00:00
mateuszb 099af11606 secondary skills' descriptions and rightcliks on artifacts 2008-01-29 13:55:14 +00:00
mateuszb b1af2fb829 strange bug while clicking 2008-01-28 12:28:18 +00:00
mateuszb 74cce9b7a0 some additional descriptions on heroWindow, better functions for hero level <-> exp (to be tested a bit more) 2008-01-27 16:07:27 +00:00
mateuszb 8da051febf Wspólne zmiany (Common changes)
* fixed heroWindow
* started making garrisons
2008-01-26 19:36:31 +00:00
mateuszb b5ecb2e146 some minor improvements 2008-01-25 19:09:41 +00:00
mateuszb c66d430702 memory optimizations (less leaks) 2008-01-23 18:32:24 +00:00
mateuszb f0186c3858 less leak, bizzare buttons 2008-01-21 18:08:53 +00:00
mateuszb 7cb9c879ca small improvements 2008-01-20 17:10:01 +00:00
mateuszb 315f92ef14 bugfix and speedup 2008-01-20 15:26:34 +00:00
mateuszb 86b8c16f0a broken hero switch 2008-01-20 13:53:11 +00:00
mateuszb efd09f0a68 fixed misc5 bug, hero backpack, strange bug with hero portrait (LClick) 2008-01-19 18:58:24 +00:00
mateuszb e3f40e6907 first part of artifacts on hero window - small problem with misc5 slot (most probably in AmbarCendamo) 2008-01-19 13:19:58 +00:00
mateuszb bce31ba91b another part of hero window and other improvements 2008-01-15 18:50:52 +00:00
mateuszb 0fc7d5b795 another piece of hero window 2008-01-13 19:42:21 +00:00
mateuszb d55b020dbd a bit more of hero window 2008-01-13 16:24:24 +00:00
mateuszb 7968aebe1a bugfix, a bit more of hero window 2008-01-12 12:55:45 +00:00
mateuszb 2ce033aba9 heroWindow is now show/hideable ;] 2008-01-11 18:56:39 +00:00
mateuszb e62cfed95f a bit of hero window
help needed - make something to prevent changing surface stored in CHeroWindow::background. I do not overwrite it, but it changes dramatically with every call of CHeroWindow method!

And besides - is there anything to make my window displayed easily, without calling show() every frame when it should be displayed? any machanism?
2008-01-10 19:01:25 +00:00
mateuszb a4e4c97776 possibly handles all H3 maps inculding RoE 2008-01-08 16:08:25 +00:00
mateuszb ef90e6140f hero animation speed now independent 2008-01-08 13:31:44 +00:00
mateuszb 8c651b5021 - repaired wrong decompressing defs type 2 (mainly effected shadows)
- fixed #34
- correctly working most of CCreatureHandler (except displaying only specific part of animation)
2008-01-07 18:24:05 +00:00
mateuszb e44c6b47f3 - rename
- partially written CCreatureAnimation
2008-01-06 18:07:03 +00:00
mateuszb d116caeb26 some improvements in map randomizing, most things done. If you want to do sth with this, do it ;]. 2007-12-26 13:57:38 +00:00
mateuszb e12976a9fe small update 2007-12-15 15:33:14 +00:00
mateuszb c1a2a93a2d some stuff on randomizing cregens. Needs a lot of polishing, wirting unwritten funcs, checking ranges and behavoiurs, tests, etc...
1) CTown is incorrectly assigned - should be repaired asap (if you could...)
2) bad printing prioring while not on def list - i will try to handle this
3) something wrong with rand - returns same values too often (more tests? replace?)

Those things are mostly bugs. If anything is not fixed or described by me as 'I'll fix that' by the end of this week, it will be considered as 'assigned also to Tow' and I will expect your help.
2007-12-14 18:49:41 +00:00
mateuszb b0648b4c63 support for Ab maps, needs a bit of testing 2007-12-13 17:42:12 +00:00
mateuszb f7d3089174 static FoW 2007-12-11 18:49:24 +00:00
mateuszb 56ed228cb1 minimap completety fixed (never use float for precise int calculations!) 2007-12-09 14:02:11 +00:00
mateuszb c27f2359bd small bugfix 2007-12-07 16:54:07 +00:00
mateuszb 4a6ffa94d0 part of minimap revealing 2007-12-06 19:54:31 +00:00
mateuszb 58f1a2169f faster FoW in minimap, does not work, compiler errors 2007-12-06 18:55:58 +00:00
mateuszb 7c0f9afc9f correct detection of blocked pos after disappearing objects and hero movement 2007-11-29 18:45:47 +00:00
mateuszb ea8ab56cea * recalculationg positions for blocked/visitable
* improvements in deleting objs
* to be tested
2007-11-25 18:32:11 +00:00
mateuszb b226540775 deleting objects, a bit of hero randomizing 2007-11-24 18:54:34 +00:00
mateuszb d8103fd242 * part of new object randomizing; make it work (I mean moving the last hero on your Arrogance2 - it doesn't wotk and I don't know why) 2007-11-20 17:52:22 +00:00
mateuszb 8b73ab8492 * fixed bugs in hero moving
* added functions to show/hide objects to CMapHandler
* added (partially written) fonction to create new CGObjectInstances
* added 2 console commands: A hides all abjects and R shows them again
2007-11-03 16:46:08 +00:00
mateuszb 287b053041 * small improvements 2007-10-28 15:15:58 +00:00
mateuszb c18e4573f1 * small improvements
* probably working getting visitable objects at certain position (to be tested)
2007-10-26 17:55:33 +00:00
mateuszb b07b1ec7dc * displaying flags
* significant speed-ups and warningfixing
2007-10-25 16:14:43 +00:00
mateuszb 21f8684cdd * a bit of printing object flags
* small speed up
2007-10-24 19:54:35 +00:00
mateuszb 76919a6e39 small bugfix 2007-10-22 16:35:47 +00:00
mateuszb d1fa849071 ultrasmall bugfix 2007-10-20 12:07:15 +00:00
mateuszb e3937da8e3 shadow improvement 2007-10-19 17:47:28 +00:00
mateuszb f3b5d07aa5 * bugfixes
* general improvements
2007-10-18 20:14:26 +00:00
mateuszb c1e9e9b750 * resolving #41 and #36
* small improvements
2007-10-17 20:05:49 +00:00
mateuszb 355e21b56a * finishing hero flags
* some things with #36 and #41
2007-10-16 17:46:01 +00:00
mateuszb 62b69b1f25 our changes 2007-10-13 18:49:43 +00:00
mateuszb f3b712e6ea * resolving #35
* small changes
2007-10-11 20:13:13 +00:00
mateuszb e32eaac8af * resolving #18
* small bugfix
2007-10-09 15:15:35 +00:00
mateuszb a98ee6b466 * small bugfix 2007-10-09 13:43:13 +00:00
mateuszb 65ae2cd217 * resolving #31
* using better flags
2007-10-08 18:47:23 +00:00
mateuszb 87b3459d14 * resolving #28
* minor changes and improvements
2007-10-07 16:01:53 +00:00
mateuszb 49565e6b45 * resolving #23 with adding it to callback 2007-10-05 18:10:33 +00:00
mateuszb df3b0f56d9 * fixing hero move
* fixing horopos actualization
* fixing #9 bug
2007-10-04 16:40:40 +00:00
mateuszb d530bd057d * fixed some issues with hero moving; actualizing hero position is still broken :( 2007-10-03 19:56:08 +00:00
mateuszb 6f4156c901 small improvements 2007-09-18 17:01:47 +00:00
mateuszb b0e72f334e small bugfix, move of one file 2007-09-17 17:36:20 +00:00
mateuszb 3ce6c4bf70 missing file 2007-09-16 13:00:13 +00:00
mateuszb 3c4923a31e hero animation 2007-09-15 18:04:12 +00:00
mateuszb f6953057d7 * main things in hero moving
* some minor fixes
2007-09-15 15:44:08 +00:00
mateuszb 55c0dc0229 some stuff to hero moving 2007-09-13 13:34:59 +00:00
mateuszb 88a1809229 initializing town instances in game state 2007-09-05 15:56:35 +00:00
mateuszb 5222be8d94 * upgrades in moveHero function
* new folder structure
2007-08-30 10:11:53 +00:00
mateuszb 2d7dbbefc3 * partially written hero moving
* improvements in include system
2007-08-29 12:18:31 +00:00
mateuszb 4162103cf1 improvements in reading h3ms, to be tested 2007-08-26 16:02:36 +00:00
mateuszb 2541422e92 * support for all SoD/WoG maps (to be tested)
* small improvements and bugfixes
2007-08-25 17:51:32 +00:00
mateuszb ad68aa3dea * small bugfix 2007-08-24 15:00:13 +00:00