]> 4ch.mooo.com Git - 16.git/commitdiff
design ww
authorsparky4 <sparky4@cock.li>
Sun, 10 Apr 2016 20:14:11 +0000 (15:14 -0500)
committersparky4 <sparky4@cock.li>
Sun, 10 Apr 2016 20:14:11 +0000 (15:14 -0500)
design.txt
src/lib/doslib

index a7ff175facf2d5e489f701e4ac95e9076906444b..a8c4c0544fb7ae37dcc57196a13549ca6c5cf28c 100755 (executable)
@@ -57,3 +57,18 @@ be used to turn off stack checking, so no stack checking routines get called.
 00:20:21   joncampbell123 | yes.                                                                           │\r
 00:20:29   sparky4_derpy4 | scroll16 needs a bunch of work                                                 │\r
 00:20:29   joncampbell123 | the less you declare on the stack, the less stack the function needs.\r
+\r
+\r
+\r
+\r
+\r
+\r
+[15:03]        joncampbell123m Think of it this way\r
+[15:03]        joncampbell123m If something moves or changes frame\r
+[15:04]        joncampbell123m then a rectangular region around the sprite needs to be redrawn\r
+[15:05]        joncampbell123m So you collect update regions together\r
+[15:06]        joncampbell123m based on performance vs overlap\r
+[15:06]        joncampbell123m combine the rectangles together and redraw the screen they cover\r
+[15:07]        joncampbell123m the simplest way is to compute a rectangle that covers them all\r
+[15:07]        joncampbell123m then redraw that.\r
+[15:08]        joncampbell123m Then optimize the code from there how you handle it\r
index 3c110fd249406b11b5301568b7c69d961fb91e79..05fc315e3b435866873be945a61f672f62f9199d 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 3c110fd249406b11b5301568b7c69d961fb91e79
+Subproject commit 05fc315e3b435866873be945a61f672f62f9199d