mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-25 17:34:05 +00:00 
			
		
		
		
	 5f413165cc
			
		
	
	5f413165cc
	
	
	
		
			
			* cmake: use imported targets for 3rd party libs * Fix casing of skateboard.h include * cmake: tglrl realtime viewmanager mxgeometry * cmake: spin off some source in static libraries * dx5 for everyone * ci: bump actions/checkout to v4 * move LEGO1/realtime/realtimeview.cpp to lego1 because it exports symbols * add misc library * Add omni library * Return of the .def's * Remove COMPAT_CONST in MxVideoParam::MxVideoParam * Run clang-format * move LEGO1/realtime/realtimeview.cpp to realtime lib * Add 3dmanager library * Rename .def files * Remove incorrect deps to Omni * Remove DLL expor decls * Remove unnecessary library dep from ROI * Remove COMPAT_CONST * Move 3dmanager lib before Omni * Remove mxgeometry lib (`geom` is actually `lego/sources/geom`, which we don't have in our decomp yet) * viewmanager has a dependency on realtime + fix mingw's def * Remove Smacker::Smacker from lego1 link libraries --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef MXCRITICALSECTION_H
 | |
| #define MXCRITICALSECTION_H
 | |
| 
 | |
| #include <windows.h>
 | |
| 
 | |
| // SIZE 0x1c
 | |
| class MxCriticalSection {
 | |
| public:
 | |
| 	MxCriticalSection();
 | |
| 	~MxCriticalSection();
 | |
| 	static void SetDoMutex();
 | |
| 	void Enter();
 | |
| 	void Leave();
 | |
| 
 | |
| private:
 | |
| 	CRITICAL_SECTION m_criticalSection; // 0x00
 | |
| 	HANDLE m_mutex;                     // 0x18
 | |
| };
 | |
| 
 | |
| #endif // MXCRITICALSECTION_H
 |