| Category |
Points |
Min |
Max |
InitBuf
-
Initializes ScreenBuffer to black.
-
Initializes ZBuffer to depth of 255.
|
|
0 |
5 |
DrawScreen
-
Transfers the contents of ScreenBuffer to the Video Ram.
-
Writes directly to the Video Ram.
|
|
0 |
5 |
DrawPoint
-
Draws a point at coordinates (X,Y) on the Screen Buffer with color Color and
puts depth of point into ZBuffer.
|
|
0 |
5 |
DrawRect
-
Draws a rectangle with the upper-left corner at (X,Y) and specified color
into ScreenBuffer.
-
Updates the depth in the ZBuffer.
|
 
|
0 |
5 |
LoadPCX
-
Loads and decodes a 320x200 PCX file and sets the palette.
|
|
0 |
5 |
DrawText
-
Draws a text string into the ScreenBuffer with starting coordinates (X,Y) and updates
the ZBuffer with the new depth.
|
|
0 |
10 |
DrawTriangle
-
Draws a triange with color Color into the ScreenBuffer and correct depth
into the ZBuffer.
|
|
0 |
15 |
Benchmark Performance
0 pts : Running time of code is greater than or equal to library code.
2 pts : Running time of your code is less than running time of library.
4 pts : Running time of your code completes in less than 90% of the library code's run time.
5 pts : Running time of your code is fastest in the class.
|
|
0 |
5 |
Penalty
After 5pm. Wed 11/11/98: -10 pts/weekday |
|
-50 |
0 |
| Functionality SubTotal |
|
0 |
50 |
Comments (* percentage of code written)
-
Clear and precise line & procedure comments
(describes all major routines): -0
-
Sports Announcer comments (line-by-line): -1
-
Unclear comments: -1
-
Sparse comments: -3
|
|
-5 |
0 |
Technique & Style (* percentage of code written)
-
Compact and Efficient code: -0
-
Contains repeated code: -3
-
Makes poor use of registers and/or variables: -2
|
|
-5 |
0 |
I/O Specs & Modularity (* percentage of code written)
-
Violates specifications for given subroutines: -2
-
Does not use subroutines to perform the same function: -3
|
|
-5 |
0 |
| Total |
|
0 |
55 |