Fixed diagram (it's sooo cool) :P
authorsaiam
Wed, 05 Nov 2008 21:22:15 +0000
changeset 11 75d873305ef3
parent 10 78d81d5c2d61
child 12 9b51949fdca6
Fixed diagram (it's sooo cool) :P
plan/diagram.dot
plan/test.ps
--- a/plan/diagram.dot	Wed Nov 05 20:58:04 2008 +0000
+++ b/plan/diagram.dot	Wed Nov 05 21:22:15 2008 +0000
@@ -2,6 +2,14 @@
     compound=true;
     rankdir=LR;
 
+    gs [label="Game State"];    
+    client [label="Client"];
+    server [label="Server"];
+    interpolation [label="Interpolation"];
+    physics [label="Physics"];
+    graphics [label="Graphics"];
+    
+
     subgraph cluster0 {
         label = "Network";
 	{rank=source; client; server;}
--- a/plan/test.ps	Wed Nov 05 20:58:04 2008 +0000
+++ b/plan/test.ps	Wed Nov 05 21:22:15 2008 +0000
@@ -179,283 +179,262 @@
 %%EndSetup
 setupLatin1
 %%Page: 1 1
-%%PageBoundingBox: 36 36 332 392
+%%PageBoundingBox: 36 36 336 392
 %%PageOrientation: Portrait
 0 0 1 beginpage
 gsave
-36 36 296 356 boxprim clip newpath
+36 36 300 356 boxprim clip newpath
 1 1 set_scale 0 rotate 40 40 translate
 % cluster0
 gsave
 1 setlinewidth
 0.000 0.000 0.000 graphcolor
-newpath 62 209 moveto
-62 340 lineto
-148 340 lineto
-148 209 lineto
+newpath 57 16 moveto
+57 147 lineto
+145 147 lineto
+145 16 lineto
 closepath stroke
 0.000 0.000 0.000 graphcolor
 14 /Times-Roman set_font
-81 323.9 moveto 48 (Network) alignedtext
+77 130.9 moveto 48 (Network) alignedtext
 grestore
 % cluster1
 gsave
 1 setlinewidth
 0.000 0.000 0.000 graphcolor
-newpath 38 16 moveto
-38 201 lineto
-172 201 lineto
-172 16 lineto
+newpath 32 155 moveto
+32 340 lineto
+170 340 lineto
+170 155 lineto
 closepath stroke
 0.000 0.000 0.000 graphcolor
 14 /Times-Roman set_font
-68 184.9 moveto 74 (Game Engine) alignedtext
+64 323.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
+0.000 0.000 0.000 nodecolor
+14 /Times-Roman set_font
+68.5 176.9 moveto 65 (Game State) alignedtext
 grestore
 % client
 gsave
 1 setlinewidth
 0.000 0.000 0.000 nodecolor
-105 289 30.77 18 ellipse_path stroke
+101 96 32.86 18 ellipse_path stroke
 0.000 0.000 0.000 nodecolor
 14 /Times-Roman set_font
-90.5 284.9 moveto 29 (client) alignedtext
+85 91.9 moveto 32 (Client) alignedtext
+grestore
+% physics
+gsave
+1 setlinewidth
+0.000 0.000 0.000 nodecolor
+101 235 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
+grestore
+% gs->physics
+gsave
+1 setlinewidth
+0.000 0.000 0.000 edgecolor
+newpath 101 199 moveto
+101 202 101 204 101 207 curveto
+stroke
+0.000 0.000 0.000 edgecolor
+newpath 97.5 207 moveto
+101 217 lineto
+104.5 207 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
+closepath stroke
 grestore
 % server
 gsave
 1 setlinewidth
 0.000 0.000 0.000 nodecolor
-105 235 34.24 18 ellipse_path stroke
+101 42 36.13 18 ellipse_path stroke
 0.000 0.000 0.000 nodecolor
 14 /Times-Roman set_font
-88 230.9 moveto 34 (server) alignedtext
+83 37.9 moveto 36 (Server) alignedtext
 grestore
 % client->server
 gsave
 1 setlinewidth
 0.000 0.000 0.000 edgecolor
-newpath 125 275 moveto
-129 269 131 264 130 259 curveto
+newpath 122 82 moveto
+127 76 129 71 128 66 curveto
 stroke
 0.000 0.000 0.000 edgecolor
-newpath 132.92 257.04 moveto
-125 250 lineto
-126.8 260.44 lineto
+newpath 130.46 63.38 moveto
+122 57 lineto
+124.63 67.26 lineto
 closepath fill
 1 setlinewidth
 solid
 0.000 0.000 0.000 edgecolor
-newpath 132.92 257.04 moveto
-125 250 lineto
-126.8 260.44 lineto
+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
 closepath stroke
 grestore
 % server->client
 gsave
 1 setlinewidth
 0.000 0.000 0.000 edgecolor
-newpath 84 250 moveto
-79 255 78 261 80 266 curveto
+newpath 80 57 moveto
+75 62 73 68 75 73 curveto
 stroke
 0.000 0.000 0.000 edgecolor
-newpath 77.08 267.96 moveto
-85 275 lineto
-83.2 264.56 lineto
-closepath fill
-1 setlinewidth
-solid
-0.000 0.000 0.000 edgecolor
-newpath 77.08 267.96 moveto
-85 275 lineto
-83.2 264.56 lineto
-closepath stroke
-grestore
-% gs
-gsave
-1 setlinewidth
-0.000 0.000 0.000 nodecolor
-105 42 27 18 ellipse_path stroke
-0.000 0.000 0.000 nodecolor
-14 /Times-Roman set_font
-98.5 37.9 moveto 13 (gs) alignedtext
-grestore
-% server->gs
-gsave
-1 setlinewidth
-0.000 0.000 0.000 edgecolor
-newpath 72 229 moveto
-53 224 31 214 20 196 curveto
-7 174 7 101 20 78 curveto
-31 62 50 53 68 48 curveto
-stroke
-0.000 0.000 0.000 edgecolor
-newpath 69.43 51.23 moveto
-78 45 lineto
-67.42 44.52 lineto
+newpath 72.08 74.96 moveto
+80 82 lineto
+78.2 71.56 lineto
 closepath fill
 1 setlinewidth
 solid
 0.000 0.000 0.000 edgecolor
-newpath 69.43 51.23 moveto
-78 45 lineto
-67.42 44.52 lineto
-closepath stroke
-grestore
-% gs->client
-gsave
-1 setlinewidth
-0.000 0.000 0.000 edgecolor
-newpath 78 45 moveto
-58 50 33 59 20 78 curveto
-0 112 0 219 20 253 curveto
-30 268 48 277 64 282 curveto
-stroke
-0.000 0.000 0.000 edgecolor
-newpath 63.42 285.48 moveto
-74 285 lineto
-65.43 278.77 lineto
-closepath fill
-1 setlinewidth
-solid
-0.000 0.000 0.000 edgecolor
-newpath 63.42 285.48 moveto
-74 285 lineto
-65.43 278.77 lineto
-closepath stroke
-grestore
-% physics
-gsave
-1 setlinewidth
-0.000 0.000 0.000 nodecolor
-105 96 41 18 ellipse_path stroke
-0.000 0.000 0.000 nodecolor
-14 /Times-Roman set_font
-83.5 91.9 moveto 43 (physics) alignedtext
-grestore
-% gs->physics
-gsave
-1 setlinewidth
-0.000 0.000 0.000 edgecolor
-newpath 105 60 moveto
-105 63 105 65 105 68 curveto
-stroke
-0.000 0.000 0.000 edgecolor
-newpath 101.5 68 moveto
-105 78 lineto
-108.5 68 lineto
-closepath fill
-1 setlinewidth
-solid
-0.000 0.000 0.000 edgecolor
-newpath 101.5 68 moveto
-105 78 lineto
-108.5 68 lineto
+newpath 72.08 74.96 moveto
+80 82 lineto
+78.2 71.56 lineto
 closepath stroke
 grestore
 % interpolation
 gsave
 1 setlinewidth
 0.000 0.000 0.000 nodecolor
-105 150 59.06 18 ellipse_path stroke
+101 289 59.96 18 ellipse_path stroke
 0.000 0.000 0.000 nodecolor
 14 /Times-Roman set_font
-70.5 145.9 moveto 69 (interpolation) alignedtext
+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
+0.000 0.000 0.000 nodecolor
+14 /Times-Roman set_font
+219.5 284.9 moveto 51 (Graphics) alignedtext
+grestore
+% interpolation->graphics
+gsave
+1 setlinewidth
+0.000 0.000 0.000 edgecolor
+newpath 162 289 moveto
+170 289 179 289 188 289 curveto
+stroke
+0.000 0.000 0.000 edgecolor
+newpath 188 292.5 moveto
+198 289 lineto
+188 285.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 105 114 moveto
-105 117 105 119 105 122 curveto
+newpath 101 253 moveto
+101 256 101 258 101 261 curveto
 stroke
 0.000 0.000 0.000 edgecolor
-newpath 101.5 122 moveto
-105 132 lineto
-108.5 122 lineto
+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 101.5 122 moveto
-105 132 lineto
-108.5 122 lineto
-closepath stroke
-grestore
-% graphics
-gsave
-1 setlinewidth
-0.000 0.000 0.000 nodecolor
-244 150 43.78 18 ellipse_path stroke
-0.000 0.000 0.000 nodecolor
-14 /Times-Roman set_font
-220.5 145.9 moveto 47 (graphics) alignedtext
-grestore
-% interpolation->graphics
-gsave
-1 setlinewidth
-0.000 0.000 0.000 edgecolor
-newpath 164 150 moveto
-173 150 181 150 190 150 curveto
-stroke
-0.000 0.000 0.000 edgecolor
-newpath 190 153.5 moveto
-200 150 lineto
-190 146.5 lineto
-closepath fill
-1 setlinewidth
-solid
-0.000 0.000 0.000 edgecolor
-newpath 190 153.5 moveto
-200 150 lineto
-190 146.5 lineto
+newpath 97.5 261 moveto
+101 271 lineto
+104.5 261 lineto
 closepath stroke
 grestore
 % input
 gsave
 1 setlinewidth
 0.000 0.000 0.000 nodecolor
-244 246 30.07 18 ellipse_path stroke
+245 166 30.07 18 ellipse_path stroke
 0.000 0.000 0.000 nodecolor
 14 /Times-Roman set_font
-230 241.9 moveto 28 (input) alignedtext
+231 161.9 moveto 28 (input) alignedtext
 grestore
 % input->client
 gsave
 1 setlinewidth
 0.000 0.000 0.000 edgecolor
-newpath 217 254 moveto
-195 261 166 270 143 277 curveto
+newpath 221 154 moveto
+198 143 162 125 135 112 curveto
 stroke
 0.000 0.000 0.000 edgecolor
-newpath 141.57 273.77 moveto
-133 280 lineto
-143.58 280.48 lineto
+newpath 136.56 108.86 moveto
+126 108 lineto
+133.72 115.26 lineto
 closepath fill
 1 setlinewidth
 solid
 0.000 0.000 0.000 edgecolor
-newpath 141.57 273.77 moveto
-133 280 lineto
-143.58 280.48 lineto
+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 224 232 moveto
-201 217 164 191 137 173 curveto
+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 139.1 170.2 moveto
-129 167 lineto
-134.9 175.8 lineto
+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 139.1 170.2 moveto
-129 167 lineto
-134.9 175.8 lineto
+newpath 151.72 268.74 moveto
+144 276 lineto
+154.56 275.14 lineto
 closepath stroke
 grestore
 endpage
@@ -465,7 +444,7 @@
 %%EndPage: 1
 %%Trailer
 %%Pages: 1
-%%BoundingBox: 36 36 332 392
+%%BoundingBox: 36 36 336 392
 end
 restore
 %%EOF