mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Moved every pattern to IDetour interface. This allows for debugging patterns scans more easily, and create threads during pattern searching (Operation is now fired in APIENTRY). Also cleaned up some unused code/extraneous comments. Slightly increased performance by purging duplicate patterns. Made variable search less dependent from other results (except if pattern-to-scan results is within the same header)
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ========//
|
||
//
|
||
// Purpose: engine/launcher interface
|
||
//
|
||
// $NoKeywords: $
|
||
//=============================================================================//
|
||
|
||
#include "appframework/iappsystem.h"
|
||
|
||
//-----------------------------------------------------------------------------
|
||
// Return values from the initialization stage of the application framework
|
||
//-----------------------------------------------------------------------------
|
||
enum
|
||
{
|
||
INIT_RESTART = INIT_LAST_VAL,
|
||
RUN_FIRST_VAL,
|
||
};
|
||
|
||
|
||
//-----------------------------------------------------------------------------
|
||
// Return values from IEngineAPI::Run.
|
||
//-----------------------------------------------------------------------------
|
||
enum
|
||
{
|
||
RUN_OK = RUN_FIRST_VAL,
|
||
RUN_RESTART,
|
||
};
|
||
|
||
|
||
//-----------------------------------------------------------------------------
|
||
// Main engine interface to launcher + tools
|
||
//-----------------------------------------------------------------------------
|
||
#define VENGINE_LAUNCHER_API_VERSION "VENGINE_LAUNCHER_API_VERSION004"
|
||
|
||
// NOTE: _purecall IEngineAPI vtable
|