Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef _RENDER_H_
  2. #define _RENDER_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. void BrDbModelRender(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen, int use_custom);
  7.  
  8. br_uint_32 BrOnScreenCheck(br_bounds3* bounds);
  9.  
  10. br_uint_16 prependActorTransform(br_actor* ap, br_uint_16 t);
  11.  
  12. br_uint_16 prependMatrix(br_matrix34* mat, br_uint_16 mat_t, br_uint_16 t);
  13.  
  14. void actorRender(br_actor* ap, br_model* model, br_material* material, void* render_data, br_uint_8 style, br_uint_16 t);
  15.  
  16. void actorRenderOnScreen(br_actor* ap, br_model* model, br_material* material, void* render_data, br_uint_8 style, br_uint_16 t);
  17.  
  18. void sceneRenderWorld(br_actor* world);
  19.  
  20. void sceneRenderAdd(br_actor* tree);
  21.  
  22. void BrDbSceneRenderBegin(br_actor* world, br_actor* camera);
  23.  
  24. br_renderbounds_cbfn* BrDbSetRenderBoundsCallback(br_renderbounds_cbfn* new_cbfn);
  25.  
  26. void SetOrigin(br_pixelmap* buffer);
  27.  
  28. void SetViewport(br_pixelmap* buffer);
  29.  
  30. void BrZbSceneRenderBegin(br_actor* world, br_actor* camera, br_pixelmap* colour_buffer, br_pixelmap* depth_buffer);
  31.  
  32. void BrZbSceneRenderAdd(br_actor* tree);
  33.  
  34. void BrZbSceneRenderEnd(void);
  35.  
  36. void BrZbSceneRender(br_actor* world, br_actor* camera, br_pixelmap* colour_buffer, br_pixelmap* depth_buffer);
  37.  
  38. void BrZsSceneRenderBegin(br_actor* world, br_actor* camera, br_pixelmap* colour_buffer);
  39.  
  40. void BrZsSceneRenderAdd(br_actor* tree);
  41.  
  42. void BrZsSceneRenderEnd(void);
  43.  
  44. void BrZsSceneRender(br_actor* world, br_actor* camera, br_pixelmap* colour_buffer);
  45.  
  46. br_primitive_cbfn* BrZsPrimitiveCallbackSet(br_primitive_cbfn* new_cbfn);
  47.  
  48. void BrZbModelRender(br_actor* actor, br_model* model, br_material* material, br_uint_8 style, int on_screen, int use_custom);
  49.  
  50. void BrZsModelRender(br_actor* actor, br_model* model, br_material* material, br_order_table* order_table, br_uint_8 style, int on_screen, int use_custom);
  51.  
  52. br_renderbounds_cbfn* BrZbRenderBoundsCallbackSet(br_renderbounds_cbfn* new_cbfn);
  53.  
  54. br_renderbounds_cbfn* BrZsRenderBoundsCallbackSet(br_renderbounds_cbfn* new_cbfn);
  55.  
  56. #endif
  57.