Update C headers to be C++

This commit is contained in:
Jaby
2024-04-07 10:46:35 -05:00
parent f2ea2f04f0
commit f5270df019
58 changed files with 153 additions and 225 deletions

View File

@@ -1,7 +1,7 @@
#ifndef __JABYENGINE_FRAME_TIME_HELPER_HPP__
#define __JABYENGINE_FRAME_TIME_HELPER_HPP__
#include <PSX/GPU/gpu.hpp>
#include <limits.h>
#include <limits.hpp>
namespace JabyEngine {
static constexpr double ms_per_frame = 1000.0/static_cast<double>(GPU::Display::frames_per_sec);

View File

@@ -1,7 +1,7 @@
#ifndef __JABYENGINE_FRAME_TIMER_HPP__
#define __JABYENGINE_FRAME_TIMER_HPP__
#include "frame_time_helper.hpp"
#include <stdint.h>
#include <stdint.hpp>
namespace JabyEngine {
class MasterTime {

View File

@@ -1,6 +1,6 @@
#ifndef __JABYENGINE_HIGH_RES_TIMER_HPP__
#define __JABYENGINE_HIGH_RES_TIMER_HPP__
#include "../jabyengine_defines.h"
#include "../jabyengine_defines.hpp"
#include <PSX/System/IOPorts/interrupt_io.hpp>
#include <PSX/System/IOPorts/timer_io.hpp>