| 
                Last change
                  on this file since 689 was
                  683,
                  checked in by guerin, 10 years ago
           | 
        
        
          | 
               
raycast: initial distributed implementation 
 
The main task runs on processor (0,0,0). It manages game logic and 
initialization, and participates in the rendering process. 
The render task runs on all other processors. It tries to render a frame 
slice when available, which is raycasting + pixel drawing for a pixel 
column of the frame. 
 
           | 
        
        | 
            File size:
            153 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #ifndef __DISP_H | 
|---|
| 2 | #define __DISP_H | 
|---|
| 3 |  | 
|---|
| 4 | #include "game.h" | 
|---|
| 5 |  | 
|---|
| 6 | void dispInit(); | 
|---|
| 7 | int dispRenderSlice(Game *game); | 
|---|
| 8 | void dispRender(Game *game); | 
|---|
| 9 |  | 
|---|
| 10 | #endif // __DISP_H | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.