aboutsummaryrefslogtreecommitdiff
path: root/game/src
Commit message (Collapse)AuthorAgeLines
...
* 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
| |
* | Terrain textures + province colour alpha channel Hop3112023-04-29-30/+44
| |
* | Terrain channel for provinces + generated minimap Hop3112023-04-28-94/+107
| |
* | Vertical subdivision + calculation for both dims Hop3112023-04-26-3/+10
|/
* 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/+16
|
* Refurbish UI elements Spartan3222023-04-24-150/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-49/+118
|
* 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-81/+252
|\ | | | | Further Map Stuff
| * Better province image + terrain + some buttons Hop3112023-04-18-81/+252
| |
* | Removing TestSingleton ClarkeCode2023-04-17-2/+0
|/ | | | Extracted game advancement behaviour to separate class
* Add minimap for terrain map Gone2Daly2023-04-14-64/+300
| | | | | | | | | | 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
* Add terrain map Hop3112023-04-14-12/+354
| | | | | | | | | | | | With Directional movement using WASD With Directional movement using arrow keys With Click-Drag movement using middle mouse button With Province identifiers With Province shape loading With Province rendering With Province selection With Province overview panel With Color lookup texture
* Logo on Mainmenu + icon imports + whitespace cleanup (#82) Hop3112023-04-07-9/+9
| | | | | | | * Whitespace cleanup * Icon import files * Logo on main menu.
* Added Localisation (#77) Hop3112023-03-30-88/+141
| | | | | | | | | * Added Localisation * Removed `.gdignore`s. * Localisation dir path and Locale name cleanup * Incomplete entry warnings + README
* Add automated git release info retrieval on export Spartan3222023-03-29-28/+83
| | | | | | | | | | | | | | Makes debug easier to see and handle Add commit hash label to MainMenu Add click-copyable tag, commit hash, and checksum to main menu Rename VersionChecksumBox to ReleaseInfoBox Move ReleaseInfoBox to separate scene and script Add GIT_INFO.gd for generic project running Add openvic2-plugin addon for handling export plugin Replaces GIT_INFO.gd on export Setup build workflow to retrieve commit hash, tag, and release
* Make main_menu_button.png a Texture2D Spartan3222023-03-24-1/+1
| | | | | Make main_menu_button_normal a text resource Easier to manage with Git
* Make default_theme.tres the project theme Spartan3222023-03-23-43/+35
| | | | | | | | | | | | | | | | | | | | | | Remove default_theme as theme for GameMenu Usable as a result of Godot 4.0.1 update Move theme resources to theme directory Move theme_assets to theme/assets For better theme organization Remove scene/node specific theme overrides Use theme_type_variation for nodes in MainMenu, OptionsMenu, CreditsMenu Decreases coupling of theme values in scenes and the scene tree Assign theme resources to MainMenu, OptionsMenu, and CreditsMenu Separates general default theme values and scene specific theme values Reduces the specificity and verbosity of theme type variation names Rename MainMenu/Panel/VBox/Margin2 to BottomMargin For better clarity of Margin's purpose Add newline to end of CreditsMenu.gd
* Basic Game Session skeleton (#67) Hop3112023-03-22-125/+158
| | | | | | | | | | | | | * Fixed grab_focus error on not is_inside_tree * Moved SampleGame to GameSession/GameSession * Basic GameSession and GameSessionMenu/Escape Menu * Map Control Panel skeleton * Added requirement comments * Removed unnecessary CenterContainer
* Refactor GameMenu to rely on export variables Spartan3222023-03-13-13/+22
|
* Merge pull request #64 from BrickPi/credits-rename BrickPi2023-03-12-9/+7
|\ | | | | Refactor Credits -> CreditsMenu
| * Refactor Credits -> CreditsMenu Joel Machens2023-03-12-9/+7
| |
* | Merge pull request #59 from Spartan322/feature/splash-opener George L. Albany2023-03-12-0/+87
|\ \ | |/ |/|
| * Add splash opener functionality Spartan3222023-03-11-0/+87
| | | | | | | | | | Add boot splash screen Implement splash skip on interaction
* | Added General Tab htmlJoel2023-03-12-75/+232
|/ | | | | | Fix OptionsMenu scaling Options UI extended Connected escape for back
* Merge pull request #60 from Spartan322/feature/debug-mode George L. Albany2023-03-11-0/+20
|\
| * Add debug mode Spartan3222023-03-11-0/+20
| | | | | | | | Fulfills requirement SS-56
* | Fix MusicConductor not loading music on exported executables Spartan3222023-03-11-1/+2
|/