Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cpp-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Maul
cpp-project
Merge requests
!21
Ui components
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Ui components
ui-components
into
main
Overview
0
Commits
20
Pipelines
0
Changes
1
Closed
Ui components
Nicolas Paul Will
requested to merge
ui-components
into
main
5 months ago
Overview
0
Commits
20
Pipelines
0
Changes
1
add tileMarker class this will be used to operate the whole game with keyboard
0
0
Merge request reports
Viewing commit
e4eb8833
Prev
Next
Show latest version
1 file
+
16
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
e4eb8833
add switch case
· e4eb8833
Max Cherris
authored
5 months ago
src/game/ui/Recruitingmenu.cpp
+
16
−
0
View file @ e4eb8833
Edit in single-file editor
Open in Web IDE
Show full file
@@ -14,6 +14,22 @@ namespace advanced_wars
@@ -14,6 +14,22 @@ namespace advanced_wars
m_selectedOption
=
0
;
m_selectedOption
=
0
;
renderableunit
=
{};
renderableunit
=
{};
}
}
/*
void RecruitingMenu::setOptions(const std::vector<UnitId> recruitableUnits) {
std::vector<std::string> options;
for (UnitId id : recruitableUnits) {
switch (id)
{
case UnitId::INFANTERY
options
break;
default:
break;
}
}
} */
void
RecruitingMenu
::
render
(
Engine
&
engine
)
void
RecruitingMenu
::
render
(
Engine
&
engine
)
{
{
Loading