Move back to C++

This commit is contained in:
Piotr Krygier committed 2022-07-05 16:03:31 -04:00
1 parent 4755371ffa
commit ce0c399810
13 files changed
+44 -83

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
/**
* @file vulkanBase.h
* @author Piotr Krygier (everyonecancode@gmail.com)
* @brief Vulkan wrapper functions used by other parts of Graphics component
* @version 0.1
* @date 2022-05-13
*
* @copyright Copyright (c) 2022
*
*/
#ifndef VULKAN_BASE_H
#define VULKAN_BASE_H
int initVulkan();
void deinitVulkan();
#endif /* VULKAN_BASE_H */
-45
View File
@@ -1,45 +0,0 @@
/**
* @file window.h
* @author Piotr Krygier (everyonencancode@gmail.com)
* @brief Window control system
* @version 0.1
* @date 2022-02-15
*
* @copyright Copyright (c) 2022
*
*/
#ifndef WINDOW_HANDLER_H
#define WINDOW_HANDLER_H
/* Vulkan header MUST be included before glfw */
#include <vulkan/vulkan.h>
#include <GLFW/glfw3.h>
/**
* @brief Initialize window
*
* @return uint16_t WINDOW_SUCCESS on success. Possible errors:
* WINDOW_VULKAN_NOT_LOADED
* WINDOW_WINDOW_NOT_CREATED
*
*/
uint16_t windowInit();
/**
* @brief Main window loop
*
* @return uint16_t WINDOW_SUCCESS or error code
*/
uint16_t windowLoop();
/**
* @brief Closes window and terminates GLFW
*
*/
void windowTerminate();
GLFWwindow* getWindowHandle();
#endif /* WINDOW_HANDLER_H */