From 0e235b63965d9b739d0e970d43adcf4d63bb1233 Mon Sep 17 00:00:00 2001 From: exterlulz Date: Sat, 21 Aug 2010 17:33:20 +0200 Subject: [PATCH] clean some stuff --- src/GameController.m | 4 ++-- src/Gem.h | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/GameController.m b/src/GameController.m index 6e9f791..63853d4 100644 --- a/src/GameController.m +++ b/src/GameController.m @@ -136,11 +136,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. } } -- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo -{ +- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo { [prefsCustomBackgroundFolderTextField setStringValue:[[sheet filenames] objectAtIndex:0]]; } +// TODO: move algorithm to its own method - (IBAction)prefsGraphicDropAction:(id)sender { // diff --git a/src/Gem.h b/src/Gem.h index fde949b..dc62abb 100644 --- a/src/Gem.h +++ b/src/Gem.h @@ -72,20 +72,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + (Gem *)gemWithNumber:(int)d andImage:(NSImage *)img; + (Gem *)gemWithNumber:(int)d andSprite:(OpenGLSprite *)aSprite; -- (int) animate; -- (void) fade; -- (void) fall; -- (void) shake; -- (void) erupt; +- (int)animate; +- (void)fade; +- (void)fall; +- (void)shake; +- (void)erupt; // MW... -- (void) shiver; +- (void)shiver; -- (int) gemType; -- (void) setGemType:(int) d; +- (int)gemType; +- (void)setGemType:(int)d; -- (NSImage *) image; -- (void) setImage:(NSImage *) value; +- (NSImage *)image; +- (void)setImage:(NSImage *)value; - (void) drawImage; -- 2.11.4.GIT