mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-12-22 14:24:43 -08:00
quick filename refactor.
Want to make sure I explictly make headers c++ if they are intended to be.
This commit is contained in:
parent
5cfbc204a7
commit
6fb75fd1ff
@ -1,4 +1,4 @@
|
|||||||
#include "engine.h"
|
#include "engine.hpp"
|
||||||
//#include "win32.h"
|
//#include "win32.h"
|
||||||
|
|
||||||
NS_ENGINE_BEGIN
|
NS_ENGINE_BEGIN
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "platform/platform.h"
|
#include "platform/platform.hpp"
|
||||||
|
|
||||||
#define NS_ENGINE_BEGIN namespace engine {
|
#define NS_ENGINE_BEGIN namespace engine {
|
||||||
#define NS_ENGINE_END }
|
#define NS_ENGINE_END }
|
@ -4,5 +4,5 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "engine.h"
|
#include "engine.hpp"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Joyshock grime wrapper
|
// Joyshock grime wrapper
|
||||||
|
|
||||||
#include "grime.h"
|
#include "grime.hpp"
|
||||||
|
|
||||||
#ifdef COMPILER_CLANG
|
#ifdef COMPILER_CLANG
|
||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
@ -20,11 +20,11 @@
|
|||||||
#include <math.h> // TODO : Implement math ourselves
|
#include <math.h> // TODO : Implement math ourselves
|
||||||
#include <stdio.h> // TODO : Implement output logging ourselves
|
#include <stdio.h> // TODO : Implement output logging ourselves
|
||||||
|
|
||||||
#include "grime.h"
|
#include "grime.hpp"
|
||||||
#include "macros.h"
|
#include "macros.hpp"
|
||||||
#include "generics.h"
|
#include "generics.hpp"
|
||||||
#include "math_constants.h"
|
#include "math_constants.hpp"
|
||||||
#include "types.h"
|
#include "types.hpp"
|
||||||
|
|
||||||
#define NS_PLATFORM_BEGIN namespace platform {
|
#define NS_PLATFORM_BEGIN namespace platform {
|
||||||
#define NS_PLATFORM_END }
|
#define NS_PLATFORM_END }
|
@ -2,7 +2,7 @@
|
|||||||
This represents the API only accessible to the platform layer to fullfill for the engine layer.
|
This represents the API only accessible to the platform layer to fullfill for the engine layer.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "engine.h"
|
#include "engine.hpp"
|
||||||
|
|
||||||
NS_ENGINE_BEGIN
|
NS_ENGINE_BEGIN
|
||||||
|
|
@ -18,14 +18,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Platform Layer headers
|
// Platform Layer headers
|
||||||
#include "platform.h"
|
#include "platform.hpp"
|
||||||
#include "jsl.h" // Using this to get dualsense controllers
|
#include "jsl.hpp" // Using this to get dualsense controllers
|
||||||
#include "win32.h"
|
#include "win32.hpp"
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
// Engine layer headers
|
// Engine layer headers
|
||||||
#include "engine.h"
|
#include "engine.hpp"
|
||||||
#include "platform_engine_api.h"
|
#include "platform_engine_api.hpp"
|
||||||
|
|
||||||
|
|
||||||
// TOOD(Ed): Redo these macros properly later.
|
// TOOD(Ed): Redo these macros properly later.
|
||||||
|
Loading…
Reference in New Issue
Block a user