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

56 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
798fd11f65 radical cleanups 2008-06-08 00:58:29 +00:00
Michał W. Urbańczyk
feaa2396a6 Code cleaning/refactoring 2008-06-07 17:16:52 +00:00
Michał W. Urbańczyk
ffc93639ab Recruitment should work (todo - growths, counting remaining creatures) 2008-04-11 17:41:02 +00:00
Michał W. Urbańczyk
b3c69fe838 More town hall code, started making building requirements. 2008-03-16 00:09:43 +00:00
Michał W. Urbańczyk
17d5d298ca * hints for cregens
* moved battle loop to the activeStack
2008-02-29 22:14:53 +00:00
Michał W. Urbańczyk
33fd0d22a6 * reading disposed/predefined heroes (probably works)
* new discoveries in h3m specification

VCMI handles correctly all known maps again :)
2008-02-25 18:35:10 +00:00
Michał W. Urbańczyk
ee2a63f26e * another fix of Pnadora's Box handling 2008-02-25 16:21:19 +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
mateuszb
0c2cf02ca6 * given hero is placed in the town entrance
Wspólne zmiany
* some objects such as river delta won't be blitted "on" hero
* tiles under FoW are inaccessible
* giving random hero on RoE maps
* improved protection against hero duplication
* fixed starting values of primary abilities of random heroes on RoE/AB maps
2008-02-23 19:20:41 +00:00
Michał W. Urbańczyk
06c193498e * added giving default buildings in towns
* town infobox won't crash on empty town
* version changed to 0.53b
2008-02-20 18:24:19 +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
021a7ed61a * Seer's Hut and Event with creatures won't crash on RoE maps 2008-02-10 15:02:08 +00:00
Michał W. Urbańczyk
ec072972ee * hopefully last bugfix for Pandora's Box
* fixed blockmap for generated hero
* one can't choose already disposed hero in pregame
* fixes in heroes and towns picking
* improved hero selection in pregame
* version changed to 0.53
* CGI will be in debug mode a global pointer (much more convenient debugging)
2008-02-10 09:35:52 +00:00
mateuszb
96734fafa1 general code improvements 2008-02-06 13:50:40 +00:00
Michał W. Urbańczyk
fe5bcc19cf * redone def info handling
* redone randomization (mam nadziemę, że będzie toto działać)
* no more cheating pathfinder
* minor improvements
* version changed to 0.52
2008-02-05 03:56:45 +00:00
mateuszb
21ec0b77d4 code cleanups, etc. 2008-02-03 15:24:35 +00:00
Michał W. Urbańczyk
84b10c0cd9 Last bugfix 2008-02-03 07:09:21 +00:00
Michał W. Urbańczyk
10c67209fb * part of that code was used
* version changedto 0.51

I chyba będę już to releasował.
2008-02-03 05:50:39 +00:00
Michał W. Urbańczyk
bd7d5d2687 * removed useless but slowing def handling code 2008-02-03 05:36:56 +00:00
Michał W. Urbańczyk
847126f57a * close button properly closes (same does 'q' key)
* two players can't have selected same hero
* double click on "Show Avalible Scenarios" won't reset options
* fixed crashbug in town/hero lists
* fixed crashbug in initializing game caused by wrong prisons handling
* fixed crashbug on reading custom artifacts in RoE map
* fixed crashbug on reading custom pandora's box in RoE map
* fixed crashbug on reading blank quest guards
* improved console messages


Ufff....
2008-02-03 04:22:58 +00:00
mateuszb
313f940e7e small and unfortunately partial bugfix 2008-02-02 13:06:33 +00:00
Michał W. Urbańczyk
515c30247b * added Conflux
* minor fixes
2008-02-02 00:41:00 +00:00
mateuszb
974d27aacc small improvements, bugfixes etc. 2008-01-30 14:19:35 +00:00
mateuszb
ed0bbcfe11 changes seem to cover almost everything on heroes' artifacts in hero screen
a part of code has been refactored for simpler support by other parts of code
2008-01-30 10:55:43 +00:00
Michał W. Urbańczyk
dfbe7d7c6b * added support for buildings showing with halls
* creatures base growth is showed
* fixes in building reading
* fixes in building grouping
* fixes in Rampart townview
2008-01-29 15:08:41 +00:00
Michał W. Urbańczyk
25bc3b532f * redone buildings reading
* subtitles in statusbar for garrison
* animations an castle view are faster
2008-01-29 13:00:45 +00:00
Michał W. Urbańczyk
3953eac82d * support for Rampart town view 2008-01-28 20:58:19 +00:00
mateuszb
efd09f0a68 fixed misc5 bug, hero backpack, strange bug with hero portrait (LClick) 2008-01-19 18:58:24 +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
Michał W. Urbańczyk
2e25e040d5 Fixing buildings in castle and related improvements. 2008-01-19 11:55:04 +00:00
Michał W. Urbańczyk
4b772315bb Buildings in town (tylko zamek, trzeba inaczej sortować, jeden budynek źle trafiony) 2008-01-15 21:38:01 +00:00
mateuszb
bce31ba91b another part of hero window and other improvements 2008-01-15 18:50:52 +00:00
Michał W. Urbańczyk
b976857c6c Now features in town interface:
* town garrison
* creature growths
* town big pic
2008-01-12 11:32:40 +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
9530fb42c2 Reading buildings in the castles - still needs more testing and improvents. 2008-01-09 19:59:23 +00:00
Michał W. Urbańczyk
b334dbd79d Town interface and minor improvements. 2008-01-09 17:21:31 +00:00
mateuszb
a4e4c97776 possibly handles all H3 maps inculding RoE 2008-01-08 16:08:25 +00:00
mateuszb
d116caeb26 some improvements in map randomizing, most things done. If you want to do sth with this, do it ;]. 2007-12-26 13:57:38 +00:00
mateuszb
b0648b4c63 support for Ab maps, needs a bit of testing 2007-12-13 17:42:12 +00:00
mateuszb
d8103fd242 * part of new object randomizing; make it work (I mean moving the last hero on your Arrogance2 - it doesn't wotk and I don't know why) 2007-11-20 17:52:22 +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
mateuszb
8b73ab8492 * fixed bugs in hero moving
* added functions to show/hide objects to CMapHandler
* added (partially written) fonction to create new CGObjectInstances
* added 2 console commands: A hides all abjects and R shows them again
2007-11-03 16:46:08 +00:00
Michał W. Urbańczyk
de4d8e093e * redone def declaration reading 2007-10-28 17:56:16 +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
f1d5e686ce * done #40, #32, #21
* added files for Lua handler and moved Lua test code
2007-10-14 12:11:18 +00:00
mateuszb
62b69b1f25 our changes 2007-10-13 18:49:43 +00:00
mateuszb
f3b712e6ea * resolving #35
* small changes
2007-10-11 20:13:13 +00:00
mateuszb
65ae2cd217 * resolving #31
* using better flags
2007-10-08 18:47:23 +00:00
mateuszb
87b3459d14 * resolving #28
* minor changes and improvements
2007-10-07 16:01:53 +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