From 45bca98b792f8ced1a57ef8c5beed2a90a79d47f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 30 Nov 2015 08:47:07 -0500 Subject: switched to 100% new/delete --- include/world.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'include/world.h') diff --git a/include/world.h b/include/world.h index 4c82b2c..a2414e6 100644 --- a/include/world.h +++ b/include/world.h @@ -1,7 +1,7 @@ #ifndef WORLD_H #define WORLD_H -#include // For HLINE, vec2, OpenGL utilities, etc. +#include // For HLINE, vec2, OpenGL utilities, etc. #include #define GEN_INC 10 // Defines at what interval y values should be calculated for the array 'line'. @@ -102,7 +102,7 @@ public: void addMob(int t,float x,float y); void addMob(int t,float x,float y,void (*hey)()); void addNPC(float x,float y); - void addObject(int, bool, char*, float, float); + void addObject(ITEM_ID, bool, const char *, float, float); void update(Player *p,unsigned int delta); @@ -176,19 +176,6 @@ public: int getTheWidth(void); - /* - * Stores all of this class's contents in a string for saving to a file. This array should - * be freed after being written to a file. - */ - - char *save(unsigned int *ssize); - - /* - * Loads a previous world's contents (from save()) into this one. - */ - - void load(char *buf); - }; /* -- cgit v1.2.3