aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/MapControlPanel
Commit message (Collapse)AuthorAgeLines
* Fix Minimap click doing nothing Spartan3222024-05-19-2/+2
| | | | | | | | Add MapView queue_province_hover_update Makes province hover much more reliable Fix edge scrolling continuing when mouse leaves window Add province hover reset when mouse leaves the window Change _edge_move_threshold to 0.025
* Improve map view and game panel user experience Spartan3222024-05-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minimizes panel mouse obstruction to scripted panel images Prevents map view from hovering inside UI elements Unsets province hover when not over provinces Add `GUINode.click_mask` Prevents mouse interactions not within click_mask Add `GUINode.set_click_mask_from_nodepaths` Generates click_mask from paths relating to GUINode textures Sets nodepaths to MOUSE_FILTER_IGNORE Add CanvasLayer parent to GameSession UI nodes Set mouse_force_pass_scroll_events to GameSession UI nodes Set MapControlPanel mouse_filter to default (MOUSE_FILTER_STOP) Move MapView mouse viewport changes to _input Move MapView _action_drag released check to _input Move MapView processing to _process Remove viewport and window notifications Disable if window is not focused or input is handled: MapView mouse interactions (including edge scrolling and drag panning) MapView province hover Set mouse_filter to MOUSE_FILTER_IGNORE for ProvinceOverviewPanel province_view panel Set ProvinceOverviewPanel click_mask path to `province_view/background` Set mouse_filter to MOUSE_FILTER_IGNORE for Topbar topbar panel Set Topbar click_mask path to `topbar/topbar_bg` and `topbar/topbar_paper`
* ProgressBar, StyleBoxTexture, Icon tweaks + current dir install check fix hop3112024-03-03-1/+1
|
* Back to UI Work hop3112023-12-25-5/+5
| | | | | | | | | - UIAdapter -> UITools with cleaner API - GUIOverlappingElementsBox (for core and modifier icons) - Improved GUINode API - Province building slots - TypeHints for files in the GameSession folder - Incorporate SIM strong colour types
* Striped mapmodes hop3112023-11-16-1/+1
|
* Logger::warning, format cleanup + req comments Hop3112023-09-14-2/+2
|
* First pass at pops (test pops and density mapmode) Hop3112023-07-28-2/+2
|
* Tidying: missing req comments, submodules, hotkeys Hop3112023-07-21-1/+1
|
* Add GameLoader Autoload to handle global loading data Spartan3222023-07-09-2/+2
| | | | | | | | | | | | | | Remove GameDebug, Localization, and ShaderManager from Events.gd Renamed OptionsSingleton class_name to OptionsEventsObject Add Events.Loader to handle Loader events (which are global signals) Make GameDebug singleton with static functions and property Make Localization functions static Move ShaderManager variable to GameLoader Move Events._define_filepaths_dict to GameLoader.define_filepaths_dict Move game initialization from LoadingScreen.gd and Events.gd to GameStart.gd Attach GameStart.gd to GameStart.tscn root Make LoadingScreen generalized and so it is reusable Remove class_name from LoaderingScreen.gd
* Localisation and UI focus cleanup Hop3112023-06-23-0/+6
| | | | | | | | Updated Russian localisation Resolution, window_mode, monitor refactor Locale based number formatting
* Update file contents according to reorganization Spartan3222023-06-03-4/+4
|
* Reorganize the file structure of the files in `game/src` Spartan3222023-06-03-0/+287