# HG changeset patch # User saiam # Date 1226087883 0 # Node ID 9eaf15ab8267e383fd998bbcadf0237490936cfb # Parent f5458794086118eefa504b8dac92ff909cbb64fb Lollespolles, ne oli sit t??ll? diff -r f54587940861 -r 9eaf15ab8267 plan/diagram.dot --- a/plan/diagram.dot Fri Nov 07 19:40:30 2008 +0000 +++ b/plan/diagram.dot Fri Nov 07 19:58:03 2008 +0000 @@ -5,10 +5,9 @@ gs [label="Game State"]; client [label="Client"]; server [label="Server"]; - interpolation [label="Interpolation"]; physics [label="Physics"]; graphics [label="Graphics"]; - +// internet [label="Teh Internets", shape=polygon]; subgraph cluster0 { label = "Network"; @@ -20,24 +19,22 @@ subgraph cluster1 { label = "Game Engine"; - {rank=min; gs; physics; interpolation; } + {rank=min; gs; physics; } gs; physics; - interpolation; color = black; } {rank=sink; input; graphics;} + // client->server [dir=both]; client->server; server->client; gs->physics; - physics->interpolation; + physics->graphics [ltail=cluster1]; + input->gs [lhead=cluster1]; +// client->internet [ltail=cluster0]; +// internet->server [lhead=cluster0]; - input->interpolation; - input->client; - interpolation->graphics; - - server->gs; - gs->client; + gs->server [lhead=cluster0,dir=both]; } diff -r f54587940861 -r 9eaf15ab8267 plan/diagram.png Binary file plan/diagram.png has changed diff -r f54587940861 -r 9eaf15ab8267 plan/test.ps --- a/plan/test.ps Fri Nov 07 19:40:30 2008 +0000 +++ b/plan/test.ps Fri Nov 07 19:58:03 2008 +0000 @@ -179,262 +179,224 @@ %%EndSetup setupLatin1 %%Page: 1 1 -%%PageBoundingBox: 36 36 336 392 +%%PageBoundingBox: 36 36 328 338 %%PageOrientation: Portrait 0 0 1 beginpage gsave -36 36 300 356 boxprim clip newpath +36 36 292 302 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % cluster0 gsave 1 setlinewidth 0.000 0.000 0.000 graphcolor -newpath 57 16 moveto -57 147 lineto -145 147 lineto -145 16 lineto +newpath 53 155 moveto +53 286 lineto +141 286 lineto +141 155 lineto closepath stroke 0.000 0.000 0.000 graphcolor 14 /Times-Roman set_font -77 130.9 moveto 48 (Network) alignedtext +73 269.9 moveto 48 (Network) alignedtext grestore % cluster1 gsave 1 setlinewidth 0.000 0.000 0.000 graphcolor -newpath 32 155 moveto -32 340 lineto -170 340 lineto -170 155 lineto +newpath 32 16 moveto +32 147 lineto +162 147 lineto +162 16 lineto closepath stroke 0.000 0.000 0.000 graphcolor 14 /Times-Roman set_font -64 323.9 moveto 74 (Game Engine) alignedtext +60 130.9 moveto 74 (Game Engine) alignedtext grestore % gs gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -101 181 55.79 18 ellipse_path stroke +97 42 55.79 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -68.5 176.9 moveto 65 (Game State) alignedtext +64.5 37.9 moveto 65 (Game State) alignedtext grestore -% client +% server gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -101 96 32.86 18 ellipse_path stroke +97 181 36.13 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -85 91.9 moveto 32 (Client) alignedtext +79 176.9 moveto 36 (Server) alignedtext +grestore +% gs->server +gsave +1 setlinewidth +0.000 0.000 0.000 edgecolor +newpath 40 56 moveto +30 61 20 68 14 78 curveto +0 102 0 117 14 142 curveto +21 153 32 161 44 167 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 41.28 59.26 moveto +49 52 lineto +38.44 52.86 lineto +closepath fill +1 setlinewidth +solid +0.000 0.000 0.000 edgecolor +newpath 41.28 59.26 moveto +49 52 lineto +38.44 52.86 lineto +closepath stroke +0.000 0.000 0.000 edgecolor +newpath 42.44 170.14 moveto +53 171 lineto +45.28 163.74 lineto +closepath fill +1 setlinewidth +solid +0.000 0.000 0.000 edgecolor +newpath 42.44 170.14 moveto +53 171 lineto +45.28 163.74 lineto +closepath stroke grestore % physics gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -101 235 41.19 18 ellipse_path stroke +97 96 41.19 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -79 230.9 moveto 44 (Physics) alignedtext +75 91.9 moveto 44 (Physics) alignedtext grestore % gs->physics gsave 1 setlinewidth 0.000 0.000 0.000 edgecolor -newpath 101 199 moveto -101 202 101 204 101 207 curveto +newpath 97 60 moveto +97 63 97 65 97 68 curveto stroke 0.000 0.000 0.000 edgecolor -newpath 97.5 207 moveto -101 217 lineto -104.5 207 lineto +newpath 93.5 68 moveto +97 78 lineto +100.5 68 lineto closepath fill 1 setlinewidth solid 0.000 0.000 0.000 edgecolor -newpath 97.5 207 moveto -101 217 lineto -104.5 207 lineto +newpath 93.5 68 moveto +97 78 lineto +100.5 68 lineto closepath stroke grestore -% server +% client gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -101 42 36.13 18 ellipse_path stroke +97 235 32.86 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -83 37.9 moveto 36 (Server) alignedtext +81 230.9 moveto 32 (Client) alignedtext grestore % client->server gsave 1 setlinewidth 0.000 0.000 0.000 edgecolor -newpath 122 82 moveto -127 76 129 71 128 66 curveto +newpath 118 221 moveto +123 215 125 210 124 205 curveto stroke 0.000 0.000 0.000 edgecolor -newpath 130.46 63.38 moveto -122 57 lineto -124.63 67.26 lineto +newpath 126.46 202.38 moveto +118 196 lineto +120.63 206.26 lineto closepath fill 1 setlinewidth solid 0.000 0.000 0.000 edgecolor -newpath 130.46 63.38 moveto -122 57 lineto -124.63 67.26 lineto -closepath stroke -grestore -% server->gs -gsave -1 setlinewidth -0.000 0.000 0.000 edgecolor -newpath 66 47 moveto -47 51 25 60 14 78 curveto -0 103 0 118 14 142 curveto -21 153 33 161 45 167 curveto -stroke -0.000 0.000 0.000 edgecolor -newpath 43.44 170.14 moveto -54 171 lineto -46.28 163.74 lineto -closepath fill -1 setlinewidth -solid -0.000 0.000 0.000 edgecolor -newpath 43.44 170.14 moveto -54 171 lineto -46.28 163.74 lineto +newpath 126.46 202.38 moveto +118 196 lineto +120.63 206.26 lineto closepath stroke grestore % server->client gsave 1 setlinewidth 0.000 0.000 0.000 edgecolor -newpath 80 57 moveto -75 62 73 68 75 73 curveto +newpath 76 196 moveto +71 201 69 207 71 212 curveto stroke 0.000 0.000 0.000 edgecolor -newpath 72.08 74.96 moveto -80 82 lineto -78.2 71.56 lineto +newpath 68.08 213.96 moveto +76 221 lineto +74.2 210.56 lineto closepath fill 1 setlinewidth solid 0.000 0.000 0.000 edgecolor -newpath 72.08 74.96 moveto -80 82 lineto -78.2 71.56 lineto +newpath 68.08 213.96 moveto +76 221 lineto +74.2 210.56 lineto closepath stroke grestore -% interpolation -gsave -1 setlinewidth -0.000 0.000 0.000 nodecolor -101 289 59.96 18 ellipse_path stroke -0.000 0.000 0.000 nodecolor -14 /Times-Roman set_font -65.5 284.9 moveto 71 (Interpolation) alignedtext -grestore % graphics gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -245 289 46.06 18 ellipse_path stroke +237 96 46.06 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -219.5 284.9 moveto 51 (Graphics) alignedtext +211.5 91.9 moveto 51 (Graphics) alignedtext grestore -% interpolation->graphics +% physics->graphics gsave 1 setlinewidth 0.000 0.000 0.000 edgecolor -newpath 162 289 moveto -170 289 179 289 188 289 curveto +newpath 162 96 moveto +168 96 174 96 180 96 curveto stroke 0.000 0.000 0.000 edgecolor -newpath 188 292.5 moveto -198 289 lineto -188 285.5 lineto +newpath 180 99.5 moveto +190 96 lineto +180 92.5 lineto closepath fill 1 setlinewidth solid 0.000 0.000 0.000 edgecolor -newpath 188 292.5 moveto -198 289 lineto -188 285.5 lineto -closepath stroke -grestore -% physics->interpolation -gsave -1 setlinewidth -0.000 0.000 0.000 edgecolor -newpath 101 253 moveto -101 256 101 258 101 261 curveto -stroke -0.000 0.000 0.000 edgecolor -newpath 97.5 261 moveto -101 271 lineto -104.5 261 lineto -closepath fill -1 setlinewidth -solid -0.000 0.000 0.000 edgecolor -newpath 97.5 261 moveto -101 271 lineto -104.5 261 lineto +newpath 180 99.5 moveto +190 96 lineto +180 92.5 lineto closepath stroke grestore % input gsave 1 setlinewidth 0.000 0.000 0.000 nodecolor -245 166 30.07 18 ellipse_path stroke +237 42 30.07 18 ellipse_path stroke 0.000 0.000 0.000 nodecolor 14 /Times-Roman set_font -231 161.9 moveto 28 (input) alignedtext +223 37.9 moveto 28 (input) alignedtext grestore -% input->client +% input->gs gsave 1 setlinewidth 0.000 0.000 0.000 edgecolor -newpath 221 154 moveto -198 143 162 125 135 112 curveto +newpath 206 42 moveto +194 42 179 42 164 42 curveto stroke 0.000 0.000 0.000 edgecolor -newpath 136.56 108.86 moveto -126 108 lineto -133.72 115.26 lineto +newpath 172 38.5 moveto +162 42 lineto +172 45.5 lineto closepath fill 1 setlinewidth solid 0.000 0.000 0.000 edgecolor -newpath 136.56 108.86 moveto -126 108 lineto -133.72 115.26 lineto -closepath stroke -grestore -% input->interpolation -gsave -1 setlinewidth -0.000 0.000 0.000 edgecolor -newpath 235 183 moveto -223 205 199 240 170 262 curveto -165 266 159 269 153 272 curveto -stroke -0.000 0.000 0.000 edgecolor -newpath 151.72 268.74 moveto -144 276 lineto -154.56 275.14 lineto -closepath fill -1 setlinewidth -solid -0.000 0.000 0.000 edgecolor -newpath 151.72 268.74 moveto -144 276 lineto -154.56 275.14 lineto +newpath 172 38.5 moveto +162 42 lineto +172 45.5 lineto closepath stroke grestore endpage @@ -444,7 +406,7 @@ %%EndPage: 1 %%Trailer %%Pages: 1 -%%BoundingBox: 36 36 336 392 +%%BoundingBox: 36 36 328 338 end restore %%EOF