⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 func_table.h

📁 < Game Script Mastery>> source code
💻 H
字号:
/*

    Project.

        XSC - The XtremeScript Compiler Version 0.8

    Abstract.

        Function table header

    Date Created.

        9.2.2002

    Author.

        Alex Varanese

*/

#ifndef XSC_FUNC_TABLE
#define XSC_FUNC_TABLE

// ---- Include Files -------------------------------------------------------------------------

    #include "xsc.h"
    
// ---- Data Structures -----------------------------------------------------------------------

    typedef struct _FuncNode                            // A function table node
    {
		int iIndex;									    // Index
        char pstrName [ MAX_IDENT_SIZE ];               // Name
        int iIsHostAPI;                                 // Is this a host API function?
        int iParamCount;                                // The number of accepted parameters
        LinkedList ICodeStream;                         // Local I-code stream
    }
        FuncNode;

// ---- Function Prototypes -------------------------------------------------------------------

    FuncNode * GetFuncByIndex ( int iIndex );
    FuncNode * GetFuncByName ( char * pstrName );
    int AddFunc ( char * pstrName, int iIsHostAPI );
    void SetFuncParamCount ( int iIndex, int iParamCount );

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -