1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
7722d058f0 Fixed issues reported by Zamolxis:
* dismiss Hero works blocked in the castles
* the backpack scrollable arrows aren't available (yellow, clickable) even when backpack is empty.
* added missing info texts for buttons in hero window (and added functionality of enable tactic formations button)
* can select (single click) and enter castle (double click) from the map. Same for hero.
* Hero gets automatically selected after End Turn 
* Hero is automatically selected when exiting town
* In Garrison or Hero army: units are selected when we first click on them
Fixed (at least partially) also a problem with disappearing path
2008-08-28 17:36:34 +00:00
Michał W. Urbańczyk
6613955463 * hero placed in the town starts as visiting hero, not garrisoned
* if hero doesn't have a spell book, he can buy one in a mage guild
* improvements in closing
* fixed crash on picking artifact
* added event message when picking artifact
* fixed problems with disappearing pikemen
* InfoWindow will be properly centered
* hero portraits again visible in PreGame
* fixed problems with handling Pandora's Box
* support for Campfires
* minor changes
2008-08-25 10:25:16 +00:00
Michał W. Urbańczyk
6f7b29afcc GCC/AmigaOS compatibility changes by Andrea Palmaté. 2008-07-16 18:26:15 +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
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
Michał W. Urbańczyk
b3c69fe838 More town hall code, started making building requirements. 2008-03-16 00:09:43 +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
21ec0b77d4 code cleanups, etc. 2008-02-03 15:24:35 +00:00
Michał W. Urbańczyk
c461365275 * added Necropolis
* townlist in town screen and switching towns
* minor changes
2008-01-31 21:35:30 +00:00
Michał W. Urbańczyk
9ed4f66cb7 * custom statusbar in town interface
* added missing file
2008-01-27 20:37:10 +00:00
Michał W. Urbańczyk
d64dfa0a23 showInfoDialog should be compatible with interfaces other than advmapint. 2008-01-20 12:34:39 +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
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
Michał W. Urbańczyk
b334dbd79d Town interface and minor improvements. 2008-01-09 17:21:31 +00:00
mateuszb
ef90e6140f hero animation speed now independent 2008-01-08 13:31:44 +00:00
Michał W. Urbańczyk
e427974875 * code reorganization
* minor stuff for resource <-> infoBar interaction
2007-12-22 14:40:27 +00:00
Michał W. Urbańczyk
84261a5de8 * bugfixes in infobar
* new week animation
2007-12-20 23:07:02 +00:00
Michał W. Urbańczyk
6cd90195f4 * major optimization of infoBar drawing
* new day animation (TODO: dorobic zeby pierwsza klatka wchodzila - wkrotce sie tym zajme)
* some stuff for selection window
* minor improvements
2007-12-19 00:06:51 +00:00
Michał W. Urbańczyk
ae0be1f79e Bugfix - it should work now. 2007-12-06 19:06:07 +00:00
mateuszb
58f1a2169f faster FoW in minimap, does not work, compiler errors 2007-12-06 18:55:58 +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
Michał W. Urbańczyk
556311c9ab Partially done object scripting and interactions.
Most of 0.4 ;)
2007-11-18 22:58:28 +00:00
Michał W. Urbańczyk
4f316cd7e6 Our changes.
Restructured instances classes.
Still very instable.
2007-10-27 19:38:48 +00:00
Michał W. Urbańczyk
0291bf2d2d * added #1
* minor bugfixes
2007-10-21 18:41:58 +00:00
Michał W. Urbańczyk
04985fce2f * added #45, #44, #43 2007-10-21 16:45:13 +00:00
Michał W. Urbańczyk
4cca2da9c0 * added #38
* CDefEssential is now useful
* initGameState shouldn't overwrite starting armies
* loading more graphics (small creature icons, large hero portraits)
* functions for getting current valueof morale/luck (unfinished)
* added in CLodHandler function that returns CDefEssential with images from desired .def
* copySurface works correctly (I hope)
2007-10-16 22:39:11 +00:00
Michał W. Urbańczyk
9e84383a61 * added #13 and #15 (for buttons and minimap, rest will be added later) 2007-10-13 20:31:50 +00:00
Michał W. Urbańczyk
caef46059c * added #14
* auxiliary functions
2007-10-07 14:51:09 +00:00
Michał W. Urbańczyk
8421c901a4 * a lot of improvements
* started making an infobar
2007-09-30 16:16:00 +00:00
Michał W. Urbańczyk
cfc94847a1 * added selecting path by clicking on terrain (experimental)
* coordinates in CPathNode are stored in int3
* minor improvements
2007-09-22 01:16:31 +00:00
Michał W. Urbańczyk
6d0bcef157 * fixed initialization of map of players
* functions in callback for getting info about towns
* added info about towns to CGameState
* minor changes
2007-09-18 13:30:26 +00:00
Michał W. Urbańczyk
7d4aa0c803 * resource bar
* function in CCallback for getting onfo about res
* giving resources at the beginning of game
* moved several txt files to /config subfolder
* minor changes
2007-09-16 17:21:23 +00:00
Michał W. Urbańczyk
16a1861fc4 * heroList
* functions for getting info about heroes in CCallback
* function for initializing GameState
* improvements in CHeroInstance
* added codename
* minor stuff
2007-09-14 13:11:10 +00:00
Michał W. Urbańczyk
4edc6176dc * minimap fix
* headers fix
* commented LUA stuff
2007-09-02 12:36:54 +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
Michał W. Urbańczyk
210123ac33 * improved minimap
* live event handling on adventure map
* added CCallback
* minor stuff (as usual)
2007-08-27 14:15:03 +00:00
Michał W. Urbańczyk
ab3a06bf69 Mainly more improvements in CPreGame 2007-08-25 04:56:25 +00:00
Michał W. Urbańczyk
8c445b0ada * half-working minimap
* minor improvements
2007-08-19 21:12:55 +00:00
Michał W. Urbańczyk
7d704c7f02 * working pathfinder
* drawing paths
* new command "P X1 Y1 Z1 X2 Y2 Z2" - draws path between given points
* borders handling rewritten
* minor stuff
2007-08-17 17:42:21 +00:00
mateuszb
8cc7e103bd * some stuff with pathfinding (some functions need to be written, maybe someone help me?)
* CGI is now defined in global.h
* some code improvements
2007-08-12 17:48:05 +00:00
Michał W. Urbańczyk
a3c45bcaa2 * buttons can use more than one def
* underground/urface switch button changes look when cliked
* object handler stories pointers to object instances
* new structure for terrain tile - TerrainTile2
* started doing video handlers - unfortunetly they don't work...
2007-08-08 19:28:56 +00:00
Michał W. Urbańczyk
efcc7d08da * printAtMiddle won't crash when called with an empty string
* removed unused code from CMT.cpp
* statusbar is working
* interaction between buttons and statusbar
2007-08-07 11:54:50 +00:00
Michał W. Urbańczyk
6b0f209626 * VCMI no longer needs h3bitmap and h3sprite folders - delete them. Now everything is readed directly from lod files
* names of lods changed - rename your lod files to h3sprite.lod and h3bitmap.lod and place them in \Data subfolder (as in H3).
* added several clickable buttons to adv. map interface
* underground/surface switch button is functional
* reading more text from ZELP.txt, added CPreGameTextHandler to CGameInfo
* a lot of minor improvements/fixes(/bugs)
2007-08-06 04:03:34 +00:00
mateuszb
ae279c79c5 * first version of player interface displaying
* taking some txt files from lods
* some minor changes
2007-08-04 19:01:22 +00:00
Michał W. Urbańczyk
0ea7a46309 * new files (CAdvmapInterface.h and CAdvmapInterface.cpp)
* more player interface (but it's still beginning)
* int3 members public
* more usage of int3
* adjusted animation speed
* reversed changes from rev.165 in CPreGame - it wasn't bug, it just works so. That change was breaking a few things in CPreGame and was needless - Player ID == Player's Color. I thought it was obvious.
* minor stuff
2007-08-03 21:47:34 +00:00