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

43 Commits

Author SHA1 Message Date
mateuszb
bf2fec8e64 * music volume buttons in system options window (unfortunately seems not to affect volume at all despite appropriate music handler call) 2009-05-06 10:14:48 +00:00
mateuszb
cc631b1362 * next ubuntux's patch
* normalized line endings (CR+LF)
* translated comments in CMessage.cpp
2009-04-16 11:14:13 +00:00
mateuszb
f9ae91d88c * further changes towards support for ranged spells
* added info about author & license in files
2009-04-15 14:03:31 +00:00
Michał W. Urbańczyk
985b4930e4 Major changes to the GUI. Introduced list of interfaces (listInt) containing pointers to all shown interfaces / windows. Only top layer is active and regularly updated.
Windows should be shown using pushInt and closed with popInt or PopIntTotally (if interface needs to be also deleted).
Some things are not working yet properly, I'll try to fix them ASAP.
2009-04-14 12:47:09 +00:00
Michał W. Urbańczyk
c83404a375 * fixed crash when there was no hero available to hire for some player
* pregmae wont crash if user gives wrong resolution number
* fixed 1024x600 screen resolution
* selection dialog (eg. for treasure chests) can be closed with enter key
* orientation of hero can't be change if movement points are exhausted
* numerous improvements for Tavern window (hover tips for buttons, button will be inactive if player has 8 heroes or there is a visiting hero in the town garrison)
* campfire, borderguard, bordergate, questguard will be accessible from the top
* spells not known by hero can't be casted
* restored checking mana points before casting spell
2009-02-09 16:18:48 +00:00
Michał W. Urbańczyk
05b3e3215c * magic well support
* improvements in the recruitment window
* improvements for pregame  
[cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=97 issues 12-15 and 21 - 22]
* minor changes
2009-02-06 11:15:39 +00:00
Łukasz Wychrystenko
b54a3bfb7c unified guardians names 2008-12-26 01:46:53 +00:00
Łukasz Wychrystenko
b356524aee corrected that missclick! hope so 2008-12-26 01:15:47 +00:00
Łukasz Wychrystenko
633b0007ba some warning & code cleanup - nothing significant 2008-12-21 19:17:35 +00:00
Michał W. Urbańczyk
89d8bdc069 * Adventure Map interface elements configurable (new screen resolutions possible!)
* Data and Sprites subfolders will can be used for adding files not present in .lod archives
* version set to 0.65
2008-11-12 18:26:23 +00:00
Michał W. Urbańczyk
b988d5a51c * improved hotkeys
* updated changelog
* version set to 0.64 (this rev will be released)
2008-11-01 22:32:56 +00:00
Michał W. Urbańczyk
c431577a5e * added a number of key shortcuts
* stack queue will be shown when 'q' is pressed
2008-10-19 13:17:32 +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
Michał W. Urbańczyk
16303ab1df classes for buttons group and functionlist with arg 2008-09-24 08:15:49 +00:00
Michał W. Urbańczyk
856698bd80 * fixes for MSVC (it needs to have global variables from library explicitly exported)
* renamed logging variables to tlogX ('_' in var names looks ugly)
* cleaned it improved setting formations
* fixed crashbug on maps with random hero
2008-09-19 08:16:19 +00:00
Michał W. Urbańczyk
70673674dc * setting army formation
* minor changes
2008-09-18 13:54:54 +00:00
Michał W. Urbańczyk
3d147a7be8 * version set to 0.63
* mostly done morketplace
* more logging around netcode
2008-09-07 03:38:37 +00:00
Michał W. Urbańczyk
7722d058f0 Fixed issues reported by Zamolxis:
* dismiss Hero works blocked in the castles
* the backpack scrollable arrows aren't available (yellow, clickable) even when backpack is empty.
* added missing info texts for buttons in hero window (and added functionality of enable tactic formations button)
* can select (single click) and enter castle (double click) from the map. Same for hero.
* Hero gets automatically selected after End Turn 
* Hero is automatically selected when exiting town
* In Garrison or Hero army: units are selected when we first click on them
Fixed (at least partially) also a problem with disappearing path
2008-08-28 17:36:34 +00:00
Michał W. Urbańczyk
e856ad21a9 * fixed crashbug on loading maps with events giving creatures
* added confirmation window when hero is dismissed
* finished mage guild screen
* fixed some crashbugs with hero window on adventure interface
* fixed giving wrong war machines on start
* added blacksmith functionality
2008-08-27 10:19:18 +00:00
Michał W. Urbańczyk
6613955463 * hero placed in the town starts as visiting hero, not garrisoned
* if hero doesn't have a spell book, he can buy one in a mage guild
* improvements in closing
* fixed crash on picking artifact
* added event message when picking artifact
* fixed problems with disappearing pikemen
* InfoWindow will be properly centered
* hero portraits again visible in PreGame
* fixed problems with handling Pandora's Box
* support for Campfires
* minor changes
2008-08-25 10:25:16 +00:00
Michał W. Urbańczyk
b83b80a71e * upgrading creatures
* splitted map loading on several functions
* buttons can call multiple functions when pressed
* minor
2008-08-15 12:11:42 +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
Michał W. Urbańczyk
2f2169b71f * improved slider ( #58 )
* fixed problems with horde buildings (won't block original dwellings)
* giving primary skill when hero get level (but there is still no dialog)
* if an upgraded creature is available it'll be shown as the first in a recruitment window
* creature levels not messed in Fortress
* war machines are added to the hero's inventory, not to the garrison
* support for H3-style PCX graphics in Data/ (not tested)
* started doing support for ZSoft PCX graphics in Data/
* VCMI won't crash when is unable to initialize audio system
* fixed displaying wrong town defs
* minor fixes and improvements
2008-05-03 15:30:11 +00:00
mateuszb
9674343453 * fixed memory leak in battles
* blitting creature animatoins to rects (not tested!)
* a few minor improvements
2008-04-20 15:56:03 +00:00
Michał W. Urbańczyk
4ff5788e51 * version changed to 0.58
* splitting stacks in hero window
* minor fixes
2008-04-20 12:39:33 +00:00
Michał W. Urbańczyk
e8056d0d80 * improved slider
* fixed leaving battles
2008-04-15 17:12:21 +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
Michał W. Urbańczyk
1e61235aa9 Almost finished building of buildings. 2008-03-21 00:03:31 +00:00
Michał W. Urbańczyk
b3c69fe838 More town hall code, started making building requirements. 2008-03-16 00:09:43 +00:00
mateuszb
68d37e1507 * small bugfix in dismissing hero (still needs better actualization of advmap lists)
* most buttons in battleInterface
2008-03-01 11:49:25 +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
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
Michał W. Urbańczyk
83b5c78d5a * added hints in town lists
* eliminated square from city hints
* version changed on 0.53c
2008-02-22 15:47:01 +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
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
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
31a5ea2ae5 general heroWindow improvements 2008-01-31 12:10:59 +00:00
Michał W. Urbańczyk
9ed4f66cb7 * custom statusbar in town interface
* added missing file
2008-01-27 20:37:10 +00:00
Michał W. Urbańczyk
449e7b6773 Hopefully fixed buttons without making leak. 2008-01-21 18:22:51 +00:00
mateuszb
f0186c3858 less leak, bizzare buttons 2008-01-21 18:08:53 +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