summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Wallin <nibbler.v1@gmail.com>2010-12-08 16:34:18 (GMT)
committer Felix Wallin <nibbler.v1@gmail.com>2010-12-08 16:34:18 (GMT)
commitc9f852085bc214c1177be061507ddb8071c48ffd (patch)
tree0b063cf5c2f8cae9f9454cb4d07dbfeef853573c /src
parentd0732c1f923b9f825b5d71e001862749ef5306da (diff)
downloadpowder-c9f852085bc214c1177be061507ddb8071c48ffd.zip
powder-c9f852085bc214c1177be061507ddb8071c48ffd.tar.gz
Revert "function pointers, not doing anything yet"
This reverts commit 048a0672c7106b7a586fad60447bbaf84a1679db.
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
-rw-r--r--src/powder.c18
2 files changed, 0 insertions, 20 deletions
diff --git a/src/graphics.c b/src/graphics.c
index be9e4c9..73e88be 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1377,7 +1377,6 @@ 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
@@ -3091,5 +3090,4 @@ void ClearScreen()
{
glClear(GL_COLOR_BUFFER_BIT);
}
-
#endif
diff --git a/src/powder.c b/src/powder.c
index 16d545b..00179cc 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -8,24 +8,6 @@
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;