isle-portable/LEGO1/omni/include/mxmisc.h
Anonymous Maarten bb4db6caac
Use SDL3 functions in more locations (#44)
* Use strcasecmp, strncasecmp, strlwr, strupr and itoa from SDL

* Use SDL_GetTicks instead of timeGetTime

* Use MxDSFile::OPEN_READ instead of OF_READ

* Use SDL_IOStream to read bitmaps

* Use SDL_LogXXX instead of OutputDebugString

* Undo mxvideoparam.h change

* Revert "Undo mxvideoparam.h change"

This reverts commit 4a20cf6c46.

* Fix _MxTrace

* Reapply "Undo mxvideoparam.h change"

This reverts commit b3a09dc520.

* fix _MxTrace

* Use __declspec(dllexport) for exporting symbols from dll

Refactored CMake script such that all objects are passed to the lego1 library.

* clang-format

* fix msvc build

* MSVC fixed for real now?

* Forgot about d3drm_guid

* Fix naming issue

* Use Uint64 in LegoCarBuild::Tickle for dTime
2024-12-24 18:04:46 -07:00

33 lines
783 B
C++

#ifndef MXMISC_H
#define MXMISC_H
#include "lego1_export.h"
#include "mxtypes.h"
class MxAtomSet;
class MxDSAction;
class MxEventManager;
class MxNotificationManager;
class MxObjectFactory;
class MxSoundManager;
class MxStreamer;
class MxTickleManager;
class MxTimer;
class MxVariableTable;
class MxVideoManager;
LEGO1_EXPORT MxTickleManager* TickleManager();
LEGO1_EXPORT MxTimer* Timer();
LEGO1_EXPORT MxStreamer* Streamer();
MxSoundManager* MSoundManager();
LEGO1_EXPORT MxVariableTable* VariableTable();
MxEventManager* EventManager();
LEGO1_EXPORT MxResult Start(MxDSAction*);
MxNotificationManager* NotificationManager();
MxVideoManager* MVideoManager();
MxAtomSet* AtomSet();
MxObjectFactory* ObjectFactory();
void DeleteObject(MxDSAction& p_dsAction);
#endif // MXMISC_H