mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
574a9dc6f1
* Implement some MxStreamer stuff * Implement/match MxVideoManager::Tickle (#128) * Implement/match MxPresenter::StartAction * Update mxpoint32.h * Implement/match MxVideoManager::Tickle * Update mxlist.h * Update mxpresenter.cpp * MxFlcPresenter ctor/dtor (#132) * MxFlcPresenter ctor/dtor * Match constructor --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * LegoOmni::CreateStreamObject and related (#129) * LegoOmni::CreateStreamObject and related * Revert change to MxDSSource/MxDSFile Read export * Bootstrap MxDSMultiAction (#133) * Bootstrap MxDSMultiAction * Move destroy function to list class * Fix unk14 call * Quick patch for EqualsDataProduct (#134) * MxLong Tickle() -> MxResult Tickle() (#135) * MxLong Tickle() -> MxResult Tickle() * Remove garbage * Fix implementations * PresenterNameDispatch (#137) * PresenterNameDispatch * Use reference for PresenterNameDispatch param - fix or add const markers so we can use a const reference * Implement/match remaining MxDSMultiAction functions (#136) * Implement/match MxDSMultiAction::Deserialize * Implement remaining functions of MxDSMultiAction * Remove space * Implement/match MxDSParallelAction (#138) * Implement/match MxDSParallelAction * Fix type * Remove space * Add neccessary MxDSMultiAction functions * Implement/match MxDSSerialAction (#139) * Implement/match MxDSSerialAction * Add neccessary MxDSMultiAction functions * Fix LegoOmni vtable (#140) * matched GetOpenStream * matched MakeSourceName * add MxDSBuffer stub * add MxRAMStreamController stub * add stubbed functions for MxStreamController used by MxStreamer * implement AddStreamControllerToOpenList * implement most of MxStreamer::Open * add note for MxStreamerSubclass1 * fix compiler issue * implement MxStreamer::Notify --------- Co-authored-by: Christian Semmler <mail@csemmler.com> Co-authored-by: Joshua Peisach <itzswirlz2020@outlook.com> Co-authored-by: MS <disinvite@users.noreply.github.com>
43 lines
782 B
C++
43 lines
782 B
C++
#ifndef MXATOMID_H
|
|
#define MXATOMID_H
|
|
|
|
#include "mxtypes.h"
|
|
#include "mxatomidcounter.h"
|
|
|
|
enum LookupMode
|
|
{
|
|
LookupMode_Exact = 0,
|
|
LookupMode_LowerCase = 1,
|
|
LookupMode_UpperCase = 2,
|
|
LookupMode_LowerCase2 = 3
|
|
};
|
|
|
|
class MxAtomId
|
|
{
|
|
public:
|
|
__declspec(dllexport) MxAtomId(const char *, LookupMode);
|
|
__declspec(dllexport) MxAtomId &operator=(const MxAtomId &id);
|
|
__declspec(dllexport) ~MxAtomId();
|
|
|
|
MxAtomId()
|
|
{
|
|
this->m_internal = 0;
|
|
}
|
|
|
|
inline MxBool operator ==(const MxAtomId &other) const
|
|
{
|
|
return this->m_internal == other.m_internal;
|
|
}
|
|
|
|
void Clear();
|
|
|
|
const char *GetInternal() const { return m_internal; }
|
|
|
|
private:
|
|
MxAtomIdCounter* GetCounter(const char *, LookupMode);
|
|
void Destroy();
|
|
|
|
const char *m_internal;
|
|
};
|
|
|
|
#endif // MXATOMID_H
|