Ivan Savenko
|
5e86b00dda
|
Moved input handling from GuiHandler to set of classes in eventsSDL dir
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
5bd044521a
|
Added method descriptions
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
6012e0cb45
|
Minor code reorganization
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
ff1c94541f
|
Fix button interaction with hotkey & mouse
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
d5d0ca96a8
|
Minor fixes and cleanup
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
1f513fd280
|
Extracted event management from GuiHandler and CIntObject
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
008a1ebec4
|
split massive handleCurrentEvent method into per-event parts
|
2023-05-20 01:51:49 +03:00 |
|
Ivan Savenko
|
06b6f59107
|
Resolution selector will now correctly update in borderless window mode
|
2023-05-19 23:54:43 +03:00 |
|
Ivan Savenko
|
20ec747440
|
Do not show desktop-only options on mobile systems
|
2023-05-19 23:19:43 +03:00 |
|
Ivan Savenko
|
d18b240d6d
|
Added separate borderless & exclusive fullscreen options
|
2023-05-19 22:43:52 +03:00 |
|
Ivan Savenko
|
f2dfd6de42
|
Updated settings window to use new layouts & library
|
2023-05-19 22:43:52 +03:00 |
|
Ivan Savenko
|
7cbfd8117e
|
Implemented simple layout to simplify widget json definitions
|
2023-05-19 22:43:52 +03:00 |
|
Ivan Savenko
|
7cd898a87a
|
Implemented "customTypes" in UI json to reduce duplicated definitions
|
2023-05-19 22:43:52 +03:00 |
|
Ivan Savenko
|
1c82a10fdd
|
Fix graphical artifacts on map scaling
|
2023-05-19 17:09:46 +03:00 |
|
Ivan Savenko
|
be2e101c8c
|
Fix map freeze on enemy turn
|
2023-05-19 13:22:18 +03:00 |
|
SoundSSGood
|
1175990724
|
fixup
|
2023-05-19 01:55:11 +03:00 |
|
Ivan Savenko
|
9817aaa466
|
Merge pull request #2145 from IvanSavenko/fix_hota_support
Minor fixed for compatibility with hota data files
|
2023-05-18 22:50:10 +03:00 |
|
SoundSSGood
|
021f94a579
|
artifact utils
|
2023-05-17 17:00:31 +03:00 |
|
Ivan Savenko
|
872b68c59a
|
Implemented zoom reset shortcut (backspace)
|
2023-05-17 14:54:19 +03:00 |
|
Ivan Savenko
|
7504ceb256
|
Fixed map view centering during scaling change
|
2023-05-17 14:36:12 +03:00 |
|
Ivan Savenko
|
9e3bc87a6b
|
Allow zooming with mouse wheel
|
2023-05-17 00:49:24 +03:00 |
|
Ivan Savenko
|
3e9da333cf
|
Basic version of zoomable adventure map
|
2023-05-16 23:42:51 +03:00 |
|
Ivan Savenko
|
ad3e54e6c0
|
Reduced usage of topWindow() method
|
2023-05-16 21:57:45 +03:00 |
|
Ivan Savenko
|
e2ef136003
|
Renamed "Int" -> "Window" in WindowHandler API
|
2023-05-16 19:10:22 +03:00 |
|
Ivan Savenko
|
051a4a3c17
|
Encapsulation of WindowHandler state
|
2023-05-16 19:10:22 +03:00 |
|
Ivan Savenko
|
7838190ef4
|
Moved window stack management from GuiHandler to new class
|
2023-05-16 19:10:21 +03:00 |
|
Ivan Savenko
|
9eac3eaafa
|
Merged "music" resource type into "sound", enables ogg's use as sounds
|
2023-05-15 22:22:54 +03:00 |
|
Ivan Savenko
|
d6d679a38c
|
Fix missing broken shadows on hota map objects
|
2023-05-15 22:22:54 +03:00 |
|
Ivan Savenko
|
f84c2c3bb5
|
Removed getFrameDeltaMilliseconds from gui handler
|
2023-05-14 22:30:59 +03:00 |
|
Ivan Savenko
|
8a31aeb94b
|
Battle animations use tick() for updates
|
2023-05-14 22:23:00 +03:00 |
|
Ivan Savenko
|
fa496628f2
|
Separated timer updates from rendering in adventure map and town screen
|
2023-05-14 22:22:37 +03:00 |
|
Ivan Savenko
|
3ecdff2a21
|
FramerateManager now uses chrono instead of SDL_Ticks
|
2023-05-14 22:22:37 +03:00 |
|
Ivan Savenko
|
03df274450
|
Framerate manager is now in a separate file and private member of GH
|
2023-05-14 22:22:37 +03:00 |
|
Ivan Savenko
|
64cc246358
|
Fix positioning of console log overlay
|
2023-05-13 18:00:14 +03:00 |
|
Ivan Savenko
|
5e90d40e8b
|
Fix typo
|
2023-05-13 17:59:59 +03:00 |
|
Ivan Savenko
|
062311d24a
|
Fix callbacks of toggle buttons. Fixes game options window
|
2023-05-12 22:58:21 +03:00 |
|
Ivan Savenko
|
7927470d46
|
Merge pull request #2076 from IvanSavenko/configurable_adventure_map
Implement scalable adventure map window
|
2023-05-12 17:39:45 +03:00 |
|
SoundSSGood
|
f3ae47b10e
|
art transfer fix
|
2023-05-10 03:01:13 +03:00 |
|
Ivan Savenko
|
c5a48a01ce
|
Remove no longer used code
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
edd5d11734
|
Fix issues discovered by self-review
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
8504b891a8
|
Added more checks for SDL return status
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
b2233b8ced
|
Attempt to improve coloring of resource bar texture-fill
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
c01b74434c
|
Fix cancelling spellcast with escape
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
243773b6ef
|
Renamed some adventure map files & classes
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
e26b18c139
|
Rename & cleanup of WindowHandler -> ScreenHandler
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
29b10f0436
|
Try to enable window resize
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
b1bd49ecd8
|
Fix main menu resize on resolution change
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
bffec0068b
|
Fix screen updates after window resize
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
dbc4330fc5
|
Fixed positioning of resource bar and town list in other windows
|
2023-05-09 13:10:33 +03:00 |
|
Ivan Savenko
|
f403766fbb
|
Attempt to fix DPI scaling on Windows
|
2023-05-09 13:10:33 +03:00 |
|