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

77 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
697f26529a New pathfinder by Spasarto 2008-06-01 14:55:31 +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
62952e3163 a bit of refactoring (removed variable ekran as we have screen which is the same as ekran) 2008-04-25 09:25:59 +00:00
Michał W. Urbańczyk
36779118b5 Huge commit:
* correctly showing recruitment window (recruitment not ready)
* new slider class
* creature growths handled (horde buildings not yet supported)
* buttons more secure
* info about factions and their creatures
* costs of creatures merged into vector
* info about town structeres state (started)
* new function in CSDL_Ext for drawing borders 
* numerous minor changes
2008-04-04 17:30:53 +00:00
Pioxan
1b55f6457f * fixed crashbug with dissmising heroes
* fixed bug with hero list redrawing after dissmissing
2008-03-01 14:50:22 +00:00
Michał W. Urbańczyk
dbf3b8d08e * right click popups with infoboxes for heroes/towns lists
* separation activate/show functions in advmapint
2008-02-22 22:26:31 +00:00
Michał W. Urbańczyk
e46d411643 * mostly done town infobox
* town daily income is properly calculated
* minor not done stuff
2008-02-18 21:14:28 +00:00
mateuszb
a997c41f5c probably fixed problem with FoW on minimap on L-sized maps 2008-02-16 10:10:10 +00:00
mateuszb
d5a4dcc6cd * CPU usage decreased
* it's impossible to select empty artifact slot in hero window
2008-02-12 17:40:01 +00:00
mateuszb
f0e2f1d205 * memory usage significantly decreased (now it's about half of what was before ;])
* load time significantly decreased also (now it's almost like in OH3)
* TODO: make extensively used CSDL_Ext::blit8bppAlphaTo24bpp faster - it slows down VCMI too significantly, but I'm sure it can be as fast as the code from SDL and anyway those speed-ups and memory usage decrease were worth it ;]
2008-02-10 17:44:51 +00:00
Michał W. Urbańczyk
a89b4e2c59 * [feature] giving starting hero
* [feature] VCMI will try to use files from /Data folder instead of those from h3bitmap.lod
* [feature] picked artifacts are added to hero's backpack
2008-02-07 18:45:22 +00:00
Michał W. Urbańczyk
e34f9a54c9 * it's possible to choose a player
* minor fixes
2008-02-06 07:33:53 +00:00
Michał W. Urbańczyk
f0db8760c2 * redone ZELP.TXT handling. Now VCMI should handle all language versions of that file. 2008-02-06 05:12:59 +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
mateuszb
74cce9b7a0 some additional descriptions on heroWindow, better functions for hero level <-> exp (to be tested a bit more) 2008-01-27 16:07:27 +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
0fc7d5b795 another piece of hero window 2008-01-13 19:42:21 +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
d3f5a1c1e7 Finished drawing selection window for treasure chest.
(trzeba dorobic jego zamykanie, zwrocenie infa, zwrot pamieci)
2007-12-27 00:11:46 +00:00
Michał W. Urbańczyk
06a081c924 Arrays allocated with new[] must be deleted with delete[] 2007-12-23 16:46:33 +00:00
Michał W. Urbańczyk
daa9217979 * working info about collecting resources in infoBar
* minor fixes
2007-12-22 18:04:34 +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
mateuszb
56ed228cb1 minimap completety fixed (never use float for precise int calculations!) 2007-12-09 14:02:11 +00:00
Michał W. Urbańczyk
aef05b45fc More bugfixes. 2007-12-09 12:42:45 +00:00
mateuszb
c27f2359bd small bugfix 2007-12-07 16:54:07 +00:00
mateuszb
4a6ffa94d0 part of minimap revealing 2007-12-06 19:54:31 +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
c8c0d0eaaf Bugfixes for AI, Callback Interface, logging macrodefs. 2007-12-06 18:32:06 +00:00
Michał W. Urbańczyk
e1b2ae0df1 Several bugfixes and half-done things. 2007-12-01 12:50:33 +00:00
Michał W. Urbańczyk
fa5079809f Partially done resources. 2007-11-25 13:16:45 +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
a5664e408a * minor bugfixes 2007-10-22 16:41:53 +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
2286d37012 * added #42 and #30
* one more file for AIs
2007-10-19 21:12:37 +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
mateuszb
355e21b56a * finishing hero flags
* some things with #36 and #41
2007-10-16 17:46:01 +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
70ce922fe6 * added #33 & #19 (as far as possible by now)
* more text in CPreGameTextHandler
2007-10-13 21:27:03 +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
f3b712e6ea * resolving #35
* small changes
2007-10-11 20:13:13 +00:00