git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6275 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
sireus
2011-04-17 17:34:49 +00:00
parent 29a9a49c9c
commit bc11c9d932
+1
View File
@@ -1054,6 +1054,7 @@ float mulf(float a, float b) { return a*b; } COMMANDN(*f, mulf, ARG
float subf(float a, float b) { return a-b; } COMMANDN(-f, subf, ARG_2EXPF);
float divf_(float a, float b) { return b ? a/b : 0; } COMMANDN(divf, divf_, ARG_2EXPF);
float modf_(float a, float b) { return b ? fmod(a, b) : 0; } COMMANDN(modf, modf_, ARG_2EXPF);
float powf_(float a, float b) { return powf(a, b); } COMMANDN(powf, powf_, ARG_2EXPF);
int not_(int a) { return (int)(!a); } COMMANDN(!, not_, ARG_1EXP);
int equal(int a, int b) { return (int)(a==b); } COMMANDN(=, equal, ARG_2EXP);
int notequal(int a, int b) { return (int)(a!=b); } COMMANDN(!=, notequal, ARG_2EXP);