From d2b1aea018650c570e405b5ebb58de3f5b85054e Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Fri, 4 Nov 2011 05:01:55 +0000 Subject: Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@51 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 43a16d871..d94859fff 100644 --- a/makefile +++ b/makefile @@ -90,6 +90,7 @@ MCServer : \ build/cInventory.o\ build/cLog.o\ build/cMonster.o\ + build/cRedstone.o\ build/cPawn.o\ build/cPickup.o\ build/cPlayer.o\ @@ -275,6 +276,7 @@ MCServer : \ build/cInventory.o\ build/cLog.o\ build/cMonster.o\ + build/cRedstone.o\ build/cPawn.o\ build/cPickup.o\ build/cPlayer.o\ @@ -463,6 +465,7 @@ clean : build/cInventory.o\ build/cLog.o\ build/cMonster.o\ + build/cRedstone.o\ build/cPawn.o\ build/cPickup.o\ build/cPlayer.o\ @@ -721,6 +724,11 @@ build/cMonster.o : source/cMonster.cpp $(CC) $(CC_OPTIONS) source/cMonster.cpp -c $(INCLUDE) -o build/cMonster.o +# Item # 23 -- cRedstone -- +build/cRedstone.o : source/cRedstone.cpp + $(CC) $(CC_OPTIONS) source/cRedstone.cpp -c $(INCLUDE) -o build/cRedstone.o + + # Item # 25 -- cPawn -- build/cPawn.o : source/cPawn.cpp $(CC) $(CC_OPTIONS) source/cPawn.cpp -c $(INCLUDE) -o build/cPawn.o -- cgit v1.2.3