From 51dc47bc70d66667ed1aee597d82dbdcfaf92fa1 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 30 Jan 2012 16:01:45 +0000 Subject: More cFile cleanup; removed old format writing for block entities git-svn-id: http://mc-server.googlecode.com/svn/trunk@193 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cFurnaceEntity.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/cFurnaceEntity.h') diff --git a/source/cFurnaceEntity.h b/source/cFurnaceEntity.h index 86052d363..99209acf8 100644 --- a/source/cFurnaceEntity.h +++ b/source/cFurnaceEntity.h @@ -21,11 +21,10 @@ public: virtual ~cFurnaceEntity(); virtual void Destroy(); - void WriteToFile(FILE* a_File); - bool LoadFromFile(FILE* a_File); + bool LoadFromFile(cFile & a_File); // deprecated format - bool LoadFromJson( const Json::Value& a_Value ); - void SaveToJson( Json::Value& a_Value ); + bool LoadFromJson(const Json::Value& a_Value ); + void SaveToJson (Json::Value& a_Value ); bool Tick( float a_Dt ); virtual void UsedBy( cPlayer & a_Player ); -- cgit v1.2.3