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

181 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
9b8517db2a * updated specification 2007-08-23 05:44:13 +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
mateuszb
d708669a75 * some functions have been written
* added CConsoleHandler to interact with user (it should be testing - only, the real console should be as in h3)

pathfinder MAY work now, but it isn't tested
2007-08-15 15:13:11 +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
mateuszb
548e8582ec * correct calculating blocked / vistable positions
* some minor improvements / changes / fixes
2007-08-11 14:58:07 +00:00
mateuszb
cc0a4c5d09 * new objects displaying system 2007-08-09 16:28:01 +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
mateuszb
0c17ec03a8 * a bit of pathfinding (still needs testing and implementation of something like BFS (I consider Dijkstra usless in this case))
* some minor changes
2007-08-07 13:49:15 +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
mateuszb
2fa2910777 * some minor improvements 2007-08-06 13:09:41 +00:00
Michał W. Urbańczyk
f42a1d9f3a All 0.2 objectives achieved. Version changed to 0.3. 2007-08-06 04:05:17 +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
mateuszb
9b5686b40c * choosing random creature generators
* fixed bug in CPreGame
2007-08-03 13:56:36 +00:00
mateuszb
41175b1d1f CREDEFS.TXT is REQUIRED!!!!!!!!!!!!!
DO NOT REMOVE!!!!!!!!!!!!!!!!!!!!!!!
2007-08-01 14:07:07 +00:00
mateuszb
95b3ad64d3 * choosing random towns
* some minor bugfixes and improvements
2007-08-01 14:06:04 +00:00
mateuszb
7789e9e01c small bugfix 2007-07-31 14:29:40 +00:00
mateuszb
9c5bc83b16 * displaying roads and static rivers
* small bugfix in reading map
* small bugfix in lod handler
* small upgrade in def handler (should work a bit faster and better)
2007-07-31 13:09:34 +00:00
Michał W. Urbańczyk
d1615be5ec * added CVidHandler for handling .vid files 2007-07-31 05:24:10 +00:00
mateuszb
b2d1b4f3e4 * handling Def 2 compression (may be a bit buggy)
* small improvement in int3 class
2007-07-30 12:49:38 +00:00
Michał W. Urbańczyk
b38a8c9557 * CPreGame's buttons less ugly
* fixed sorting maps
* minor stuff
2007-07-28 23:01:25 +00:00
Michał W. Urbańczyk
060dc4c785 * new files: CGameState.h and int3.h
* creature set now uses std::set
* int3 class - may be used for locations
* fixes crashbug in cpregame (state in HughButton not initialized)
* started making CTownInstance
2007-07-28 15:23:15 +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
Ste
314fd8e20e * Fixed game crash when doing "NEW GAME" -> "SINGLE SCENARIO" -> "Show Advanced Options"
* Fixed bug. If you select town/hero and resource bonus and after that select random town the hero and bonus aren't set to random. Same for hero -> artifact bonus
 * Fixed two typos in error messages
2007-07-26 23:11:01 +00:00
Michał W. Urbańczyk
ffe3a757a6 Lacking files. 2007-07-26 12:00:18 +00:00
Michał W. Urbańczyk
af705a2c3a Removed unused files. 2007-07-26 00:33:00 +00:00
Michał W. Urbańczyk
4a5bdb5351 Minor bugfix. 2007-07-25 20:46:39 +00:00
Michał W. Urbańczyk
53da2c389c Added clickable and highlightable player flags in adv. options tab 2007-07-25 20:41:04 +00:00
Michał W. Urbańczyk
e2d9f8956e Start bonus choosing. 2007-07-25 13:57:10 +00:00
Michał W. Urbańczyk
40607240b4 Added hero selection (buggy) 2007-07-24 00:25:46 +00:00
Michał W. Urbańczyk
8cb1c3ff90 * new files (TownHandler) - add them to your project
* now you can choose castle in scenario options
* function blitAtWR works as blitAt, and refreshes destination rect
* vectorize function (on TowDragon's wish) - may be useful for debugging
* as always- minor bigfixes
2007-07-23 12:13:33 +00:00
Michał W. Urbańczyk
70d127486c Bugfixing and improving in PreGame. 2007-07-22 02:06:44 +00:00
Michał W. Urbańczyk
99c3b11d96 * removed post-TSI rubbish from nodrze
* HighButton is now main button class to inheriting
* more of advanced options screen 
* minor stuff
2007-07-20 23:37:12 +00:00
Michał W. Urbańczyk
bbbfce798c * reading 8. byte of player description from map header
* disabled loading creatures battle animations 
* fixed memory leaks (a few of many)
* creating default start options
* minor bugfix in main menu (slider wasn't removed)
* added txt file with portrait list
* reading heroes portraits
2007-07-19 23:38:11 +00:00
Michał W. Urbańczyk
db65d9ee15 * CLodHandler now stories entries in nodrze (much faster searching)
* CLodHandler init cleared up (a bit)
* giveDef optimized
* horizontal slider
* printAtMiddle updates corrrect rect
* adjusted shadows
* parts of advanced options menu 
* minor fixes/improvements
2007-07-17 20:51:49 +00:00
mateuszb
66ba3d0eab loading unit's battle animations; requires CREDEFS.TXT 2007-07-17 15:13:46 +00:00
mateuszb
cc67967051 reading some text files from lods, enabling object sorting 2007-07-16 14:42:44 +00:00
mateuszb
b65f1dae0f function to set palyer's color on flags, small improvements in CHeroHandler (e.g. removing nodrze and initializing hero's classes) 2007-07-16 10:03:54 +00:00
mateuszb
daec9ecca4 choosing random artifacts (complete) 2007-07-15 16:39:07 +00:00
mateuszb
21bbfda899 framerate keeper for main loop, working wersion of color converter (blue -> player's) and small tweak 2007-07-15 13:36:04 +00:00
mateuszb
bcc3b16f80 changing colors on surfaces (currently advanced version works only with 8 bit surfaces) 2007-07-14 15:24:42 +00:00
mateuszb
0bae692263 choosing random monsters and some artifacts, minor optimalization 2007-07-14 13:27:13 +00:00
mateuszb
073c82cb1d choosing random resuorces and some minor stuff 2007-07-13 15:10:27 +00:00
mateuszb
1896733ea6 small upgrade 2007-07-13 11:27:58 +00:00
Michał W. Urbańczyk
429b8dab98 * [bugfix] moving selected scenario with arrows 2007-07-13 10:30:34 +00:00
Michał W. Urbańczyk
70156a179b * [new] sorting maps in map selection screen (still may be buggy)
* minor improvements
2007-07-13 08:48:22 +00:00
mateuszb
eb688cf1d3 some minor impovements 2007-07-12 18:04:02 +00:00