mateuszb
ae3fa69134
* next part of exchange window
...
* changed some CDefHandlers to CDefEssential (the second is less memory consuming)
* minor changes
2009-06-17 16:46:16 +00:00
Frank Zago
cb1c31ac49
Simplified terrainRect prototype.
2009-06-17 01:08:24 +00:00
mateuszb
8231a6e6cc
* first part of exchange window
...
* minor changes
2009-06-16 11:18:14 +00:00
Frank Zago
e4275c2c90
Make MARK_BLOCKED_POSITIONS and MARK_VISITABLE_POSITIONS compilable.
2009-06-14 15:53:40 +00:00
Frank Zago
facb984654
Missing diff from previous commit.
2009-06-14 15:14:03 +00:00
Frank Zago
96a34c30f0
Center active hero on map. Added map grid. Fixed a visual artefact.
2009-06-14 07:02:06 +00:00
Frank Zago
1c2ac579d5
The size of the frame around the map depends on the screen size, so compute it.
2009-06-12 03:26:41 +00:00
Frank Zago
a3d2ae2135
Temporarily disable map smoothing as it is source of crashes
2009-06-12 00:51:58 +00:00
Frank Zago
cc1c7c83c5
Readability and micro optimization.
2009-06-11 03:57:21 +00:00
Michał W. Urbańczyk
fcc4acc451
Two more fixes for CSDL_Ext::alphaTransform usage.
2009-06-07 07:38:51 +00:00
Frank Zago
78d62481e4
Fixed some small one-time memory leaks.
2009-06-06 22:36:15 +00:00
Frank Zago
b1c9b17327
Fix for bug introduced in r937.
2009-06-06 19:47:25 +00:00
Frank Zago
177d146f04
Optimize: don't compute invariants inside loops.
2009-06-06 19:07:51 +00:00
Frank Zago
a817244a98
Optimize.
2009-06-06 18:53:35 +00:00
Frank Zago
7acd191663
Move invariants out of the loops.
2009-06-06 17:43:36 +00:00
Frank Zago
7fe8e08e02
Makes code more readable + micro-optimization.
2009-06-06 17:33:26 +00:00
Frank Zago
6635cf4f23
Made a few functions static or static inline.
2009-05-23 22:57:39 +00:00
Michał W. Urbańczyk
1d5565b3a3
* updated project files for MSVC
...
* fixed a few includes paths
* it's possible to enter Tavern via Brotherhood of Sword
* fixes for statusbar
* fixes for townlist
* fixed crashes on building / clicking some buildings
* bumped version number to 0.71c
* bonuses from wearing more than one same artifact won't cumulate
2009-05-21 23:50:45 +00:00
Frank Zago
73949f3367
Build fixes for linux.
2009-05-21 00:55:30 +00:00
mateuszb
b5ae7d5cbe
* refactorings and comment coverage improvements
2009-05-07 17:20:41 +00:00
mateuszb
f9ae91d88c
* further changes towards support for ranged spells
...
* added info about author & license in files
2009-04-15 14:03:31 +00:00
mateuszb
aa87e1ff16
* next ubuntux's patch
2009-04-15 10:20:47 +00:00
Michał W. Urbańczyk
38b680ed30
* Patch from Ubuntux: fix to avoid resources becoming negative [on handling timed events]
...
* improvements for Garrison Window
* some changes towards Events support
* minor fixes
2009-04-14 23:29:26 +00:00
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