CPW-Engine_main

toc
 * Home * Engines * CPW-Engine * main**

The main part of the engine.

=Code=

header
code format="cpp" enum etask { TASK_NOTHING, TASK_SEARCH } extern task; code

int main
code format="cpp" int main {

com_init;

while(1) {

if (task == TASK_NOTHING) { com; } else { root; task = TASK_NOTHING; }

}

return 0; } code

External calls:
 * com;
 * root;

=What links here?= include page="CPW-Engine_main" component="backlinks" limit="10"
 * Up one Level**