Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

//========= Copyright <EFBFBD> 1996-2005, Valve Corporation, All rights reserved. ============//
5 years ago
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef SCENEIMAGE_H
#define SCENEIMAGE_H
#ifdef _WIN32
#pragma once
#endif
class ISceneTokenProcessor;
class ISceneCompileStatus
{
public:
virtual void UpdateStatus( char const *pchSceneName, bool bQuiet, int nIndex, int nCount ) = 0;
};
class CUtlBuffer;
class CUtlString;
5 years ago
class ISceneImage
{
public:
virtual bool CreateSceneImageFile( CUtlBuffer &targetBuffer, char const *pchModPath, bool bLittleEndian, bool bQuiet, ISceneCompileStatus *Status ) = 0;
// This will update the scenes.image file, or create a new one if it doesn't exist.
// The caller should pass in the existing .image file in targetBuffer!!!
virtual bool UpdateSceneImageFile( CUtlBuffer &targetBuffer, char const *pchModPath, bool bLittleEndian, bool bQuiet, ISceneCompileStatus *Status, CUtlString *pFilesToUpdate, int nUpdateCount ) = 0;
5 years ago
};
extern ISceneImage *g_pSceneImage;
extern ISceneTokenProcessor *tokenprocessor;
#endif // SCENEIMAGE_H