TempleOSCD_150720.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:22 +02:00
1 parent 401601816c
commit f8c05f98f4
554 files changed
+26046 -24853

No files matched your search

+7 -7
View File
@@ -7,21 +7,21 @@ 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");
AcctRegExeBranch("DemoCompany/Game1");
RegSetDftEntry("DemoCompany/Game1","F64 best_score=1.23;\n");
RegSetDftEntry("DemoCompany/Game1/SimpleVal","1234;\n");
RegExeBranch("DemoCompany/Game1");
U0 Game()
{
I64 i=AcctRegExeBranch("DemoCompany/Game1/SimpleVal");
I64 i=RegExeBranch("DemoCompany/Game1/SimpleVal");
"High Score:%6.5f\n",best_score;
"Val:%d\n",i;
i++;
best_score=tS;
//You could combine these into one write by making
//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);
//the $$TR...$$ and $$ID,2$$, $$ID,-2$$, cmds yourself.
RegWriteBranch("DemoCompany/Game1","F64 best_score=%9.5f;\n",best_score);
RegWriteBranch("DemoCompany/Game1/SimpleVal","%d;\n",i);
}
Game;