Initial Prey Game integration support.

This commit is contained in:
Justin Marshall
2026-05-05 15:01:01 -07:00
parent a6c6f1ed26
commit 8d5f678b25
552 changed files with 265551 additions and 209 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef __HH_SCRIPT_THREAD_H__
#define __HH_SCRIPT_THREAD_H__
class hhThread : public idThread {
CLASS_PROTOTYPE( hhThread );
public:
hhThread();
hhThread( idEntity *self, const function_t *func );
hhThread( const function_t *func );
hhThread( idInterpreter *source, const function_t *func, int args );
void PushString( const char *text );
void PushFloat( float value );
void PushInt( int value );
void PushVector( const idVec3 &vec );
void PushEntity( const idEntity *ent );
void ClearStack();
bool ParseAndPushArgsOntoStack( const idCmdArgs& args, const function_t* function );
bool ParseAndPushArgsOntoStack( const idList<idStr>& args, const function_t* function );
protected:
void PushParm( int value );
};
#endif