2024-03-09 15:07:52 -05:00
|
|
|
#ifndef LEGOUTILS_H
|
|
|
|
#define LEGOUTILS_H
|
2023-06-19 04:34:58 -04:00
|
|
|
|
2023-09-27 15:16:46 -04:00
|
|
|
#include "extra.h"
|
2024-02-02 20:03:52 -05:00
|
|
|
#include "misc/legostorage.h"
|
|
|
|
#include "misc/legotexture.h"
|
|
|
|
#include "mxstring.h"
|
2023-12-14 11:50:29 -05:00
|
|
|
#include "mxtypes.h"
|
2024-03-09 15:07:52 -05:00
|
|
|
#include "mxutilities.h"
|
2023-09-27 15:16:46 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
#include <windows.h>
|
|
|
|
|
2024-01-08 06:45:07 -05:00
|
|
|
class MxAtomId;
|
|
|
|
class LegoEntity;
|
2024-01-26 17:52:03 -05:00
|
|
|
class LegoAnimPresenter;
|
2024-03-09 10:49:13 -05:00
|
|
|
class LegoNamedTexture;
|
2024-02-02 20:03:52 -05:00
|
|
|
|
2024-01-26 17:52:03 -05:00
|
|
|
void FUN_1003e050(LegoAnimPresenter* p_presenter);
|
2024-01-17 11:53:53 -05:00
|
|
|
Extra::ActionType MatchActionString(const char*);
|
2024-03-16 14:20:44 -04:00
|
|
|
void InvokeAction(Extra::ActionType p_actionId, MxAtomId& p_pAtom, MxS32 p_targetEntityId, LegoEntity* p_sender);
|
2024-02-24 08:55:00 -05:00
|
|
|
void SetCameraControllerFromIsle();
|
2023-12-13 05:48:14 -05:00
|
|
|
void ConvertHSVToRGB(float p_h, float p_s, float p_v, float* p_rOut, float* p_bOut, float* p_gOut);
|
2024-03-19 16:07:07 -04:00
|
|
|
MxBool RemoveFromCurrentWorld(MxAtomId& p_atomId, MxS32 p_id);
|
2023-12-15 18:11:34 -05:00
|
|
|
void FUN_1003ef00(MxBool);
|
2023-09-29 12:42:15 -04:00
|
|
|
void SetAppCursor(WPARAM p_wparam);
|
2023-12-14 11:50:29 -05:00
|
|
|
MxBool FUN_1003ef60();
|
2024-01-31 07:34:36 -05:00
|
|
|
MxBool RemoveFromWorld(MxAtomId& p_atomId1, MxS32 p_id1, MxAtomId& p_atomId2, MxS32 p_id2);
|
2024-03-18 12:31:22 -04:00
|
|
|
MxS32 FUN_1003f050(MxS32);
|
2024-02-27 15:04:17 -05:00
|
|
|
void SetLightPosition(MxU32);
|
2024-03-09 10:49:13 -05:00
|
|
|
LegoNamedTexture* ReadNamedTexture(LegoFile* p_file);
|
2024-02-02 20:03:52 -05:00
|
|
|
void FUN_1003f540(LegoFile* p_file, const char* p_filename);
|
2024-03-09 10:49:13 -05:00
|
|
|
void WriteNamedTexture(LegoFile* p_file, LegoNamedTexture* p_texture);
|
2024-02-02 20:03:52 -05:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x10034b40
|
|
|
|
// LegoTexture::`scalar deleting destructor'
|
2023-06-30 19:33:59 -04:00
|
|
|
|
2024-03-09 15:07:52 -05:00
|
|
|
#endif // LEGOUTILS_H
|