mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Improve compiler compatibility (#743)
* fix returns * use standard C headers * struct/class mismatch * explicit this in template * switch variable scope * C standard compliance * & l-value
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "dolphin/mtx/mtxvec.h"
|
||||
|
||||
namespace JStudio {
|
||||
struct TObject;
|
||||
class TObject;
|
||||
struct TCreateObject {
|
||||
TCreateObject() {}
|
||||
virtual ~TCreateObject() = 0;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "global.h"
|
||||
|
||||
namespace JStudio {
|
||||
struct TObject;
|
||||
class TObject;
|
||||
namespace stb {
|
||||
|
||||
class TControl;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include "JSystem/JStudio/JStudio/jstudio-object.h"
|
||||
#include "JSystem/JStage/JSGSystem.h"
|
||||
|
||||
struct JAIBasic;
|
||||
struct JAISound;
|
||||
class JAIBasic;
|
||||
class JAISound;
|
||||
namespace JStudio_JAudio {
|
||||
typedef JStudio::TObject* (*JStudioAudioCreateFunc)(const JStudio::stb::data::TParse_TBlock_object&, JAIBasic*);
|
||||
typedef void (JAISound::*TVVOSoundSetFunc)(f32, u32); // e.g. JAISound::setDirectVolume, JAISound::setDirectPitch
|
||||
|
||||
Reference in New Issue
Block a user