TempleOSCD_140715.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:09 +02:00
1 parent 7ef616a20e
commit 64f679eeb9
1095 files changed
+24814 -221011

No files matched your search

+9 -8
View File
@@ -1,10 +1,11 @@
//The HOME/Registry.CPP.Z file is HolyC code.
//You can execute a branch of it. The Adam
//branch is executed in the Adam task boot phase.
//Normally, you will place var declarations
//in the branch you make, but since an arthmetic expression
//is valid in HolyC you can place simple expressions
//without vars.
/*The HOME/Registry.CPP.Z file is HolyC code.
You can execute a tree branch of it. The Adam
branch is executed in the Adam task boot phase.
Normally, you will place var declarations
in the branch you make, but since an arthmetic expression
is valid in HolyC you can place simple expressions
without vars.
*/
AcctRegSetDftEntry("DemoCompany/Game1","F64 best_score=1.23;\n");
AcctRegSetDftEntry("DemoCompany/Game1/SimpleVal","1234;\n");
@@ -18,7 +19,7 @@ U0 Game()
i++;
best_score=tS;
//You could combine these into one write by making
//the $$TR$$ and $$ID,2$$, $$ID-2$$, cmds yourself.
//the $$TR...$$ and $$ID,2$$, $$ID,-2$$, cmds yourself.
AcctRegWriteBranch("DemoCompany/Game1","F64 best_score=%9.5f;\n",best_score);
AcctRegWriteBranch("DemoCompany/Game1/SimpleVal","%d;\n",i);
}