1
This commit is contained in:
parent
5b7c161750
commit
968587770e
@ -11,3 +11,15 @@ void LispEnv::UnInit()
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::shared_ptr<a8::lisp::Value> LispEnv::CompileSkillNumberExpr(const std::string& script)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float LispEnv::EvalSkillNumberExpr(std::shared_ptr<a8::lisp::Value> expr,
|
||||||
|
Creature* c,
|
||||||
|
const mt::Skill* skill_meta)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#include <a8/singleton.h>
|
#include <a8/singleton.h>
|
||||||
#include <a8/lisp.h>
|
#include <a8/lisp.h>
|
||||||
|
|
||||||
|
class Creature;
|
||||||
class LispEnv : public a8::Singleton<LispEnv>
|
class LispEnv : public a8::Singleton<LispEnv>
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -15,7 +16,10 @@ class LispEnv : public a8::Singleton<LispEnv>
|
|||||||
void Init();
|
void Init();
|
||||||
void UnInit();
|
void UnInit();
|
||||||
|
|
||||||
std::shared_ptr<a8::lisp::GlobalScope> GetSkillEnv() { return skill_env_; };
|
std::shared_ptr<a8::lisp::Value> CompileSkillNumberExpr(const std::string& script);
|
||||||
|
float EvalSkillNumberExpr(std::shared_ptr<a8::lisp::Value> expr,
|
||||||
|
Creature* c,
|
||||||
|
const mt::Skill* skill_meta);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user