f9db3d131f
lastActivated with overload
2023-10-10 23:51:05 +02:00
890c4ac19d
quick army managment click next
2023-10-10 22:11:06 +02:00
a2174dc83f
fix window open while sound playing
2023-09-19 11:20:16 +02:00
6ae09d8458
newday
2023-09-19 09:52:32 +02:00
9cfcf5ea19
Fix regressions
2023-09-04 18:22:34 +03:00
823ffa7a07
Always use ResourcePath for referencing images and animations
2023-09-04 18:22:34 +03:00
1b676933e5
Fix indent
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com >
2023-07-16 15:46:43 +02:00
fe26ab4501
Add settings entry, immediately refresh info bar on setting toggle
2023-07-16 14:52:43 +02:00
dbfcb5a749
Implement interactable town tooltip
2023-07-16 10:17:37 +02:00
013d4cd208
Fix slot deselect when selected shortly after new day animation bypass
2023-07-15 23:15:59 +02:00
ea0ee87299
Interactable hero status - alternative infobox component
2023-07-15 23:14:59 +02:00
0deeff30b9
replaced clickPressed with clickReleased where applicable to H3
2023-07-09 17:55:39 +03:00
ca889a5c2a
Replaced clickLeft with clickPressed clickReleased methods
2023-07-08 14:33:04 +03:00
563d7dd41f
Renamed RCLICK -> SHOW_POPUP
2023-06-20 19:58:05 +03:00
d4aa778547
Replaced clickRight event with showPopupWindow/closePopupWindow
2023-06-20 19:58:05 +03:00
8ea0ecaec1
show/showAll methods now use Canvas instead of SDL_Surface
...
- added compatibility method to Canvas to allow SDL_Surface access
- added drawBorder method to Canvas to replace CSDL_Ext method
- added drawColor method to Canvas to replace CSDL_Ext method
- minor changes to Tavern and Trade windows to adapt to new API
2023-06-02 16:42:18 +03:00
1f513fd280
Extracted event management from GuiHandler and CIntObject
2023-05-20 01:51:49 +03:00
ad3e54e6c0
Reduced usage of topWindow() method
2023-05-16 21:57:45 +03:00
e2ef136003
Renamed "Int" -> "Window" in WindowHandler API
2023-05-16 19:10:22 +03:00
7838190ef4
Moved window stack management from GuiHandler to new class
2023-05-16 19:10:21 +03:00
243773b6ef
Renamed some adventure map files & classes
2023-05-09 13:10:33 +03:00
365f552fa1
Added API for owned towns access
2023-04-20 22:04:24 +03:00
6a46138617
Moved current selection to local state class
2023-04-20 22:04:24 +03:00
f6d480cbb2
Moved player-specific heroes & towns information to new class
2023-04-20 22:04:24 +03:00
4ec32e4dcd
Renamed CAdvMapInt to its proper full name
2023-04-20 22:04:24 +03:00
f1902ab247
Initial refactoring to encapsulate adventure map
2023-04-20 22:03:28 +03:00
50c9a57133
InfoBar: fix tiny selection with data
2023-04-08 01:44:08 +03:00
f8c15f3a4b
InfoBar: disable scrollbar
2023-04-07 20:50:47 +03:00
a8fe8c0f3b
Converted timer event into tick event that is called every frame
2023-03-22 23:10:50 +02:00
5462a92930
Fix #1688 again
2023-03-18 01:19:41 +03:00
4ab9cdd75a
infobar: fix tiny rendering
2023-03-15 14:35:34 +03:00
e1310f88e3
Merge pull request #1675 from rilian-la-te/scholar-infobox
...
Fix #1385 and similar
2023-03-13 12:49:30 +02:00
40222e3f77
vcmi: fix week animation
2023-03-13 01:22:19 +03:00
18200d1d98
vcmi: move getEstimatedComponentHeight
2023-03-13 00:24:26 +03:00
3d33da0a9e
vcmi: request pop all when hero is moved
...
This way new pickup will show immidately.
2023-03-11 21:41:57 +03:00
de211e9f13
vcmi: all notifications now shows inside the infobar properly
...
No more dangling images or text.
2023-03-11 21:41:57 +03:00
bc228a938a
vcmi: use enum class for EComponentType
...
There is really no reason not to use it
2023-03-11 21:41:57 +03:00
1ca89c8492
vcmi: implement splitting by ID in infobar
...
This will get a much better result than naive sorting
2023-03-11 21:41:57 +03:00
a6cb7fd192
vcmi: allows to more than 8 components in infobar
2023-03-11 21:41:57 +03:00
a0c644a0e5
vcmi: actually implement AUTO for CInfoWindow
...
This is possible to use infobar interactions now.
2023-03-11 21:41:57 +03:00
75358a68a7
vcmi: name infobar height and width
2023-03-11 21:41:57 +03:00
4617ce10e5
vcmi: allow showing more than one components in infobar
...
Up to 8, AFAIK. So, we can show multi-reward in infobox now.
One issue remain - cannot dynamically choose components size
based on text size.
2023-03-11 21:41:57 +03:00
2fb2a79ca4
vcmi: fix components other than resources in infobar
...
Do not redraw infobar when components shows and
we request to show current adventure hero.
Player already knows which hero he used to pick up
components.
2023-03-11 21:41:57 +03:00
5366f9190e
vcmi: reduce boost::lexical_cast usage
2023-03-09 16:36:46 +03:00
91b17bed79
Partial encapsulation of AdvMapInt
2023-02-14 11:18:42 +02:00
f8c1c46562
removed CAdvMapInt::handleRightClick method
2023-02-14 11:18:41 +02:00
108a42e4ba
Reorganized includes for new layout. New class - IImageLoader
2023-02-01 20:42:06 +02:00
84dfcacafd
Updated CMakeLists and file headers
2023-02-01 16:42:03 +02:00
9366506e2c
Finalized split of AdventureMapClasses
2023-02-01 14:01:48 +02:00
ef236be2da
Created separate file for CInfoBar
2023-02-01 13:55:56 +02:00