Source release of Wolfenstein 3D Classic Platinum for iOS, 1.2

This commit is contained in:
Travis Bradshaw
2012-01-31 16:57:34 -06:00
parent a82aba6b94
commit 16304944b4
45 changed files with 10681 additions and 171 deletions

View File

@@ -24,6 +24,13 @@
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#ifdef VOLUMEHACK
#import <MediaPlayer/MPVolumeView.h>
#endif
/*
This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
The view content is basically an EAGL surface you render your OpenGL scene into.
@@ -49,6 +56,14 @@ Note that setting the view non-opaque will only work if the EAGL surface has an
NSTimer *animationTimer;
NSTimeInterval animationInterval;
//gsh... an attempt at hacking the volume button
#ifdef VOLUMEHACK
MPVolumeView *volumeView;
UISlider *volumeViewSlider;
float lastFramesVolume;
#endif
// NSThread *pLoadThread;
}
@property NSTimeInterval animationInterval;