aboutsummaryrefslogtreecommitdiff
path: root/game/src
Commit message (Collapse)AuthorAgeLines
* init Gone2Daly2023-09-22-2/+6
|
* Merge pull request #155 from Ben1152000/zoom-to-cursor Hop3112023-09-14-8/+25
|\ | | | | Implemented zoom-to-cursor functionality
| * 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
| |
* | Logger::warning, format cleanup + req comments Hop3112023-09-14-2/+6
| |
* | Followup big dataloader commit Hop3112023-09-09-15/+13
| |
* | Big Dataloader Commit (openvic) Hop3112023-09-09-20/+13
| | | | | | | | Default compat path + formatting + bits+bobs
* | Add Window Override: Spartan3222023-09-07-3/+37
|/ | | | | Hides window for help argument (`./program -- --help`) Hides window until video options loading is complete
* Add signals to MusicConductor Spartan3222023-08-24-18/+27
| | | | | | | | Used for streamlining MusicPlayer Enable music on startup Add sound option loading on startup Fix MusicPlayer play button starting with incorrect text
* Add Animated Gear to Loading Screen Joel Machens2023-08-21-2/+83
|
* Fixed piechart tooltip + updated sim submodule Hop3112023-08-14-1/+3
|
* string_view changes + general cleanup Hop3112023-08-12-32/+16
|
* PieChart data and image now come from c++ layer Hop3112023-08-10-838/+189
|
* add piecharts Nemrav2023-08-09-3/+931
|
* First pass at pops (test pops and density mapmode) Hop3112023-07-28-3/+14
|
* Tidying: missing req comments, submodules, hotkeys Hop3112023-07-21-25/+76
|
* Add GameLoader Autoload to handle global loading data Spartan3222023-07-09-100/+183
| | | | | | | | | | | | | | 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
* Update to Godot 4.1 Stable Release Spartan3222023-07-06-1/+3
| | | | | Fix deferred error in LoadingScreen.update_loading_screen Fix pressed shadow variable warning in SettingCheckBox.gd
* Merge pull request #131 from OpenVicProject/ui-cleanup Hop3112023-06-24-143/+309
|\ | | | | Localisation and UI focus cleanup
| * Localisation and UI focus cleanup Hop3112023-06-23-143/+309
| | | | | | | | | | | | | | | | Updated Russian localisation Resolution, window_mode, monitor refactor Locale based number formatting
* | Merge pull request #133 from Spartan322/argparser-corrections George L. Albany2023-06-14-36/+71
|\ \
| * | Fix ArgumentParser excluding last character for arg key Spartan3222023-06-13-36/+71
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ArgumentParser ignoring full name boolean arguments Add warning for ArgumentParser parsing a non-boolean standalone argument Move SS-56 requirement to ArgumentParser scene Add has_argument_support, get_argument, and set_argument to ArgumentParser Update `GameDebug.gd` to rely on `ArgumentParser.get_argument` Update `Events.gd` to rely on `ArgumentParser.get_argument` Add shorthand alias argument non-alphabetic warning and skip Add shorthand alias argument validation for boolean with warning and skip Add shorthand alias missing warning Add length check for full name arguments in ArgumentParser Remove superfluous `-` in ArgumentParse scene aliases
* / Add Loading Screen Joel Machens2023-06-13-16/+129
|/
* Update file contents according to reorganization Spartan3222023-06-03-73/+73
|
* Reorganize the file structure of the files in `game/src` Spartan3222023-06-03-0/+0
|
* Added requirement comments Hop3112023-05-26-9/+17
|
* Added compatibility-mode command line argument Hop3112023-05-25-43/+61
|
* Import fix + ProvinceOverviewPanel close fix Hop3112023-05-25-0/+1
|
* Date fix + string fix + Logger queue Hop3112023-05-24-1/+3
|
* Map compatibility mode Hop3112023-05-22-3/+14
|
* GD/std string cleanup + separate data loading cpp Hop3112023-05-22-0/+1
|
* Add revert dialog functionality to ScreenModeSelector Spartan3222023-05-20-97/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix recursion bug caused by invalid default value in `reset_setting` Add `option_selected` signal to SettingOptionButton Allows discerning between user option selection and system option selection Add `no_emit` bool defaulted to false for `SettingOptionButton.reset_setting` Add push_error for failing to generate option as well Generalize ResolutionRevertDialog functionality Using the `dialog_reverted` signal enables custom revert functionality instead Disables process function while not visible Displayed time is more correct Add Resolution `resolution_added`, `resolution_changed`, and `window_mode_changed` signals Add `get_resolution_name` to Resolution Change ResolutionSelector `_sync_resolutions` to use `Resolution.resolution_added` signal Reduces unnecessary resolution option list rebuilds Move Resolution display_name functionality to ResolutionSelector Makes it easier to denote default functionality an inline fashion Add SettingRevertButton to automatically handle revert setting behavior Rename VideoTab VBoxContainer/GridContainer to VideoSettingGrid Rename VideoTab VBoxContainer to VideoSettingList Remove `horizontal_alignment` from AutosaveIntervalLabel
* Merge pull request #113 from Nemrav/keep-video-settings-dialog George L. Albany2023-05-18-16/+67
|\
| * keep-video-settings-dialog and game-session ui layering fix Nemrav2023-05-18-16/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring resolution dialog local inline with standards put changes-dialog functionality in ResolutionSelector fix revert-dialog width cleanup resolution-dialog signals resolution dialog works for all resolutions resolution dialog remove unnecessary timer var resolution dialog better export vars resolution dialog correct var style
* | Changed from OpenVic2 to OpenVic Hop3112023-05-17-8/+8
| |
* | Fix SettingHSlider not loading properly on default values Spartan3222023-05-16-2/+5
| | | | | | | | | | | | Fixes volume sliders being ignored when loaded at zero Fix MusicConductor ignoring MUSIC_BUS
* | Fix incomplete #110 requirement documentation Spartan3222023-05-14-2/+11
|/ | | | | | | | | | Fix incorrect reference to UIFUN-83 as UIFUNC-83 Also fulfills: SS-18 UI-39, UI-40, UI-41, UI-86, UI-93 UIFUN-77, UIFUN-78 FS-8
* Add SaveManager autoload singleton Spartan3222023-05-12-21/+792
| | | | | | | | | | | | | | | | | | | | | Globally handles save finding, creation, removal, changes, naming, and flushing Globally handles the session tags for the active save Add SaveLoadMenu to GameSession Add Start Date Panel and Save Panel loading to LobbyMenu Includes session tag filter Add LobbyPanelButton and SavePanelButton scene and scripts Add SaveResource to handle saving and loading individual save files Add localization for SaveLoadMenu Expand localization for additions to LobbyMenu Add ButtonContainer variation type to default theme Fulfill: UI-82, UI-83, UI-84, UI-85, UI-87, UI-89, UI-90, UI-91, UI-92, UI-94 UIFUN-82, UIFUN-83, UIFUN-84, UIFUN-86, UIFUN-87, UIFUN-89 FS-28
* Fix building buttons and terrain texture imports Hop3112023-05-11-105/+130
|
* Added Goods loading + mapmode Hop3112023-05-11-58/+62
|
* GUI scale tweaks Hop3112023-05-10-34/+32
|
* Add UI scaling through menu option Nemrav2023-05-10-2/+148
|
* Merge pull request #104 from OpenVic2Project/map-hover-tweaks George L. Albany2023-05-02-4/+15
|\
| * Better province highlight on selection/hover. Hop3112023-05-01-4/+15
| |
* | Merge pull request #102 from Spartan322/refine/argument-parsing George L. Albany2023-05-02-1/+347
|\ \
| * | Add ArgumentParser Spartan3222023-05-02-1/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Streamlines parsing of commandline arguments Arguments reside in ProjectSettings as `openvic2/data/arguments` as a dictionary The dictionary's key is the option name The dictionary is set with default values This enables project setting overrides for arguments (user specified arguments take priority) Add help commandline option Prepare for removal of GameDebug.gd Add game project description
* | | Merge pull request #99 from Spartan322/conform-license-for-godot George L. Albany2023-05-02-1/+139
|\ \ \ | |_|/ |/| |
| * | Add some license conformance for Godot Spartan3222023-04-28-1/+139
| |/ | | | | | | | | | | Add License Attribution for OpenVic2, Godot, FreeType, ENet, and mbed TLS in credits with redirect links to licenses Add contributor and donor list for Godot to credits Add link button for Godot, redirects to https://godotengine.org
* | Hashmaps instead of linear + better province hover Hop3112023-05-01-0/+1
| |
* | Highlight selected province on minimap Hop3112023-04-30-3/+29
| |