70 lines
1.4 KiB
C++
70 lines
1.4 KiB
C++
|
/*=========================================================================
|
||
|
|
||
|
function.cpp
|
||
|
|
||
|
Author: PKG
|
||
|
Created:
|
||
|
Project: Spongebob
|
||
|
Purpose:
|
||
|
|
||
|
Copyright (c) 2000 Climax Development Ltd
|
||
|
|
||
|
===========================================================================*/
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Includes
|
||
|
-------- */
|
||
|
|
||
|
#include "script\function.h"
|
||
|
|
||
|
#ifndef __SYSTEM_DBG_H__
|
||
|
#include "system\dbg.h"
|
||
|
#endif
|
||
|
|
||
|
|
||
|
/* Std Lib
|
||
|
------- */
|
||
|
|
||
|
/* Data
|
||
|
---- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Tyepdefs && Defines
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Structure defintions
|
||
|
-------------------- */
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
signed short (*m_func)(signed short *_args);
|
||
|
int m_argCount;
|
||
|
} FunctionDef;
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Function Prototypes
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Vars
|
||
|
---- */
|
||
|
|
||
|
static FunctionDef s_functionDefs[]=
|
||
|
{
|
||
|
};
|
||
|
static int s_numFunctionDefs=sizeof(s_functionDefs)/sizeof(FunctionDef);
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Function:
|
||
|
Purpose:
|
||
|
Params:
|
||
|
Returns:
|
||
|
---------------------------------------------------------------------- */
|
||
|
|
||
|
/*===========================================================================
|
||
|
end */
|