Changeset 85b5fec in opengl-game for sdl-game.hpp
- Timestamp:
- Mar 14, 2021, 2:10:20 AM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 7865c5b
- Parents:
- d255d52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.hpp
rd255d52 r85b5fec 109 109 /*** High-level vars ***/ 110 110 111 void (VulkanGame::* currentRenderScreenFn)(); 111 // TODO: Just typedef the type of this function to RenderScreenFn or something since it's used in a few places 112 void (VulkanGame::* currentRenderScreenFn)(int width, int height); 112 113 113 114 map<string, vector<UIValue>> valueLists; … … 158 159 /*** High-level functions ***/ 159 160 160 void renderMainScreen( );161 void renderGameScreen( );161 void renderMainScreen(int width, int height); 162 void renderGameScreen(int width, int height); 162 163 163 164 void initGuiValueLists(map<string, vector<UIValue>>& valueLists); 164 165 void renderGuiValueList(vector<UIValue>& values); 165 166 166 void goToScreen(void (VulkanGame::* renderScreenFn)( ));167 void goToScreen(void (VulkanGame::* renderScreenFn)(int width, int height)); 167 168 void quitGame(); 168 169
Note:
See TracChangeset
for help on using the changeset viewer.