aboutsummaryrefslogtreecommitdiff
path: root/game
Commit message (Collapse)AuthorAgeLines
* 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
* Merge pull request #128 from OpenVicProject/russian-localisation Hop3112023-06-10-0/+178
|\ | | | | Russian localisation supplied by av213238
| * Russian localisation supplied by av213238 Hop3112023-05-31-0/+178
| |
* | Update file contents according to reorganization Spartan3222023-06-03-88/+88
| |
* | Reorganize the file structure of the files in `game/src` Spartan3222023-06-03-0/+0
|/
* Added requirement comments Hop3112023-05-26-9/+28
|
* Added compatibility-mode command line argument Hop3112023-05-25-43/+62
|
* Import fix + ProvinceOverviewPanel close fix Hop3112023-05-25-55/+661
|
* 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
* Added Grain & Wool RGO icons Jenny2023-05-18-0/+0
|
* Merge pull request #113 from Nemrav/keep-video-settings-dialog George L. Albany2023-05-18-16/+73
|\
| * keep-video-settings-dialog and game-session ui layering fix Nemrav2023-05-18-16/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-45/+45
| |
* | 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-23/+892
| | | | | | | | | | | | | | | | | | | | | 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-269/+139
|
* Added Goods loading + mapmode Hop3112023-05-11-5643/+328
|
* GUI scale tweaks Hop3112023-05-10-34/+32
|
* Add UI scaling through menu option Nemrav2023-05-10-2/+152
|
* Fix display names for North American provinces ClarkeCode2023-05-02-40/+40
| | | | Fix display names for Canadian provinces
* 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/+348
|\ \
| * | Add ArgumentParser Spartan3222023-05-02-1/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
* | Terrain textures + province colour alpha channel Hop3112023-04-29-30/+190
| |
* | Merge branch 'main' into goods Hop3112023-04-29-157/+108
|\ \
| * | Terrain channel for provinces + generated minimap Hop3112023-04-28-164/+108
| | |
| * | Vertical subdivision + calculation for both dims Hop3112023-04-26-3/+10
| |/
* / Fix typo ClarkeCode2023-04-27-2/+2
|/
* Divide map texture to fit in 16384 GPU dim limit Hop3112023-04-26-18/+17
|
* Further cleanup + reset on return to main menu Hop3112023-04-25-2/+2
|
* Req comments + cleanup + c++ registry refactoring Hop3112023-04-25-2/+17
|
* Refurbish UI elements Spartan3222023-04-24-155/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move GameSession MusicPlayer to below OptionsMenu Ensures the MusicPlayer appears above the OptionsMenu Add Save and Quit/Resign to GameSessionMenu resign/quit popup To allow the player to save and resign/quit more quicker Remove GameSessionMenu hide on OptionsMenu open Renamed many UI elements to better reflect their purpose Add SessionButton theme_type_variation to GameSession buttons Add SessionButton style similar to TitleButton Disable 3D for dialog windows Change _play_pause_display_button pause text to "⏸ " Change IncreaseSpeedButton text to + Change DecreaseSpeedButton text to - Change Minimap NinePatch frame to function like a nine patch Rename actions map_zoomin and map_zoomout to map_zoom_in and map_zoom_out Change ProvinceOverviewPanel to a PanelContainer Reorganize ProvinceOverviewPanel to better use container functionality Optimize MusicPlayer Enables one line support for MusicPlayer Add warning to StyleBoxWithSound to avoid UI elements with toggle functionality
* C++ refactoring + simulation prototype Hop3112023-04-23-242/+320
|
* Added basic outlines of Canadian provinces + territories ClarkeCode2023-04-20-3/+33
|
* Double-click a start date to automatically start a game session ClarkeCode2023-04-18-0/+6
|
* Added music player control to GameSession ClarkeCode2023-04-18-1/+13
|
* Added game speed panel to GameSession ClarkeCode2023-04-18-1/+76
|
* Merge pull request #88 from OpenVic2Project/map-drawing Hop3112023-04-18-95/+748
|\ | | | | Further Map Stuff
| * Better province image + terrain + some buttons Hop3112023-04-18-95/+748
| |
* | Removing TestSingleton ClarkeCode2023-04-17-2/+0
|/ | | | Extracted game advancement behaviour to separate class
* Add minimap for terrain map Gone2Daly2023-04-14-68/+386
| | | | | | | | | | With accurate viewport shape display on minimap With Mapmode management With Region mapmode With Province mapmode With Index mapmode With Minimap single-click movement With Minimap drag-click movement