CPW-Engine main

Home * Engines * CPW-Engine * main

The main routine of the engine.

=Code=

Header
enum etask { TASK_NOTHING, TASK_SEARCH } extern task;

int main
int main { com_init;

while (1) { if (task == TASK_NOTHING) { com; }   else { root; task = TASK_NOTHING; } }  return 0; }

=External Calls=
 * com;
 * root;

Up one Level