OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641788d
)
Removed AngbandSoundCatalog's dispose() method: not necessary.
author
Eric Branlund
<ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:54:43 +0000
(
00:54
-0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:54:43 +0000
(
00:54
-0800)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
0200372
..
cb93998
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-114,11
+114,6
@@
static bool new_game = FALSE;
- (id)init;
/**
- * Releases the resources acquired for the catalog.
- */
-- (void)dispose;
-
-/**
* If self.enabled is YES and the given event has one or more sounds
* corresponding to it in the catalog, plays one of those sounds, chosen at
* random.
@@
-157,11
+152,6
@@
static bool new_game = FALSE;
return self;
}
-- (void)dispose {
- self->soundsByPath = nil;
- self->soundArraysByEvent = nil;
-}
-
- (void)playSound:(int)event {
if (! self.enabled) {
return;