aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/MapView.gd
Commit message (Collapse)AuthorAgeLines
* Merge pull request #246 from OpenVicProject/search-panel Hop3112024-08-01-3/+12
|\ | | | | Search panel + text edit box UI generation
| * Search panel + text edit box UI generationsearch-panel hop3112024-07-30-3/+12
| |
* | Add movement prevention if any gui has focus Spartan3222024-08-01-11/+15
|/ | | | | | | | Remove _cardinal_movement_vector function in favor of variable Move map movement handling to _unhandled_input Fixes #248
* Merge pull request #231 from Spartan322/fix/map-behavior George L. Albany2024-05-19-3/+26
|\ | | | | Fix Minimap click doing nothing
| * Fix Minimap click doing nothing Spartan3222024-05-19-3/+26
| | | | | | | | | | | | | | | | 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
* | Misc UI code changesmisc hop3112024-05-14-3/+3
|/
* Add right click map for diplomacy window Spartan3222024-05-08-0/+5
|
* Improve map view and game panel user experience Spartan3222024-05-07-45/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* Add province names and improve zooming hop3112024-04-24-4/+36
|
* Smooth province edges and zoom tweaksprovince-edge-blending hop3112024-04-22-10/+16
|
* Add map background plane to hide transparent windowmap-background hop3112024-03-13-3/+17
|
* Added overlay parchment map and refactored map shader hop3112024-01-19-14/+19
|
* Improved province colouring and terrain texture tiling hop3112024-01-15-6/+8
|
* Back to UI Work hop3112023-12-25-14/+16
| | | | | | | | | - 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
* New pop history loading + bookmark selection by index hop3112023-12-18-0/+1
|
* Sim submodule update + extension compatibility hop3112023-12-04-1/+1
|
* Striped mapmodes hop3112023-11-16-1/+4
|
* Fix edge scrolling when window not in focus. Benjamin Darnell2023-09-11-3/+16
|
* Implemented zoom-to-cursor functionality; Fixed bug with edge scrolling. Benjamin Darnell2023-09-05-8/+12
|
* Add GameLoader Autoload to handle global loading data Spartan3222023-07-09-5/+5
| | | | | | | | | | | | | | 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
* Reorganize the file structure of the files in `game/src` Spartan3222023-06-03-0/+242