quick filename refactor.

Want to make sure I explictly make headers c++ if they are intended to be.
This commit is contained in:
Edward R. Gonzalez 2023-09-23 21:52:38 -04:00
parent 5cfbc204a7
commit 6fb75fd1ff
13 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
#include "engine.h"
#include "engine.hpp"
//#include "win32.h"
NS_ENGINE_BEGIN

View File

@ -4,7 +4,7 @@
#pragma once
#include "platform/platform.h"
#include "platform/platform.hpp"
#define NS_ENGINE_BEGIN namespace engine {
#define NS_ENGINE_END }

View File

@ -4,5 +4,5 @@
#pragma once
#include "engine.h"
#include "engine.hpp"

View File

@ -1,6 +1,6 @@
// Joyshock grime wrapper
#include "grime.h"
#include "grime.hpp"
#ifdef COMPILER_CLANG
# pragma clang diagnostic push

View File

@ -20,11 +20,11 @@
#include <math.h> // TODO : Implement math ourselves
#include <stdio.h> // TODO : Implement output logging ourselves
#include "grime.h"
#include "macros.h"
#include "generics.h"
#include "math_constants.h"
#include "types.h"
#include "grime.hpp"
#include "macros.hpp"
#include "generics.hpp"
#include "math_constants.hpp"
#include "types.hpp"
#define NS_PLATFORM_BEGIN namespace platform {
#define NS_PLATFORM_END }

View File

@ -2,7 +2,7 @@
This represents the API only accessible to the platform layer to fullfill for the engine layer.
*/
#pragma once
#include "engine.h"
#include "engine.hpp"
NS_ENGINE_BEGIN

View File

@ -18,14 +18,14 @@
*/
// Platform Layer headers
#include "platform.h"
#include "jsl.h" // Using this to get dualsense controllers
#include "win32.h"
#include "platform.hpp"
#include "jsl.hpp" // Using this to get dualsense controllers
#include "win32.hpp"
#include <malloc.h>
// Engine layer headers
#include "engine.h"
#include "platform_engine_api.h"
#include "engine.hpp"
#include "platform_engine_api.hpp"
// TOOD(Ed): Redo these macros properly later.