diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-17 20:46:06 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-17 20:46:06 (GMT) |
| commit | 4a60b97c700c2f1843b7e99313554cb89fb5da4e (patch) | |
| tree | 3b33ef6f74a4e8a4ff5968a81b9c4c429ccaa7c6 /includes/Renderer.h | |
| parent | 6273089bf486bf46ad325d72c7290ebb272bd3d8 (diff) | |
| download | powder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.zip powder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.tar.gz | |
Some minor changes
Diffstat (limited to 'includes/Renderer.h')
| -rw-r--r-- | includes/Renderer.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/includes/Renderer.h b/includes/Renderer.h deleted file mode 100644 index 39c8c1a..0000000 --- a/includes/Renderer.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef RENDERER_H -#define RENDERER_H - -#include "Config.h" -#include "Simulation.h" -#include "Graphics.h" - -class Simulation; - -class Graphics; - -struct gcache_item -{ - int isready; - int pixel_mode; - int cola, colr, colg, colb; - int firea, firer, fireg, fireb; -}; -typedef struct gcache_item gcache_item; - -class Renderer -{ -public: - //TODO: Vectors! - unsigned int *render_modes; - unsigned int render_mode; - unsigned int colour_mode; - unsigned int *display_modes; - unsigned int display_mode; - // - unsigned char fire_r[YRES/CELL][XRES/CELL]; - unsigned char fire_g[YRES/CELL][XRES/CELL]; - unsigned char fire_b[YRES/CELL][XRES/CELL]; - unsigned int fire_alpha[CELL*3][CELL*3]; - char * flm_data; - char * plasma_data; - int emp_decor; - // - int decorations_enable; - Simulation * sim; - Graphics * g; - gcache_item *graphicscache; - // - void draw_walls(); - void render_signs(); - void render_gravlensing(); - void render_fire(); - void prepare_alpha(int size, float intensity); - void render_parts(); - void draw_grav_zones(); - void draw_air(); - void draw_grav(); - void draw_other(); - void init_display_modes(); - void get_sign_pos(int i, int *x0, int *y0, int *w, int *h); - void prepare_graphicscache(); - Renderer(Graphics * g, Simulation * sim); -}; - -#endif |
