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

48 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
59b2bb4940 * fixed scrolling behind window problem (now it's possible to scroll with CTRL + arrows)
* proper updating resdatabar after building structure in town or buying creatures (non 800x600 res)
* fixed blinking resdatabar in town screen when buying (800x600)
* updating blockmap/visitmap of randomized objects
* blocked "save" command during battle
* cannot select heroes for computer player (pregame)
* fixed mouse slow downs in pregame
2009-02-11 17:03:30 +00:00
Michał W. Urbańczyk
dd36cfce50 Patch from Dikamilo:
* compatibility fixes for MinGW
* Code::Blocks project files
2009-02-08 15:39:26 +00:00
mateuszb
22efd5df29 * experimental smooth hero move support (minor graphical glitches exist but I hope they'll be removed soon; I hope there are no more problems with it, but please test)
* small graphical glitch fixed
2009-01-09 13:03:47 +00:00
Łukasz Wychrystenko
b54a3bfb7c unified guardians names 2008-12-26 01:46:53 +00:00
Michał W. Urbańczyk
c6bcd61aba * animation of water tiles
* minor changes
2008-11-30 00:15:38 +00:00
mateuszb
447e5babda * merged CBattleConsole::stackKilled into CBattleInterface::stacksAreAttacked (I hope it'll work even better than before)
* a few optimizations
* maybe something else I've forgotten ;]
2008-11-28 12:11:31 +00:00
mateuszb
6a3d0b666f * directional attack in battles
* CSystemOptionsWindow partially done
* added a few consts and references to improve performance
2008-09-25 14:09:31 +00:00
mateuszb
c5c9127673 * fixed a few problems with refreshing screen during blitting using CSDL_Ext::printAtMiddle
* fixed drawbacks in displaying secondary skills in hero window
* fixed two bugs with spellBook
* corrected order of spells in spellBook
* spellBook is opened when hero in battle is left-clicked
2008-09-16 15:23:44 +00:00
Michał W. Urbańczyk
cc7be20b07 Merged most of the changes from trunk.
Because of really huge amount of modifications here I've probably missed some minor stuff. I doubt if it's still compatible with gcc - some changes should be reapplied.
2008-08-02 15:08:03 +00:00
Michał W. Urbańczyk
ea8562a6b1 Rest of commit: broken battles, starting hero, town displaying and linker errors.
Further changes for netcode.
2008-06-30 00:06:41 +00:00
mateuszb
21a8d87796 small upgrade 2008-05-27 15:16:12 +00:00
mateuszb
1aa758a737 * partially done attacking in battles
* screen isn't now refreshed while blitting creature info window
* r-click creature info windows in battles
* a few minor things
2008-05-27 13:16:35 +00:00
Michał W. Urbańczyk
b00cc9c628 * more code for creature info window and upgrades (still not finished)
* minor fixes
2008-05-23 19:50:11 +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
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
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
mateuszb
2b91d6129b small refactoring in mapHandler, first part of object-to-screen blitting (8bpp with alpha to 24bpp/32bpp without alpha) that will improve speed and memory usage (faster flag color selecting, 8bpp instead of 32bpp defHandlers, no need of secondAlphaTransform) 2008-02-09 14:44:32 +00:00
mateuszb
96734fafa1 general code improvements 2008-02-06 13:50:40 +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
mateuszb
8da051febf Wspólne zmiany (Common changes)
* fixed heroWindow
* started making garrisons
2008-01-26 19:36:31 +00:00
Michał W. Urbańczyk
1f324c3b31 * improved borders
* minor changes
2008-01-23 22:15:33 +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
b07b1ec7dc * displaying flags
* significant speed-ups and warningfixing
2007-10-25 16:14:43 +00:00
Michał W. Urbańczyk
04985fce2f * added #45, #44, #43 2007-10-21 16:45:13 +00:00
mateuszb
87b3459d14 * resolving #28
* minor changes and improvements
2007-10-07 16:01:53 +00:00
Michał W. Urbańczyk
8421c901a4 * a lot of improvements
* started making an infobar
2007-09-30 16:16:00 +00:00
mateuszb
b0e72f334e small bugfix, move of one file 2007-09-17 17:36:20 +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
dc863f459c *improvements in CPreGame
* uptated specification
* minor stuff
2007-08-24 08:27:32 +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
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
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
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
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
bcc3b16f80 changing colors on surfaces (currently advanced version works only with 8 bit surfaces) 2007-07-14 15:24:42 +00:00
mateuszb
217e98e345 less bugs and works faster 2007-07-12 11:41:31 +00:00
Michał W. Urbańczyk
44758582bb * [new] funkcja drukująca tekst wokół punktu
* [new] wycentrowanie kilku tekstów w wyborze scenariusza
* [bug] l.412 CPreGame.cpp --- po dodaniu się psuje, twoje ładowanie defów ciągle nie działa - popraw proszę, bo bez tego nic do menu nie zrobię...
2007-07-10 08:40:09 +00:00
mateuszb
895d4f4da8 lepszy CPCXConv i zmiana klasy CSDL_Ext na przestrzeń nazw 2007-07-08 15:19:00 +00:00
mateuszb
051094abcc * poprawa wyświetlania obiektów
* upiększenie fragmentów kodu
* przesuwanie mapy przejechaniem kursora na skraj wyświetlanego obszaru
* ładne ramki przykrywające obiekty
* ulepszenie obsługi defów i lodów
* przyspieszenie przewijania map
2007-07-07 16:04:15 +00:00
mateuszb
0428ea1f86 zaczytywanie kolejnych tekstów, drobne eksperymenty z odcieniami cieni i obiektami na mapie (defy! królestwo za defy! ;]) 2007-06-27 20:17:58 +00:00
mateuszb
118c917a60 drobne poprawki w wyświetlaniu cieni oraz naprawienie rotacji dla ośmiobitowych surface'ów
dorobienie ifndefów w niektórych plikach .h (dlaczego ty ich nie robisz???)
2007-06-26 12:38:58 +00:00
mateuszb
4075ab1b92 cieniowanie i drobne poprawki
zawiera drobny błąd wyświetlania cienia (walnięta funkcja do flipowania)
2007-06-25 14:55:45 +00:00
mateuszb
de95bb0753 muzyka i może jakieś drobiazgi 2007-06-19 14:41:03 +00:00
mateuszb
b85cd7c759 teraz wyświetlanie już działa, choć nie mam pojęcia, dlaczego ;] 2007-06-07 11:50:09 +00:00
Michał W. Urbańczyk
35ba2ff9e8 Poprawka opisu + funkcja odbijająca wokół osi poziomej. 2007-06-07 01:22:06 +00:00
mateuszb
a74637699a Rotacje do wyświetlania terenu 2007-06-06 18:26:28 +00:00