aboutsummaryrefslogtreecommitdiff
path: root/game
Commit message (Collapse)AuthorAgeLines
...
* 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
* Add terrain map Hop3112023-04-14-12/+462
| | | | | | | | | | | | 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-11/+3239
| | | | | | | * Whitespace cleanup * Icon import files * Logo on main menu.
* Added unit icons; unfinished icons given placeholder ClarkeCode2023-04-01-0/+0
|
* Added images for Army technologies ClarkeCode2023-04-01-0/+0
|
* Adding icon files; unfinished icons given placeholder ClarkeCode2023-04-01-0/+0
|
* Added Localisation (#77) Hop3112023-03-30-90/+326
| | | | | | | | | * 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-31/+271
| | | | | | | | | | | | | | 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-9/+16
| | | | | Make main_menu_button_normal a text resource Easier to manage with Git
* Merge pull request #72 from Spartan322/enhance/theming George L. Albany2023-03-24-149/+229
|\
| * Make default_theme.tres the project theme Spartan3222023-03-23-149/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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