X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=doc%2FARCHITECTURE.txt;h=807c5fbee9dbd1e229ee80f02c876732858ab75f;hb=26a3f0413e699fd4c0e10f88d2696cad9e051c07;hp=b3501511cfae67410df480759e9079ef8a985886;hpb=efe073ca460ec29111cf35dfb760016bea4a7dc5;p=brisk.git diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index b350151..807c5fb 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -17,3 +17,14 @@ index.php: --- CLI ------------ POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) + + +===== Game Lifecycle ===== + +-> bin5/index_wr.php + argz[0] == 'logout' + - bri->table_wakeup($user) + - set users subst to "shutdowner" and "shutdowned" + - save this: "gst.st_loc++; the_end=true; window.onbeforeunload = null; \ + window.onunload = null; document.location.assign("../index.php");" + in user->comm var for client xhr + - set $bri->the_end = TRUE