mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 02:21:15 +00:00
* 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 commit4a20cf6c46. * Fix _MxTrace * Reapply "Undo mxvideoparam.h change" This reverts commitb3a09dc520. * 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
67 lines
2.0 KiB
C++
67 lines
2.0 KiB
C++
#ifndef MISC_H
|
|
#define MISC_H
|
|
|
|
#include "compat.h"
|
|
#include "decomp.h"
|
|
// Long include path due to dependency of misc library on LegoOmni
|
|
#include "lego/legoomni/include/actions/actionsfwd.h"
|
|
#include "lego1_export.h"
|
|
#include "mxtypes.h"
|
|
|
|
class LegoAnimationManager;
|
|
class LegoBuildingManager;
|
|
class LegoCharacterManager;
|
|
class LegoControlManager;
|
|
class LegoGameState;
|
|
class LegoInputManager;
|
|
class LegoNavController;
|
|
class LegoOmni;
|
|
class LegoPathActor;
|
|
class LegoPlantManager;
|
|
class LegoROI;
|
|
class LegoSoundManager;
|
|
class LegoTextureContainer;
|
|
class LegoVideoManager;
|
|
class LegoWorld;
|
|
class MxAtomId;
|
|
class MxBackgroundAudioManager;
|
|
class MxDSAction;
|
|
class MxTransitionManager;
|
|
class ViewLODListManager;
|
|
class ViewManager;
|
|
|
|
extern MxBool g_isWorldActive;
|
|
|
|
LEGO1_EXPORT LegoOmni* Lego();
|
|
LegoSoundManager* SoundManager();
|
|
LEGO1_EXPORT LegoVideoManager* VideoManager();
|
|
LEGO1_EXPORT MxBackgroundAudioManager* BackgroundAudioManager();
|
|
LEGO1_EXPORT LegoInputManager* InputManager();
|
|
LegoControlManager* ControlManager();
|
|
LEGO1_EXPORT LegoGameState* GameState();
|
|
LegoAnimationManager* AnimationManager();
|
|
LegoNavController* NavController();
|
|
LegoPathActor* UserActor();
|
|
LegoWorld* CurrentWorld();
|
|
LegoCharacterManager* CharacterManager();
|
|
ViewManager* GetViewManager();
|
|
LegoPlantManager* PlantManager();
|
|
LegoBuildingManager* BuildingManager();
|
|
LegoTextureContainer* TextureContainer();
|
|
ViewLODListManager* GetViewLODListManager();
|
|
void FUN_10015820(MxBool p_disable, MxU16 p_flags);
|
|
LegoROI* FindROI(const char* p_name);
|
|
void SetROIVisible(const char* p_name, MxBool p_visible);
|
|
void SetUserActor(LegoPathActor* p_userActor);
|
|
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction);
|
|
void DeleteAction();
|
|
LegoWorld* FindWorld(const MxAtomId& p_atom, MxS32 p_entityid);
|
|
MxDSAction& GetCurrentAction();
|
|
void SetCurrentWorld(LegoWorld* p_world);
|
|
LEGO1_EXPORT MxTransitionManager* TransitionManager();
|
|
void PlayMusic(JukeboxScript::Script p_objectId);
|
|
void SetIsWorldActive(MxBool p_isWorldActive);
|
|
void DeleteObjects(MxAtomId* p_id, MxS32 p_first, MxS32 p_last);
|
|
|
|
#endif // MISC_H
|