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

31 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
2286d37012 * added #42 and #30
* one more file for AIs
2007-10-19 21:12:37 +00:00
mateuszb
f3b5d07aa5 * bugfixes
* general improvements
2007-10-18 20:14:26 +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
f1d5e686ce * done #40, #32, #21
* added files for Lua handler and moved Lua test code
2007-10-14 12:11:18 +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
mateuszb
e32eaac8af * resolving #18
* small bugfix
2007-10-09 15:15:35 +00:00
mateuszb
65ae2cd217 * resolving #31
* using better flags
2007-10-08 18:47:23 +00:00
Michał W. Urbańczyk
b434479b53 * fixed #29, #27 and #26 2007-10-05 20:38:14 +00:00
Michał W. Urbańczyk
e02f752211 Now hero movement should be working.
- fixed/added #22, #24, #25, #8, #11, partially #19
- minor improvements
2007-10-05 18:16:22 +00:00
mateuszb
d530bd057d * fixed some issues with hero moving; actualizing hero position is still broken :( 2007-10-03 19:56:08 +00:00
Michał W. Urbańczyk
7b3c270dfc - Initializing movement points (t.#16)
- minor improvements
2007-10-03 18:53:49 +00:00
Michał W. Urbańczyk
8421c901a4 * a lot of improvements
* started making an infobar
2007-09-30 16:16:00 +00:00
mateuszb
6f4156c901 small improvements 2007-09-18 17:01:47 +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
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
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
mateuszb
55c0dc0229 some stuff to hero moving 2007-09-13 13:34:59 +00:00
mateuszb
2d7dbbefc3 * partially written hero moving
* improvements in include system
2007-08-29 12:18:31 +00:00
Michał W. Urbańczyk
2030a6793f Empty function for hero movement 2007-08-29 10:05:50 +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
mateuszb
6d3a042add * graphical cursors are now posiible, however the code is a bit ugly and eats significant amount of resources (up to 15% of my CPU power) 2007-08-21 13:48:18 +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
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
Michał W. Urbańczyk
1380a7fd34 * New files - CGameInterface.h and CGameInterface.cpp - add them to your project
* Fixed several memory leaks
* Added support for player colors in CMessage (still need some work)
* Moved declarations of CPreGame buttons to CPreGame.h
* started making player interface (new button classes etc)
2007-07-28 09:44:10 +00:00