Subversion Repositories Games.Carmageddon

Rev

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

  1. #ifndef _MODREND_H_
  2. #define _MODREND_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. typedef void (*render_style_cbfn)(br_actor* actor, br_model* model, br_material* material,
  7.     void* render_data, br_uint_8 style, int on_screen);
  8.  
  9. extern render_style_cbfn RenderStyleCalls[8];
  10.  
  11. void renderFaces(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  12.  
  13. void renderEdges(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  14.  
  15. void renderPoints(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  16.  
  17. void nullRender(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  18.  
  19. br_model* makeMeshFromBounds(br_bounds* b);
  20.  
  21. void boundingBoxRenderPoints(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  22.  
  23. void boundingBoxRenderEdges(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  24.  
  25. void boundingBoxRenderFaces(br_actor* actor, br_model* model, br_material* material, void* render_data, br_uint_8 style, int on_screen);
  26.  
  27. #endif
  28.