summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
-rw-r--r--src/powder.c18
2 files changed, 20 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 73e88be..be9e4c9 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1377,6 +1377,7 @@ void draw_parts(pixel *vid)
ny = (int)(parts[i].y+0.5f);
if(cmode!=CM_HEAT)
{
+ ptypes[parts[i].type].draw ();
if(t==PT_STKM) //Just draw head here
{
char buff[10]; //Buffer for HP
@@ -3090,4 +3091,5 @@ void ClearScreen()
{
glClear(GL_COLOR_BUFFER_BIT);
}
+
#endif
diff --git a/src/powder.c b/src/powder.c
index 00179cc..16d545b 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -8,6 +8,24 @@
int isplayer = 0;
float player[27]; //[0] is a command cell, [3]-[18] are legs positions, [19] is index, [19]-[26] are accelerations
+void draw_dust ()
+{
+
+}
+void draw_watr ()
+{}
+void draw_oil ()
+{}
+void draw_pfire ()
+{}
+void draw_stne ()
+{}
+void draw_lava ()
+{}
+void draw_gun ()
+{}
+void draw_nitr ()
+{}
particle *parts;
particle *cb_parts;