mateuszb
6d5ed19ad3
* improved comment coverage in CPlayerInterface.h and CBattleInterface.h
...
* corrected road blitting when hero moves smoothly and road is near top edge of screen
2009-03-22 16:04:46 +00:00
mateuszb
a08aaba29d
* probably fixed problem with displaying corpses on battlefield
...
* fixed buy troops window
* workaround for a problem with GeniusAI
* some magic numbers are removed
2009-03-12 18:06:02 +00:00
mateuszb
124e768a99
* added missing movement arrows (advmap interface)
...
* corrected centering on hero's position
* merged terrainRect and terrainRectSmooth
2009-02-02 13:05:19 +00:00
Michał W. Urbańczyk
ccaf244a54
Fixed save/load maps with removed objects. Fixed spell scroll handling (really).
2009-02-01 23:56:45 +00:00
Michał W. Urbańczyk
8868105fac
* fixed the evil, strange bug [ http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=93 ]
...
* fixed invisible hero problem reported by Steven Aus
* version bumped to 0.69
2009-01-30 21:28:02 +00:00
Michał W. Urbańczyk
a37ce5df9e
* partial handling r-clicks on adv map
...
* minor fixes
2009-01-14 19:01:20 +00:00
Michał W. Urbańczyk
b895fa35cb
* saving and resuming games should work!
...
(loading from the main menu, saving using "save [NAME]" command)
2009-01-12 20:05:56 +00:00
Michał W. Urbańczyk
3474fdaf05
* save/load partially working
...
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00
mateuszb
6e53a4562f
*small fixes for issues introduced in previous revision (or older, I'm not sure)
2009-01-09 18:12:36 +00:00
mateuszb
22efd5df29
* experimental smooth hero move support (minor graphical glitches exist but I hope they'll be removed soon; I hope there are no more problems with it, but please test)
...
* small graphical glitch fixed
2009-01-09 13:03:47 +00:00
mateuszb
fa11c06bdc
* our changes
...
* centered spellBook
* magic arrow animation fits battle window
* preventing different battle animations from getting out of appropriate rect
2009-01-07 19:40:19 +00:00
Michał W. Urbańczyk
847a4f222c
Further serialization code and refactorings.
2009-01-06 18:42:20 +00:00
mateuszb
b114582857
* corrected indentation
...
* centered battle interface
* battle cursor while 1024x768 is now correct
* new version of settings.txt from Tow
2008-12-23 13:59:03 +00:00
Łukasz Wychrystenko
633b0007ba
some warning & code cleanup - nothing significant
2008-12-21 19:17:35 +00:00
Łukasz Wychrystenko
c1239b3d29
little change for gcc
2008-12-18 08:04:53 +00:00
mateuszb
00899402cc
* choosing adventure map scroll speed
2008-11-30 14:08:07 +00:00
Michał W. Urbańczyk
c6bcd61aba
* animation of water tiles
...
* minor changes
2008-11-30 00:15:38 +00:00
mateuszb
6b9146f998
* lightning bolt and ice bolt spells
...
* displayEffect shows animations on more correct places
* removed three magic numbers (now they're BFIELD_WIDTH, BFIELD_HEIGHT and BFIELD_SIZE macros)
* minor changes
2008-11-10 19:06:04 +00:00
Michał W. Urbańczyk
3a66dc2b7c
* added heroes pool for heroes available for hiring
...
* better handling disposed/predefined heroes
* blocked scrolling adventure map with mouse when left ctrl is pressed
* scholar will be accessible from the top
* partially done tavern and hero recruitment
* fixed bug with formation button in hero window
* unified hero initialization code
* minor changes
For 0.63c dev release
2008-10-26 20:58:34 +00:00
Michał W. Urbańczyk
48cb63f144
* possibly fixed bug with the mage guild when no spells available
...
* events won't be shown and won't block movement
* casualties among hero army and neutral creatures are saved
* it's possible to build lighthouse
* increased thread-safety (may prevent some crashes)
* minor fixes
2008-09-20 18:30:37 +00:00
Michał W. Urbańczyk
856698bd80
* fixes for MSVC (it needs to have global variables from library explicitly exported)
...
* renamed logging variables to tlogX ('_' in var names looks ugly)
* cleaned it improved setting formations
* fixed crashbug on maps with random hero
2008-09-19 08:16:19 +00:00
Vadim Glazunov
a1dd7f22f9
gcc fixes(bad idea to call global vars such as log2, this name used by math function). Colored log support on some non-win32 platforms. Small Automake project update
2008-09-18 20:24:53 +00:00
Michał W. Urbańczyk
629d934810
* moved CConsoleHandler to lib (update project files)
...
* using winapi for better console handling with MSVC (I hope I didn't break anything at GCC)
* new logging system (use log0 - log5 for different priorities and colors (at msvc))
* using lists for storing activated interface objects
* more proper closing of server
2008-09-17 10:18:22 +00:00
Michał W. Urbańczyk
6233066b91
* it's possible to use other port than 3030 by passing it as an additional argument
...
* removed some redundant warnings
* minor improvements for marketplace
2008-09-09 01:40:43 +00:00
Michał W. Urbańczyk
bca18a31c3
* fixed crashes when town is placed out of the map boundaries
...
* for screen is updated after buying creatures
* fixed crashbug on maps with random monster
* proper images of war machines are displayed in blacksmith
* picking starting hero should work again
* Ice Elemental will be treated as two-hex creature
* minor fixes
2008-08-29 21:41:32 +00:00
Michał W. Urbańczyk
22ade5efbe
* make compatible with boost 1.36.0 (there was breaking change in boost::function)
...
* randomizing spells in towns
* fixed reading forbidden structures
* support for heroes starting in town garrisons
* hopefully fixed problems with wrong town defs (village/fort/capitol)
* moved CSpellHandler.* to VCMI_Lib (project files must be updated)
* redone reading spell info
* added missing features to the fort screen
* minor improvements
* partially done mage guild screen
2008-08-20 06:57:53 +00:00
Michał W. Urbańczyk
346af53961
* showing creature amount in the CCreInfoWindow
...
* fixes and improvements in dismiss/upgrade dialogs
* possibility of moving hero into the garrison
* viewing hero window in the town screen
2008-08-16 08:47:41 +00:00
Michał W. Urbańczyk
59b808f4e1
* removing objects (resources, chests, dismissing heroes)
2008-08-13 04:41:11 +00:00
Michał W. Urbańczyk
b89c951d09
* version set to 0.62
...
* almost redone treasure chest
* working gaining levels for heroes (including dialog with skill selection)
* corrected another typo i cr_shots
2008-08-13 00:44:31 +00:00
Vadim Glazunov
6e737bbf3c
Now netcode branch may be compiled with gcc. Sorry can't check build with MSVC
2008-08-04 09:05:52 +00:00
Michał W. Urbańczyk
cc7be20b07
Merged most of the changes from trunk.
...
Because of really huge amount of modifications here I've probably missed some minor stuff. I doubt if it's still compatible with gcc - some changes should be reapplied.
2008-08-02 15:08:03 +00:00
Michał W. Urbańczyk
1f4b4364df
Dismissing heroes / minor.
2008-08-01 21:41:38 +00:00
Michał W. Urbańczyk
add34b26ed
Further refactoring: merged terrain and undergroundTerrain in Mapa.
2008-07-29 19:10:28 +00:00
Michał W. Urbańczyk
08b6796545
Mainly refactoring
2008-07-29 09:53:27 +00:00
Michał W. Urbańczyk
3247a9a4dd
Rewrote hero moving code. Seems to be working.
2008-07-28 12:44:08 +00:00
Michał W. Urbańczyk
62b0365e70
Improvements for netcode. AI is working. Townlist won't crash. Moving hero is wrong but won't crash. Giving starting hero is working properly. Town defs are wrong but displayed.
2008-07-27 17:07:37 +00:00
Michał W. Urbańczyk
0c139e72f5
More changes for netcode/serialization
...
Removed not needed stuff
2008-07-25 17:28:28 +00:00
Michał W. Urbańczyk
1b73678b7c
Fighting with includes.
2008-07-02 08:39:56 +00:00
Michał W. Urbańczyk
b0002ff50b
* added files for future server
...
* make code compiling
* broken objects scripts
2008-07-01 08:01:02 +00:00
Michał W. Urbańczyk
ea8562a6b1
Rest of commit: broken battles, starting hero, town displaying and linker errors.
...
Further changes for netcode.
2008-06-30 00:06:41 +00:00
Michał W. Urbańczyk
d251597617
Moved objecthandler / minor
2008-06-17 17:48:32 +00:00
Michał W. Urbańczyk
6ad729148e
Continuation of splitting.
...
(don't try to compile this revision)
2008-06-13 08:16:51 +00:00
Michał W. Urbańczyk
4347996353
Cleanups + started splitting
2008-06-12 06:45:51 +00:00
Michał W. Urbańczyk
dbca25df74
Cleanups/refactoring
2008-06-11 01:53:57 +00:00
Michał W. Urbańczyk
798fd11f65
radical cleanups
2008-06-08 00:58:29 +00:00
Michał W. Urbańczyk
feaa2396a6
Code cleaning/refactoring
2008-06-07 17:16:52 +00:00
mateuszb
25ab2e5d8b
* animations won't go in the same phase ( resolved #55 )
...
* small upgrades
2008-06-03 13:15:34 +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
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
mateuszb
b95551a0be
* another part of Battle interface
2008-03-10 20:19:41 +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
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
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
mateuszb
3844c45441
small helpful function
2008-02-17 19:04:27 +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
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
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
mateuszb
21ec0b77d4
code cleanups, etc.
2008-02-03 15:24:35 +00:00
Michał W. Urbańczyk
bd7d5d2687
* removed useless but slowing def handling code
2008-02-03 05:36:56 +00:00
Michał W. Urbańczyk
847126f57a
* close button properly closes (same does 'q' key)
...
* two players can't have selected same hero
* double click on "Show Avalible Scenarios" won't reset options
* fixed crashbug in town/hero lists
* fixed crashbug in initializing game caused by wrong prisons handling
* fixed crashbug on reading custom artifacts in RoE map
* fixed crashbug on reading custom pandora's box in RoE map
* fixed crashbug on reading blank quest guards
* improved console messages
Ufff....
2008-02-03 04:22:58 +00:00
mateuszb
974d27aacc
small improvements, bugfixes etc.
2008-01-30 14:19:35 +00:00
mateuszb
7968aebe1a
bugfix, a bit more of hero window
2008-01-12 12:55:45 +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
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
Michał W. Urbańczyk
7db86e5f9e
* code reorganization (posiekałem potwora!)
2007-12-22 21:06:49 +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
f7d3089174
static FoW
2007-12-11 18:49:24 +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
Michał W. Urbańczyk
736af28c05
Working windmill, water wheel, mystical garden (not tested).
...
Info windows.
Minor changes.
2007-11-23 22:33:55 +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
Michał W. Urbańczyk
556311c9ab
Partially done object scripting and interactions.
...
Most of 0.4 ;)
2007-11-18 22:58:28 +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
Michał W. Urbańczyk
de4d8e093e
* redone def declaration reading
2007-10-28 17:56:16 +00:00
mateuszb
287b053041
* small improvements
2007-10-28 15:15:58 +00:00
Michał W. Urbańczyk
cc01243da5
It should be quite stable now.
2007-10-27 20:14:25 +00:00
Michał W. Urbańczyk
4f316cd7e6
Our changes.
...
Restructured instances classes.
Still very instable.
2007-10-27 19:38:48 +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