Changeset 301c90a in opengl-game for vulkan-game.hpp
- Timestamp:
- Mar 13, 2021, 10:37:06 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- d255d52
- Parents:
- 187b0f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r187b0f5 r301c90a 243 243 SDL_Window* window = nullptr; 244 244 245 int drawableWidth, drawableHeight; 246 245 247 VkInstance instance; 246 248 VkDebugUtilsMessengerEXT debugMessenger; … … 360 362 /*** High-level vars ***/ 361 363 362 void (VulkanGame::* currentRenderScreenFn)(); 364 // TODO: Just typedef the type of this function to RenderScreenFn or something since it's used in a few places 365 void (VulkanGame::* currentRenderScreenFn)(int width, int height); 363 366 364 367 map<string, vector<UIValue>> valueLists; … … 456 459 /*** High-level functions ***/ 457 460 458 void renderMainScreen( );459 void renderGameScreen( );461 void renderMainScreen(int width, int height); 462 void renderGameScreen(int width, int height); 460 463 461 464 void initGuiValueLists(map<string, vector<UIValue>>& valueLists); 462 465 void renderGuiValueList(vector<UIValue>& values); 463 466 464 void goToScreen(void (VulkanGame::* renderScreenFn)( ));467 void goToScreen(void (VulkanGame::* renderScreenFn)(int width, int height)); 465 468 void quitGame(); 466 469 };
Note:
See TracChangeset
for help on using the changeset viewer.