uc_tokens.h

来自「这是一段游戏修改工具的源代码.ring3功能由dephi开发,驱动是C开发.希望」· C头文件 代码 · 共 34 行

H
34
字号
// input.h

#ifndef __UC_TOKENS_H
#define __UC_TOKENS_H

#include "tokens.h"
typedef int (*RESTOREFN)();

class UCTokenStream: public TokenStream {
private:
    RESTOREFN m_restore, m_openfn; 
    string m_original_file;
public:
    UCTokenStream(char *file) : TokenStream(file), m_restore(NULL),m_openfn(NULL) {}
    static void init();
    bool next_two(char *ts, bool skip = true);
    void set_restore_op(RESTOREFN fn);
    void set_open_op(RESTOREFN fn);
// overrides!
    bool user_cmd(string ppd);
    void do_prompt();
    void on_hash_cmd();
    void handle_builtin_macro(char *tbuff, int id);
    void on_open();
    void on_restore();
    void on_clear(const string& filename, int line);
    void on_add_macro(char *name, PMEntry pme);
    void on_error(const char *msg, bool is_error);
	bool is_interactive_mode();
    int  eval_const_expr(const char* msg);
};
#endif

⌨️ 快捷键说明

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