1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
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
021f94a579 artifact utils 2023-05-17 17:00:31 +03:00
e9e5355af0 Added commented-out wog campaigns set 2023-05-01 18:00:35 +03:00
dea10e6091 Use more descriptive names for hotkeys 2023-05-01 17:59:20 +03:00
832e56e005 Implementation of (very basic) shortcuts system
- Added EShortcut enumeration that contains all in-game shortcuts
- CIntObject::keyPressed now receive values from hotkey enumeration
- On keypress, SDL key code will be translated to shortcut ID
- Removed access to SDL key codes from most of engine
2023-05-01 17:58:17 +03:00
8b531ca6c4 CArtifactHolder divided into files 2023-05-01 00:34:45 +03:00