mateuszb
9a8e009862
* magic arrow flight animation (full hit animation will be later as it should be implemented via support for AC format)
...
* fixed bug with dying unit
* minor things
2008-10-18 13:50:18 +00:00
Michał W. Urbańczyk
9d099e8c54
* blocked map scrolling where dialog window is opened
...
* it's possible in battles to check remeaining HP of neutral stacks
* function in CGameInterface called when spell is casted. Support for the Magic Arrow from engine side.
* heroes can regain mana
* support for mistycisim and intelligence skills
* fixed leak with creating frameratekeeper every turn
* minor improvements
2008-10-18 11:41:24 +00:00
mateuszb
20a6e05718
small fixes
2008-10-17 17:43:25 +00:00
mateuszb
929ce79ad4
* general improvements in battles
...
* calls for spell casting in battles (they usually crash VCMI server)
2008-10-17 16:30:56 +00:00
Michał W. Urbańczyk
4af64f1b9f
* fixed blocked shooter behavior
...
* slowed map scrolling
* minor
2008-10-11 13:14:52 +00:00
mateuszb
7104326563
* water elemental will really be treated as 2 hex creature
...
* potential infinite loop in reverseCreature removed
* proper handling of battle cursor
2008-10-05 12:34:14 +00:00
mateuszb
c5a5cb7b38
further battle fixes
2008-10-04 10:00:31 +00:00
mateuszb
e94e6ac78a
probably fixed problems with battles
2008-10-04 09:27:57 +00:00
mateuszb
57238200e6
bugfixes
2008-09-30 14:50:11 +00:00
Michał W. Urbańczyk
917be0693d
* fixed start move animation
...
* added receiving exp (and leveling-up) after a won battle
2008-09-29 10:16:02 +00:00
Michał W. Urbańczyk
89cb5cb81b
* added calls for battle action start/end
...
* added interface for casting spells
* artifact info in backpack
* artifacts we pick up on the map go to the appropriate slot (if free)
2008-09-28 21:01:49 +00:00
mateuszb
6a3d0b666f
* directional attack in battles
...
* CSystemOptionsWindow partially done
* added a few consts and references to improve performance
2008-09-25 14:09:31 +00:00
mateuszb
8bde616908
* mostly done battle options (although they're not saved)
...
* general improvements in rendering of battle interface
2008-09-24 16:25:14 +00:00
Vadim Glazunov
c00d0e4aca
gcc fix
2008-09-23 17:14:46 +00:00
mateuszb
64ce34af0e
first part of CBattleOptionsWindow
2008-09-23 15:40:30 +00:00
mateuszb
e1be5896b9
* better animation handling in battles
...
* VCMI won't crash when units without start/end of walking animations are moved (ie. halberdier)
2008-09-22 12:22:10 +00:00
mateuszb
8c937d92ad
* dead stacks won't be displayed in battle queue
...
* fixed bug with pathfinder
2008-09-20 12:33:37 +00:00
mateuszb
c5c9127673
* fixed a few problems with refreshing screen during blitting using CSDL_Ext::printAtMiddle
...
* fixed drawbacks in displaying secondary skills in hero window
* fixed two bugs with spellBook
* corrected order of spells in spellBook
* spellBook is opened when hero in battle is left-clicked
2008-09-16 15:23:44 +00:00
Michał W. Urbańczyk
dc7d324045
* fixed attacking with shooting stack in a close-combat
...
* max/buy buttons in recruitment window are not active when there are no available creatures to buy
* reading no-retalation and twice-attack abilities
* boars are treated as two-hex
* dead stack won't retaliate
* support for double attack (not tested)
* one more typo fixed in battle backgrounds list
2008-09-14 07:11:07 +00:00
mateuszb
ae6e260107
* third part of spellBook
...
* probably finished counterattacking
2008-09-12 13:06:53 +00:00
Michał W. Urbańczyk
e71b40ccc5
* counterattacks
...
* spells learning
* no tooltips for objects under FoW
* working resource silo
* new system for simple unit abilities/states
* neutral monster army disappears when defeated
* synchronization between client and server processes
* fixed battle ending
2008-09-12 08:51:46 +00:00
mateuszb
b256f0ff43
* stack queue in battle (shows when 'c' key is pressed)
...
* minor fix of cursor image
2008-09-09 11:25:21 +00:00
Michał W. Urbańczyk
5e0986f9d8
* fixed defending creature in battle end window (slot id was used instead of creature id)
...
* redone casualties calculacion
* redone battle-end checking (now it works always)
* further fixes/checkings around netcode
2008-09-09 07:05:02 +00:00
mateuszb
781340f339
* window of result of battle is shown when one of players has no live stacks
...
* confirm window is shown before retreat
* minor improvements
2008-09-08 11:32:16 +00:00
mateuszb
062f59a583
printing casualties in battles and minor things
2008-09-07 15:39:19 +00:00
Vadim Glazunov
4edd375ddb
Some changes to compile again with gcc
2008-09-07 12:13:51 +00:00
mateuszb
2af92aa170
* first part of end of battle window
...
* fixed heap corruption while exiting battle
2008-09-05 16:08:25 +00:00
mateuszb
6633fb86ef
very significant optimization of battles
2008-09-03 10:52:07 +00:00
mateuszb
37753e6678
probably optimized code for battles
2008-08-31 17:23:40 +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
1c7e3718a7
* swapping artifacts (needs testing)
...
* various improvements and fixes for interface
* put changelog into ChangeLog
2008-08-20 19:02:48 +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
8a6cfa2590
Dialog windows when upgrading/dismissing creature.
2008-08-15 14:08:39 +00:00
Michał W. Urbańczyk
6e02c1c5db
* corrected typo in cr_shots
...
* recruiting creatures
2008-08-10 04:46:16 +00:00
Michał W. Urbańczyk
15ff21e84c
Battles: attacking, shooting, killing.
2008-08-08 23:02:32 +00:00
mateuszb
b75161788e
* small changes
2008-08-07 12:29:53 +00:00
Michał W. Urbańczyk
9ec606a40b
Battles:
...
* removed some displaying problems
* showing last group of frames in creature animation won't crash
* added start moving and end moving animations
* fixed moving two-hex creatures
* showing/hiding graphic cursor
* a part of using graphic cursor
2008-08-07 00:38:44 +00:00
Michał W. Urbańczyk
4673a6d0e1
Improved pathfinding in battles, removed problems with displaying movement, adventure map interface won't be called during battles.
2008-08-06 17:49:47 +00:00
Michał W. Urbańczyk
a15ffb06e6
* compiles under MSVC (haven't I broken anything on gcc?)
...
* half-done support for battles
2008-08-04 15:56:36 +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
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
c351496a47
* moved map reading to the map.cpp
...
* merged changes from trunk (since r461)
2008-06-21 13:27:52 +00:00
Michał W. Urbańczyk
4347996353
Cleanups + started splitting
2008-06-12 06:45:51 +00:00
Michał W. Urbańczyk
dd9b506293
Merged changes from trunk (since r452)
2008-06-11 01:58:18 +00:00
Michał W. Urbańczyk
feaa2396a6
Code cleaning/refactoring
2008-06-07 17:16:52 +00:00
Michał W. Urbańczyk
7e12926baa
* VCMI won't crash when r-click neutral stack during the battle
...
* water won't blink behind shipyard in the Castle
* in the townlist in castle selected town will by placed on the 2nd place (not 3rd)
* fixed memory leaks
* properly displaying two-hex creatures in recruit/split/info window
* minor improvements
2008-06-04 13:00:56 +00:00
Michał W. Urbańczyk
7d7abbb68d
* no more divison by 0 in slider
...
* little more code for upgrades
* version set to 0.6
* "plural" reference names for Conflux creatures (starting armies of Conflux heroes should now be working)
* minor changes
2008-05-31 20:37:54 +00:00
mateuszb
88a29416da
improvements in battles
2008-05-30 11:53:04 +00:00
mateuszb
1aa758a737
* partially done attacking in battles
...
* screen isn't now refreshed while blitting creature info window
* r-click creature info windows in battles
* a few minor things
2008-05-27 13:16:35 +00:00
Michał W. Urbańczyk
00929126d5
* started making creature info window
...
* callback for buttons/lists based on boost::function
* new file AdventureMapButton.cpp - update your project files
2008-05-18 17:33:39 +00:00
mateuszb
33e3bf4849
better battle pathfinder and unit reversing
2008-05-03 15:18:48 +00:00
mateuszb
9674343453
* fixed memory leak in battles
...
* blitting creature animatoins to rects (not tested!)
* a few minor improvements
2008-04-20 15:56:03 +00:00
mateuszb
f9a4c2a5fd
better support for two-hex stacks
2008-04-19 17:10:57 +00:00
mateuszb
df76e03628
console in battles and small improvements
2008-04-16 17:21:02 +00:00
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
mateuszb
149c6772e2
battle and general upgrades and bugfixes
2008-04-07 17:51:46 +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
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
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
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
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