comparison scn2k/scn2k_text.cc @ 59:36d92d21300f

Implemented sin opcode
author Thibaut GIRKA <thib@sitedethib.com>
date Fri, 18 Dec 2009 18:51:44 +0100
parents 0aaa5bb3dde5
children 4416cfac86ae
comparison
equal deleted inserted replaced
58:0aaa5bb3dde5 59:36d92d21300f
150 RegisterCommand(1, 4, 3009, "load", (CmdImpl) &Text::impl_load); 150 RegisterCommand(1, 4, 3009, "load", (CmdImpl) &Text::impl_load);
151 151
152 RegisterCommand(1, 4, 500, "InitFrame", (CmdImpl) &Text::impl_InitFrame); 152 RegisterCommand(1, 4, 500, "InitFrame", (CmdImpl) &Text::impl_InitFrame);
153 RegisterCommand(1, 4, 510, "ReadFrame", (CmdImpl) &Text::impl_ReadFrame); 153 RegisterCommand(1, 4, 510, "ReadFrame", (CmdImpl) &Text::impl_ReadFrame);
154 RegisterCommand(1, 4, 620, "InitExFrames", (CmdImpl) &Text::impl_InitFrames); 154 RegisterCommand(1, 4, 620, "InitExFrames", (CmdImpl) &Text::impl_InitFrames);
155 RegisterCommand(1, 4, 624, "InitExFramesDecel", NULL); 155 RegisterCommand(1, 4, 624, "InitExFramesDecel", (CmdImpl) &Text::impl_InitFrames);
156 RegisterCommand(1, 4, 630, "ReadExFrames", (CmdImpl) &Text::impl_ReadFrames); 156 RegisterCommand(1, 4, 630, "ReadExFrames", (CmdImpl) &Text::impl_ReadFrames);
157 157
158 RegisterCommand(1, 4, 110, "ResetTimer", (CmdImpl) &Text::impl_ResetTimer); 158 RegisterCommand(1, 4, 110, "ResetTimer", (CmdImpl) &Text::impl_ResetTimer);
159 RegisterCommand(1, 4, 120, "ResetExTimer", (CmdImpl) &Text::impl_ResetTimer); 159 RegisterCommand(1, 4, 120, "ResetExTimer", (CmdImpl) &Text::impl_ResetTimer);
160 RegisterCommand(1, 4, 114, "Timer", (CmdImpl) &Text::impl_Timer); 160 RegisterCommand(1, 4, 114, "Timer", (CmdImpl) &Text::impl_Timer);
162 RegisterCommand(1, 4, 800, "index_series", (CmdImpl) &Text::impl_index_series); 162 RegisterCommand(1, 4, 800, "index_series", (CmdImpl) &Text::impl_index_series);
163 163
164 RegisterCommand(1, 4, 1000, "rnd", (CmdImpl) &Text::impl_rnd); 164 RegisterCommand(1, 4, 1000, "rnd", (CmdImpl) &Text::impl_rnd);
165 RegisterCommand(1, 4, 1001, "pcnt", (CmdImpl) &Text::impl_pcnt); 165 RegisterCommand(1, 4, 1001, "pcnt", (CmdImpl) &Text::impl_pcnt);
166 RegisterCommand(1, 4, 1002, "abs", (CmdImpl) &Text::impl_abs); 166 RegisterCommand(1, 4, 1002, "abs", (CmdImpl) &Text::impl_abs);
167 RegisterCommand(1, 4, 1003, "power", NULL); 167 RegisterCommand(1, 4, 1003, "power", (CmdImpl) &Text::impl_power);
168 RegisterCommand(1, 4, 1004, "sin", NULL); 168 RegisterCommand(1, 4, 1004, "sin", (CmdImpl) &Text::impl_sin);
169 RegisterCommand(1, 4, 1007, "min", (CmdImpl) &Text::impl_min); 169 RegisterCommand(1, 4, 1007, "min", (CmdImpl) &Text::impl_min);
170 RegisterCommand(1, 4, 1008, "max", (CmdImpl) &Text::impl_max); 170 RegisterCommand(1, 4, 1008, "max", (CmdImpl) &Text::impl_max);
171 RegisterCommand(1, 4, 1009, "constrain", (CmdImpl) &Text::impl_constrain); 171 RegisterCommand(1, 4, 1009, "constrain", (CmdImpl) &Text::impl_constrain);
172 } 172 }
173 173