mirror of
https://github.com/id-Software/Wolf3D-iOS.git
synced 2026-03-20 00:49:35 +01:00
Source release of Wolfenstein 3D Classic Platinum for iOS, 1.1
This commit is contained in:
58
wolf3d/code/iphone/EAGLView.h
Normal file
58
wolf3d/code/iphone/EAGLView.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <OpenGLES/EAGL.h>
|
||||
#import <OpenGLES/ES1/gl.h>
|
||||
#import <OpenGLES/ES1/glext.h>
|
||||
|
||||
/*
|
||||
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.
|
||||
Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
|
||||
*/
|
||||
@interface EAGLView : UIView <UITextFieldDelegate> {
|
||||
@public
|
||||
UITextField *textField;
|
||||
|
||||
@private
|
||||
/* The pixel dimensions of the backbuffer */
|
||||
GLint backingWidth;
|
||||
GLint backingHeight;
|
||||
|
||||
EAGLContext *context;
|
||||
|
||||
/* OpenGL names for the renderbuffer and framebuffers used to render to this view */
|
||||
GLuint viewRenderbuffer, viewFramebuffer;
|
||||
|
||||
/* OpenGL name for the depth buffer that is attached to viewFramebuffer, if it exists (0 if it does not exist) */
|
||||
GLuint depthRenderbuffer;
|
||||
|
||||
NSTimer *animationTimer;
|
||||
NSTimeInterval animationInterval;
|
||||
|
||||
}
|
||||
|
||||
@property NSTimeInterval animationInterval;
|
||||
|
||||
- (void)drawView;
|
||||
|
||||
@end
|
||||
360
wolf3d/code/iphone/EAGLView.m
Normal file
360
wolf3d/code/iphone/EAGLView.m
Normal file
@@ -0,0 +1,360 @@
|
||||
//
|
||||
// EAGLView.m
|
||||
// wolf3d
|
||||
//
|
||||
// Created by Cass Everitt on 2/20/09.
|
||||
// Copyright Id Software 2009. All rights reserved.
|
||||
//
|
||||
|
||||
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import <OpenGLES/EAGLDrawable.h>
|
||||
|
||||
#import "EAGLView.h"
|
||||
#import "wolf3dAppDelegate.h"
|
||||
|
||||
#include "wolfiphone.h"
|
||||
|
||||
struct AVSystemControllerPrivate;
|
||||
|
||||
@interface AVSystemController : NSObject
|
||||
{
|
||||
struct AVSystemControllerPrivate *_priv;
|
||||
}
|
||||
|
||||
+ (void)initialize;
|
||||
+ (id)sharedAVSystemController;
|
||||
- (id)init;
|
||||
- (void)dealloc;
|
||||
- (BOOL)changeActiveCategoryVolumeBy:(float)fp8 fallbackCategory:(id)fp12 resultVolume:(float *)fp16 affectedCategory:(id *)fp20;
|
||||
- (BOOL)changeActiveCategoryVolumeBy:(float)fp8;
|
||||
- (BOOL)setActiveCategoryVolumeTo:(float)fp8 fallbackCategory:(id)fp12 resultVolume:(float *)fp16 affectedCategory:(id *)fp20;
|
||||
- (BOOL)setActiveCategoryVolumeTo:(float)fp8;
|
||||
- (BOOL)getActiveCategoryVolume:(float *)fp8 andName:(id *)fp12 fallbackCategory:(id)fp16;
|
||||
- (BOOL)getActiveCategoryVolume:(float *)fp8 andName:(id *)fp12;
|
||||
- (BOOL)changeActiveCategoryVolumeBy:(float)fp8 forRoute:(id)fp12 andDeviceIdentifier:(id)fp16;
|
||||
- (BOOL)setActiveCategoryVolumeTo:(float)fp8 forRoute:(id)fp12 andDeviceIdentifier:(id)fp16;
|
||||
- (BOOL)activeCategoryVolumeDidChangeTo:(float)fp8 forRoute:(id)fp12 andDeviceIdentifier:(id)fp16;
|
||||
- (BOOL)getActiveCategoryVolume:(float *)fp8 andName:(id *)fp12 forRoute:(id)fp16 andDeviceIdentifier:(id)fp20;
|
||||
- (BOOL)toggleActiveCategoryMuted;
|
||||
- (BOOL)toggleActiveCategoryMutedForRoute:(id)fp8 andDeviceIdentifier:(id)fp12;
|
||||
- (BOOL)getActiveCategoryMuted:(char *)fp8;
|
||||
- (BOOL)getActiveCategoryMuted:(char *)fp8 forRoute:(id)fp12 andDeviceIdentifier:(id)fp16;
|
||||
- (BOOL)changeVolumeBy:(float)fp8 forCategory:(id)fp12;
|
||||
- (BOOL)setVolumeTo:(float)fp8 forCategory:(id)fp12;
|
||||
- (BOOL)getVolume:(float *)fp8 forCategory:(id)fp12;
|
||||
- (id)routeForCategory:(id)fp8;
|
||||
- (id)volumeCategoryForAudioCategory:(id)fp8;
|
||||
- (id)attributeForKey:(id)fp8;
|
||||
- (BOOL)setAttribute:(id)fp8 forKey:(id)fp12 error:(id *)fp16;
|
||||
- (void)makeError:(id *)fp8 withDescription:(id)fp12 code:(long)fp16;
|
||||
- (BOOL)okToNotifyFromThisThread;
|
||||
- (void)handleServerDied;
|
||||
|
||||
@end
|
||||
|
||||
AVSystemController *SharedAVSystemController;
|
||||
EAGLView *eaglview;
|
||||
|
||||
// A class extension to declare private methods
|
||||
@interface EAGLView ()
|
||||
|
||||
@property (nonatomic, retain) EAGLContext *context;
|
||||
@property (nonatomic, assign) NSTimer *animationTimer;
|
||||
|
||||
- (void) destroyFramebuffer;
|
||||
- (void) swapBuffers;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation EAGLView
|
||||
|
||||
@synthesize context;
|
||||
@synthesize animationTimer;
|
||||
@synthesize animationInterval;
|
||||
|
||||
|
||||
// You must implement this method
|
||||
+ (Class)layerClass {
|
||||
return [CAEAGLLayer class];
|
||||
}
|
||||
|
||||
|
||||
//The GL view is stored in the nib file. When it's unarchived it's sent -initWithCoder:
|
||||
- (id)initWithCoder:(NSCoder*)coder {
|
||||
self = [super initWithCoder:coder];
|
||||
|
||||
eaglview = self;
|
||||
|
||||
// Get the layer
|
||||
CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
|
||||
|
||||
eaglLayer.opaque = YES;
|
||||
eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
|
||||
[NSNumber numberWithBool:NO],
|
||||
kEAGLDrawablePropertyRetainedBacking,
|
||||
|
||||
kEAGLColorFormatRGB565,
|
||||
/* kEAGLColorFormatRGBA8, */
|
||||
kEAGLDrawablePropertyColorFormat,
|
||||
|
||||
nil];
|
||||
|
||||
context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
|
||||
assert( context );
|
||||
|
||||
if ( ![EAGLContext setCurrentContext:context]) {
|
||||
[self release];
|
||||
return nil;
|
||||
}
|
||||
self.multipleTouchEnabled = true;
|
||||
|
||||
[EAGLContext setCurrentContext:context];
|
||||
|
||||
glGenFramebuffersOES(1, &viewFramebuffer);
|
||||
glGenRenderbuffersOES(1, &viewRenderbuffer);
|
||||
|
||||
glBindFramebufferOES(GL_FRAMEBUFFER_OES, viewFramebuffer);
|
||||
glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
|
||||
[context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(CAEAGLLayer*)self.layer];
|
||||
glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, viewRenderbuffer);
|
||||
|
||||
glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_WIDTH_OES, &backingWidth);
|
||||
glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_HEIGHT_OES, &backingHeight);
|
||||
|
||||
glGenRenderbuffersOES(1, &depthRenderbuffer);
|
||||
glBindRenderbufferOES(GL_RENDERBUFFER_OES, depthRenderbuffer);
|
||||
glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT16_OES, backingWidth, backingHeight);
|
||||
glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_DEPTH_ATTACHMENT_OES, GL_RENDERBUFFER_OES, depthRenderbuffer);
|
||||
|
||||
if(glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES) != GL_FRAMEBUFFER_COMPLETE_OES) {
|
||||
NSLog(@"failed to make complete framebuffer object %x", glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES));
|
||||
}
|
||||
|
||||
glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
|
||||
|
||||
#if 0
|
||||
// set swapinterval if possible
|
||||
void *eglSwapInterval;
|
||||
eglSwapInterval = dlsym( RTLD_DEFAULT, "eglSwapInterval" );
|
||||
if ( eglSwapInterval ) {
|
||||
((void(*)(int))eglSwapInterval)( 2 );
|
||||
}
|
||||
#endif
|
||||
|
||||
// with swapinterval, we want to update as fast as possible
|
||||
float interval = 1.0 / 30.0f;
|
||||
self.animationTimer = [NSTimer scheduledTimerWithTimeInterval:interval
|
||||
target:self
|
||||
selector:@selector(drawView)
|
||||
userInfo:nil repeats:YES];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawView {
|
||||
[ (wolf3dAppDelegate *)[UIApplication sharedApplication].delegate restartAccelerometerIfNeeded];
|
||||
|
||||
#if 0
|
||||
//------------------
|
||||
// Volume button hack
|
||||
{
|
||||
if ( SharedAVSystemController ) {
|
||||
float newVolume;
|
||||
NSString *categoryName;
|
||||
static float activeVolume = 0.9;
|
||||
if ([SharedAVSystemController getActiveCategoryVolume:&newVolume andName:&categoryName]) {
|
||||
if (activeVolume < newVolume) {
|
||||
[SharedAVSystemController setActiveCategoryVolumeTo:activeVolume];
|
||||
Com_Printf( "Volume up: %i\n", Sys_Milliseconds() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
//------------------
|
||||
|
||||
iphoneFrame(); // swapBuffers() will be called from here
|
||||
}
|
||||
|
||||
- (void)swapBuffers {
|
||||
// glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
|
||||
loggedTimes[iphoneFrameNum&(MAX_LOGGED_TIMES-1)].beforeSwap = Sys_Milliseconds();
|
||||
[context presentRenderbuffer:GL_RENDERBUFFER_OES];
|
||||
loggedTimes[iphoneFrameNum&(MAX_LOGGED_TIMES-1)].afterSwap = Sys_Milliseconds();
|
||||
}
|
||||
|
||||
- (void)layoutSubviews {
|
||||
[self drawView];
|
||||
}
|
||||
|
||||
|
||||
|
||||
- (void)destroyFramebuffer {
|
||||
glDeleteFramebuffersOES(1, &viewFramebuffer);
|
||||
viewFramebuffer = 0;
|
||||
glDeleteRenderbuffersOES(1, &viewRenderbuffer);
|
||||
viewRenderbuffer = 0;
|
||||
glDeleteRenderbuffersOES(1, &depthRenderbuffer);
|
||||
depthRenderbuffer = 0;
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc {
|
||||
if ([EAGLContext currentContext] == context) {
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
}
|
||||
|
||||
[context release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) handleTouches:(NSSet*)touches withEvent:(UIEvent*)event {
|
||||
int touchCount = 0;
|
||||
int points[16];
|
||||
static int previousTouchCount;
|
||||
|
||||
NSSet *t = [event allTouches];
|
||||
for (UITouch *myTouch in t)
|
||||
{
|
||||
CGPoint touchLocation = [myTouch locationInView:nil];
|
||||
|
||||
points[ 2 * touchCount + 0 ] = touchLocation.x;
|
||||
points[ 2 * touchCount + 1 ] = touchLocation.y; // ( h - 1 ) - touchLocation.y;
|
||||
|
||||
touchCount++;
|
||||
|
||||
if (myTouch.phase == UITouchPhaseBegan) {
|
||||
// new touch handler
|
||||
}
|
||||
if (myTouch.phase == UITouchPhaseMoved) {
|
||||
// touch moved handler
|
||||
}
|
||||
if (myTouch.phase == UITouchPhaseEnded) {
|
||||
touchCount--;
|
||||
}
|
||||
}
|
||||
|
||||
// toggle the console with four touches
|
||||
if ( touchCount == 4 && previousTouchCount != 4 ) {
|
||||
if ( textField == nil ) {
|
||||
// do this before starting the textField, which
|
||||
// takes a long time
|
||||
iphoneActivateConsole();
|
||||
|
||||
textField = [UITextField alloc];
|
||||
[textField initWithFrame:CGRectMake( 0, 0, 20, 20 ) ];
|
||||
[self addSubview:textField];
|
||||
[textField release];
|
||||
textField.hidden = true;
|
||||
textField.delegate = self;
|
||||
textField.autocapitalizationType = UITextAutocapitalizationTypeNone;
|
||||
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
||||
[textField becomeFirstResponder];
|
||||
} else {
|
||||
void iphoneDeactivateConsole();
|
||||
[textField resignFirstResponder];
|
||||
[textField removeFromSuperview];
|
||||
textField = nil;
|
||||
|
||||
iphoneDeactivateConsole();
|
||||
}
|
||||
}
|
||||
previousTouchCount = touchCount;
|
||||
|
||||
iphoneTouchEvent( touchCount, points );
|
||||
}
|
||||
|
||||
|
||||
- (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {
|
||||
[self handleTouches:touches withEvent:event];
|
||||
}
|
||||
|
||||
- (void) touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event {
|
||||
[self handleTouches:touches withEvent:event];
|
||||
}
|
||||
|
||||
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event {
|
||||
[self handleTouches:touches withEvent:event];
|
||||
}
|
||||
|
||||
|
||||
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
|
||||
[self handleTouches:touches withEvent:event];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation EAGLView (UITextFieldDelegate)
|
||||
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)_textField
|
||||
{
|
||||
iphoneExecuteCommandLine();
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
const char * SysIPhoneGetConsoleTextField() {
|
||||
if ( eaglview->textField == nil ) {
|
||||
return "";
|
||||
}
|
||||
return [ eaglview->textField.text UTF8String ];
|
||||
}
|
||||
|
||||
void SysIPhoneSetConsoleTextField( const char * str) {
|
||||
assert( eaglview->textField != nil );
|
||||
eaglview->textField.text = [ NSString stringWithUTF8String: str ];
|
||||
}
|
||||
|
||||
void SysIPhoneSwapBuffers() {
|
||||
[eaglview swapBuffers];
|
||||
}
|
||||
|
||||
void SysIPhoneOpenURL( const char *url ) {
|
||||
Com_Printf( "OpenURL char *: %s\n", url );
|
||||
|
||||
NSString *nss = [NSString stringWithCString: url encoding: NSASCIIStringEncoding];
|
||||
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: nss]];
|
||||
}
|
||||
|
||||
void SysIPhoneSetUIKitOrientation( int isLandscapeRight ) {
|
||||
if ( isLandscapeRight ) {
|
||||
[UIApplication sharedApplication].statusBarOrientation = UIInterfaceOrientationLandscapeRight;
|
||||
} else {
|
||||
[UIApplication sharedApplication].statusBarOrientation = UIInterfaceOrientationLandscapeLeft;
|
||||
}
|
||||
}
|
||||
|
||||
void SysIPhoneLoadJPG( W8* jpegData, int jpegBytes, W8 **pic, W16 *width, W16 *height, W16 *bytes ) {
|
||||
CFDataRef data;
|
||||
int dataBytes = 0;
|
||||
UIImage *img = [ UIImage imageWithData: [NSData dataWithBytes: (const char *)jpegData length: (NSUInteger)jpegBytes ] ];
|
||||
int imgBytes;
|
||||
*width = img.size.width;
|
||||
*height = img.size.height;
|
||||
imgBytes = (int)(*width) * (int)(*height) * 4;
|
||||
data = CGDataProviderCopyData( CGImageGetDataProvider( img.CGImage ) );
|
||||
dataBytes = CFDataGetLength( data );
|
||||
*bytes = 4;
|
||||
if ( dataBytes > imgBytes ) {
|
||||
*pic = NULL;
|
||||
return;
|
||||
}
|
||||
*pic = (W8 *)malloc( imgBytes );
|
||||
CFDataGetBytes( data, CFRangeMake(0, dataBytes), *pic );
|
||||
// convert BGRA to RGBA
|
||||
for ( imgBytes = 0; imgBytes < dataBytes; imgBytes+= 4 ) {
|
||||
W8 tmp = pic[0][ imgBytes + 0 ];
|
||||
pic[0][ imgBytes + 0 ] = pic[0][ imgBytes + 2 ];
|
||||
pic[0][ imgBytes + 2 ] = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
47
wolf3d/code/iphone/Info.plist
Normal file
47
wolf3d/code/iphone/Info.plist
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key></key>
|
||||
<string></string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${PRODUCT_NAME}_icon.png</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PROFILE_PREFIX}.${PRODUCT_NAME:identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainWindow</string>
|
||||
<key>UIInterfaceOrientation</key>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<key>UIStatusBarHidden</key>
|
||||
<true/>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>com.idsoftware.wolf3d</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>wolf3d</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
223
wolf3d/code/iphone/MainWindow.xib
Normal file
223
wolf3d/code/iphone/MainWindow.xib
Normal file
@@ -0,0 +1,223 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.02">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">528</int>
|
||||
<string key="IBDocument.SystemVersion">9E17</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">672</string>
|
||||
<string key="IBDocument.AppKitVersion">949.33</string>
|
||||
<string key="IBDocument.HIToolboxVersion">352.00</string>
|
||||
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="8"/>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="841351856">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="191355593">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
</object>
|
||||
<object class="IBUICustomObject" id="664661524"/>
|
||||
<object class="IBUIWindow" id="380026005">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUIView" id="773737154">
|
||||
<reference key="NSNextResponder" ref="380026005"/>
|
||||
<int key="NSvFlags">1298</int>
|
||||
<string key="NSFrameSize">{320, 480}</string>
|
||||
<reference key="NSSuperview" ref="380026005"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrameSize">{320, 480}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<bool key="IBUIVisibleAtLaunch">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">delegate</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="664661524"/>
|
||||
</object>
|
||||
<int key="connectionID">4</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">window</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="380026005"/>
|
||||
</object>
|
||||
<int key="connectionID">5</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">glView</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="773737154"/>
|
||||
</object>
|
||||
<int key="connectionID">9</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="957960031">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2</int>
|
||||
<reference key="object" ref="380026005"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="773737154"/>
|
||||
</object>
|
||||
<reference key="parent" ref="957960031"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="841351856"/>
|
||||
<reference key="parent" ref="957960031"/>
|
||||
<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="664661524"/>
|
||||
<reference key="parent" ref="957960031"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">8</int>
|
||||
<reference key="object" ref="773737154"/>
|
||||
<reference key="parent" ref="380026005"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="191355593"/>
|
||||
<reference key="parent" ref="957960031"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSMutableArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>2.IBAttributePlaceholdersKey</string>
|
||||
<string>2.IBEditorWindowLastContentRect</string>
|
||||
<string>2.IBPluginDependency</string>
|
||||
<string>3.CustomClassName</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>8.CustomClassName</string>
|
||||
<string>8.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>UIApplication</string>
|
||||
<string>UIResponder</string>
|
||||
<object class="NSMutableDictionary">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<string>{{500, 343}, {320, 480}}</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>wolf3dAppDelegate</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>EAGLView</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">9</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">EAGLView</string>
|
||||
<string key="superclassName">UIView</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">Classes/EAGLView.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">wolf3dAppDelegate</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSMutableArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>glView</string>
|
||||
<string>window</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>EAGLView</string>
|
||||
<string>UIWindow</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">Classes/wolf3dAppDelegate.h</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.LastKnownRelativeProjectPath">wolf3d.xcodeproj</string>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
</data>
|
||||
</archive>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
wolf3d/code/iphone/default.png
Normal file
BIN
wolf3d/code/iphone/default.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 179 KiB |
BIN
wolf3d/code/iphone/default_wolf3dlite.png
Normal file
BIN
wolf3d/code/iphone/default_wolf3dlite.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 182 KiB |
8
wolf3d/code/iphone/dist.plist
Normal file
8
wolf3d/code/iphone/dist.plist
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>get-task-allow</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
134
wolf3d/code/iphone/gles_glue.c
Normal file
134
wolf3d/code/iphone/gles_glue.c
Normal file
@@ -0,0 +1,134 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#include "wolfiphone.h"
|
||||
|
||||
//int registration_sequence;
|
||||
|
||||
#include "iphone_qgl.h"
|
||||
|
||||
|
||||
#ifdef QGL_LOG_GL_CALLS
|
||||
unsigned int QGLLogGLCalls = 1;
|
||||
FILE *QGLDebugFile(void) {
|
||||
return stdout;
|
||||
}
|
||||
#endif
|
||||
|
||||
void QGLCheckError(const char *message) {
|
||||
GLint err = qglGetError();
|
||||
if ( err != GL_NO_ERROR ) {
|
||||
printf( "GL ERROR %d from %s\n", err, message );
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int QGLBeginStarted = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
struct Vertex {
|
||||
float xyz[3];
|
||||
float st[2];
|
||||
GLubyte c[4];
|
||||
};
|
||||
|
||||
#define MAX_VERTS 16384
|
||||
|
||||
typedef struct Vertex Vertex;
|
||||
Vertex immediate[ MAX_VERTS ];
|
||||
Vertex vab;
|
||||
short quad_indexes[MAX_VERTS * 3 / 2 ];
|
||||
int curr_vertex;
|
||||
GLenum curr_prim;
|
||||
|
||||
void InitImmediateModeGL() {
|
||||
for ( int i = 0; i < MAX_VERTS * 3 / 2; i+=6 ) {
|
||||
int q = i / 6 * 4;
|
||||
quad_indexes[ i + 0 ] = q + 0;
|
||||
quad_indexes[ i + 1 ] = q + 1;
|
||||
quad_indexes[ i + 2 ] = q + 2;
|
||||
|
||||
quad_indexes[ i + 3 ] = q + 0;
|
||||
quad_indexes[ i + 4 ] = q + 2;
|
||||
quad_indexes[ i + 5 ] = q + 3;
|
||||
}
|
||||
|
||||
qglVertexPointer( 3, GL_FLOAT, sizeof( Vertex ), immediate[ 0 ].xyz );
|
||||
qglTexCoordPointer( 2, GL_FLOAT, sizeof( Vertex ), immediate[ 0 ].st );
|
||||
qglColorPointer( 4, GL_UNSIGNED_BYTE, sizeof( Vertex ), immediate[ 0 ].c );
|
||||
qglEnableClientState( GL_VERTEX_ARRAY );
|
||||
qglEnableClientState( GL_TEXTURE_COORD_ARRAY );
|
||||
qglEnableClientState( GL_COLOR_ARRAY );
|
||||
}
|
||||
|
||||
void pfglBegin( GLenum prim ) {
|
||||
curr_vertex = 0;
|
||||
curr_prim = prim;
|
||||
}
|
||||
|
||||
void pfglVertex3f( float x, float y, float z ) {
|
||||
assert( curr_vertex < MAX_VERTS );
|
||||
vab.xyz[ 0 ] = x;
|
||||
vab.xyz[ 1 ] = y;
|
||||
vab.xyz[ 2 ] = z;
|
||||
immediate[ curr_vertex ] = vab;
|
||||
curr_vertex++;
|
||||
}
|
||||
void pfglVertex2i( GLint x, GLint y ) {
|
||||
assert( curr_vertex < MAX_VERTS );
|
||||
vab.xyz[ 0 ] = (float)x;
|
||||
vab.xyz[ 1 ] = (float)y;
|
||||
vab.xyz[ 2 ] = 0.0f;
|
||||
immediate[ curr_vertex ] = vab;
|
||||
curr_vertex++;
|
||||
}
|
||||
void pfglColor4ub( GLubyte r, GLubyte g, GLubyte b, GLubyte a ) {
|
||||
vab.c[ 0 ] = r;
|
||||
vab.c[ 1 ] = g;
|
||||
vab.c[ 2 ] = b;
|
||||
vab.c[ 3 ] = a;
|
||||
}
|
||||
void pfglColor4f( GLfloat r, GLfloat g, GLfloat b, GLfloat a ) {
|
||||
vab.c[ 0 ] = (GLubyte) ( r * 255 );
|
||||
vab.c[ 1 ] = (GLubyte) ( g * 255 );
|
||||
vab.c[ 2 ] = (GLubyte) ( b * 255 );
|
||||
vab.c[ 3 ] = (GLubyte) ( a * 255 );
|
||||
}
|
||||
void pfglTexCoord2i( GLint s, GLint t ) {
|
||||
vab.st[ 0 ] = (float)s;
|
||||
vab.st[ 1 ] = (float)t;
|
||||
}
|
||||
void pfglTexCoord2f( GLfloat s, GLfloat t ) {
|
||||
vab.st[ 0 ] = s;
|
||||
vab.st[ 1 ] = t;
|
||||
}
|
||||
|
||||
void pfglEnd() {
|
||||
if ( curr_prim == GL_QUADS ) {
|
||||
qglDrawElements( GL_TRIANGLES, curr_vertex / 4 * 6, GL_UNSIGNED_SHORT, quad_indexes );
|
||||
} else {
|
||||
qglDrawArrays( curr_prim, 0, curr_vertex );
|
||||
}
|
||||
curr_vertex = 0;
|
||||
curr_prim = 0;
|
||||
}
|
||||
|
||||
69
wolf3d/code/iphone/gles_glue.h
Normal file
69
wolf3d/code/iphone/gles_glue.h
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
|
||||
#ifndef __GLES_GLUE_H__
|
||||
#define __GLES_GLUE_H__
|
||||
|
||||
#include "iphone_qgl.h"
|
||||
|
||||
typedef GLfloat GLdouble;
|
||||
|
||||
#define pfglEnable qglEnable
|
||||
#define pfglDisable qglDisable
|
||||
#define pfglActiveTextureARB qglActiveTexture
|
||||
#define pfglGenTextures qglGenTextures
|
||||
#define pfglDeleteTextures qglDeleteTextures
|
||||
#define pfglDepthRange qglDepthRangef
|
||||
#define pfglDepthFunc qglDepthFunc
|
||||
#define pfglCullFace qglCullFace
|
||||
#define pfglColor3f(r,g,b) pfglColor4f(r,g,b,1.0f)
|
||||
#define pfglColor3ubv(c) pfglColor4ub( (c)[0], (c)[1], (c)[2], 255 )
|
||||
#define pfglColor4ubv(c) pfglColor4ub( (c)[0], (c)[1], (c)[2], (c)[3] )
|
||||
#define pfglBlendFunc qglBlendFunc
|
||||
#define pfglClearColor qglClearColor
|
||||
#define pfglClear qglClear
|
||||
#define pfglDrawBuffer(buffer)
|
||||
#define pfglLineWidth qglLineWidth
|
||||
#define pfglBindTexture qglBindTexture
|
||||
#define pfglTexParameteri qglTexParameteri
|
||||
#define pfglTexParameterf qglTexParameterf
|
||||
#define pfglTexImage2D qglTexImage2D
|
||||
#define pfglTexSubImage2D qglTexSubImage2D
|
||||
#define pfglFrustum qglFrustumf
|
||||
#define pfglOrtho qglOrthof
|
||||
#define pfglLoadIdentity qglLoadIdentity
|
||||
#define pfglMatrixMode qglMatrixMode
|
||||
#define pfglShadeModel qglShadeModel
|
||||
#define pfglRotatef qglRotatef
|
||||
#define pfglTranslatef qglTranslatef
|
||||
#define pfglReadPixels qglReadPixels
|
||||
#define pfglAlphaFunc qglAlphaFunc
|
||||
#define pfglViewport qglViewport
|
||||
#define pfglTexEnvi qglTexEnvi
|
||||
#define pfglClientActiveTextureARB qglClientActiveTexture
|
||||
|
||||
#define pfglGetIntegerv qglGetIntegerv
|
||||
#define pfglGetString qglGetString
|
||||
#define pfglGetError qglGetError
|
||||
|
||||
|
||||
#define GL_QUADS 888
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void pfglBegin( GLenum prim );
|
||||
void pfglVertex3f( float x, float y, float z );
|
||||
void pfglVertex2i( GLint x, GLint y );
|
||||
void pfglColor4ub( GLubyte r, GLubyte g, GLubyte b, GLubyte a );
|
||||
void pfglColor4f( GLfloat r, GLfloat g, GLfloat b, GLfloat a );
|
||||
void pfglTexCoord2i( GLint s, GLint t );
|
||||
void pfglTexCoord2f( GLfloat s, GLfloat t );
|
||||
|
||||
void pfglEnd();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
249
wolf3d/code/iphone/hud.c
Normal file
249
wolf3d/code/iphone/hud.c
Normal file
@@ -0,0 +1,249 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "../wolfiphone.h"
|
||||
|
||||
hud_t huds;
|
||||
|
||||
void HudDraw();
|
||||
|
||||
void HudWrite();
|
||||
|
||||
void HudRead();
|
||||
|
||||
hudPic_t *dragHud;
|
||||
int dragX, dragY;
|
||||
|
||||
void SetHudPic( hudPic_t *hp, const char *image ) {
|
||||
texture_t *gl;
|
||||
gl = TM_FindTexture( image, TT_Pic );
|
||||
assert( gl );
|
||||
hp->glTexNum = gl->texnum;
|
||||
}
|
||||
|
||||
void SetHudSpot( hudPic_t *hp, int x, int y, int w, int h, int flags ) {
|
||||
hp->x = x;
|
||||
hp->y = y;
|
||||
hp->width = w;
|
||||
hp->height = h;
|
||||
hp->hudFlags = flags;
|
||||
}
|
||||
|
||||
void HudSetTexnums() {
|
||||
SetHudPic( &huds.forwardStick, "iphone/up_down.tga" );
|
||||
SetHudPic( &huds.sideStick, "iphone/side_2_side.tga" );
|
||||
SetHudPic( &huds.turnStick, "iphone/diractional_03.tga" );
|
||||
SetHudPic( &huds.fire, "iphone/shoot.tga" );
|
||||
SetHudPic( &huds.menu, "iphone/menu.tga" );
|
||||
SetHudPic( &huds.map, "iphone/map.tga" );
|
||||
SetHudPic( &huds.ammo, "iphone/9.tga" );
|
||||
|
||||
#ifdef ALLOW_MAP_VIEW_HUD
|
||||
// Special setup for mapView texture since it's a scratch texture.
|
||||
texture_t *gl = TM_AllocateTexture( "_mapView" );
|
||||
huds.mapView.glTexNum = gl->texnum;
|
||||
R_Bind( huds.mapView.glTexNum );
|
||||
pfglTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL );
|
||||
pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
|
||||
pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
|
||||
GLubyte *yellow = malloc( 64 * 4 );
|
||||
for( int i = 0; i < 64; i++ ) {
|
||||
yellow[ i * 4 + 0 ] = 255;
|
||||
yellow[ i * 4 + 1 ] = 255;
|
||||
yellow[ i * 4 + 2 ] = 0;
|
||||
yellow[ i * 4 + 3 ] = 128;
|
||||
}
|
||||
for( int i = 0; i < 64; i++ ) {
|
||||
pfglTexSubImage2D( GL_TEXTURE_2D, 0, 0, i, 64, 1, GL_RGBA, GL_UNSIGNED_BYTE, yellow );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void HudSetForScheme( int schemeNum ) {
|
||||
switch ( schemeNum ) {
|
||||
default:
|
||||
case 0:
|
||||
SetHudSpot( &huds.forwardStick, 0, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.sideStick, 0, 320-100, 100, 100, HF_DISABLED );
|
||||
SetHudSpot( &huds.turnStick, 0, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.fire, 480-80, 320-80, 80, 80, 0 );
|
||||
SetHudSpot( &huds.menu, 480-64, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.map, 0, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.ammo, 480-80, 320-100-44, 80, 44, 0 );
|
||||
break;
|
||||
case 1:
|
||||
SetHudSpot( &huds.forwardStick, 480-100, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.sideStick, 0, 320-100, 100, 100, HF_DISABLED );
|
||||
SetHudSpot( &huds.turnStick, 480-100, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.fire, 0, 320-80, 80, 80, 0 );
|
||||
SetHudSpot( &huds.menu, 480-64, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.map, 0, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.ammo, 480-80, 320-100-44, 80, 44, 0 );
|
||||
break;
|
||||
case 2:
|
||||
SetHudSpot( &huds.forwardStick, 0, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.sideStick, 0, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.turnStick, 480-100, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.fire, 480-80, 0, 80, 80, 0 );
|
||||
SetHudSpot( &huds.menu, 0, 32, 64, 32, 0 );
|
||||
SetHudSpot( &huds.map, 0, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.ammo, 480-80, 80, 80, 44, 0 );
|
||||
break;
|
||||
case 3:
|
||||
SetHudSpot( &huds.forwardStick, 480-100, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.sideStick, 480-100, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.turnStick, 0, 320-100, 100, 100, 0 );
|
||||
SetHudSpot( &huds.fire, 480-80, 0, 80, 80, 0 );
|
||||
SetHudSpot( &huds.menu, 0, 32, 64, 32, 0 );
|
||||
SetHudSpot( &huds.map, 0, 0, 64, 32, 0 );
|
||||
SetHudSpot( &huds.ammo, 480-80, 80, 80, 44, 0 );
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef ALLOW_MAP_VIEW_HUD
|
||||
SetHudSpot( &huds.mapView, 240-64, 0, 128, 128, 0 );
|
||||
huds.mapView.hudFlags |= HF_DISABLED;
|
||||
#endif
|
||||
}
|
||||
|
||||
void SnapSticks( hudPic_t *test, const hudPic_t *to ) {
|
||||
if ( test->x < to->x + to->width && test->x + test->width > to->x
|
||||
&& test->y < to->y + to->height && test->y + test->height > to->y ) {
|
||||
test->x = to->x;
|
||||
test->y = to->y;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
==================
|
||||
HudEditFrame
|
||||
|
||||
==================
|
||||
*/
|
||||
void HudEditFrame() {
|
||||
int w;
|
||||
int x;
|
||||
colour3_t gray = { 32, 32, 32 };
|
||||
|
||||
iphoneSetNotifyText( "Drag the controls" );
|
||||
|
||||
if ( numTouches == 0 && numPrevTouches == 1 && dragHud ) {
|
||||
// if it was released near the center, make it inactive
|
||||
int x = prevTouches[0][0];
|
||||
int y = prevTouches[0][1];
|
||||
if ( x > 120 && x < 360 && y > 80 && y < 240 ) {
|
||||
dragHud->hudFlags |= HF_DISABLED;
|
||||
} else {
|
||||
// magnet pull a matchable axis if it is close enough
|
||||
if ( dragHud == &huds.forwardStick ) {
|
||||
SnapSticks( &huds.sideStick, dragHud );
|
||||
SnapSticks( &huds.turnStick, dragHud );
|
||||
}
|
||||
if ( dragHud == &huds.sideStick ) {
|
||||
SnapSticks( &huds.forwardStick, dragHud );
|
||||
}
|
||||
if ( dragHud == &huds.turnStick ) {
|
||||
SnapSticks( &huds.forwardStick, dragHud );
|
||||
}
|
||||
}
|
||||
Sound_StartLocalSound( "iphone/baction_01.wav" );
|
||||
dragHud = NULL;
|
||||
}
|
||||
|
||||
if ( numTouches == 1 && numPrevTouches == 0 ) {
|
||||
// identify the hud being touched for drag
|
||||
int x = touches[0][0];
|
||||
int y = touches[0][1];
|
||||
dragHud = NULL;
|
||||
for ( hudPic_t *hud = (hudPic_t *)&huds ; hud != (hudPic_t *)(&huds+1) ; hud++ ) {
|
||||
if ( x >= hud->x && x - hud->x < hud->width &&
|
||||
y >= hud->y && y - hud->y < hud->height ) {
|
||||
dragHud = hud;
|
||||
dragX = dragHud->x - x;
|
||||
dragY = dragHud->y - y;
|
||||
Sound_StartLocalSound( "iphone/bdown_01.wav" );
|
||||
dragHud->hudFlags &= ~HF_DISABLED;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( numTouches == 1 && numPrevTouches == 1 && dragHud ) {
|
||||
// adjust the position of the dragHud
|
||||
dragHud->x = touches[0][0] + dragX;
|
||||
dragHud->y = touches[0][1] + dragY;
|
||||
if ( dragHud->x < 0 ) {
|
||||
dragHud->x = 0;
|
||||
}
|
||||
if ( dragHud->x > 480 - dragHud->width ) {
|
||||
dragHud->x = 480 - dragHud->width;
|
||||
}
|
||||
if ( dragHud->y < 0 ) {
|
||||
dragHud->y = 0;
|
||||
}
|
||||
if ( dragHud->y > 320 - dragHud->height ) {
|
||||
dragHud->y = 320 - dragHud->height;
|
||||
}
|
||||
}
|
||||
|
||||
// layout the disabled items in the center
|
||||
w = 0;
|
||||
for ( hudPic_t *hud = (hudPic_t *)&huds ; hud != (hudPic_t *)(&huds+1) ; hud++ ) {
|
||||
if ( hud->hudFlags & HF_DISABLED ) {
|
||||
w += hud->width;
|
||||
}
|
||||
}
|
||||
x = 240 - w / 2;
|
||||
|
||||
for ( hudPic_t *hud = (hudPic_t *)&huds ; hud != (hudPic_t *)(&huds+1) ; hud++ ) {
|
||||
if ( hud->hudFlags & HF_DISABLED ) {
|
||||
hud->x = x;
|
||||
hud->y = 160-hud->height/2;
|
||||
x += hud->width;
|
||||
}
|
||||
}
|
||||
|
||||
// decide where the menu button, map button, and ammo will draw
|
||||
|
||||
// solid background color and some UI elements for context
|
||||
R_Draw_Fill( 0, 0, 480, 320, gray );
|
||||
iphoneDrawFace();
|
||||
iphoneDrawNotifyText();
|
||||
|
||||
// draw the active items at their current locations
|
||||
for ( hudPic_t *hud = (hudPic_t *)&huds ; hud != (hudPic_t *)(&huds+1) ; hud++ ) {
|
||||
if ( hud->hudFlags & HF_DISABLED ) {
|
||||
pfglColor3f( 0.5, 0.5, 0.5 );
|
||||
}
|
||||
if ( hud == &huds.ammo ) {
|
||||
iphoneDrawNumber( huds.ammo.x + huds.ammo.width / 2, huds.ammo.y, 99, 48, 48 );
|
||||
} else {
|
||||
iphoneDrawPicNum( hud->x, hud->y, hud->width, hud->height, hud->glTexNum );
|
||||
}
|
||||
pfglColor3f( 1, 1, 1 );
|
||||
}
|
||||
|
||||
// draw the done button
|
||||
if ( iphoneDrawPicWithTouch( 240-32, 320-80-32, 64, 32, "iphone/button_back.tga" ) ) {
|
||||
menuState = IPM_CONTROLS;
|
||||
iphoneSetNotifyText( "" );
|
||||
}
|
||||
}
|
||||
|
||||
1192
wolf3d/code/iphone/iphone_loop.c
Normal file
1192
wolf3d/code/iphone/iphone_loop.c
Normal file
File diff suppressed because it is too large
Load Diff
339
wolf3d/code/iphone/iphone_main.c
Normal file
339
wolf3d/code/iphone/iphone_main.c
Normal file
@@ -0,0 +1,339 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2004-2005 Michael Liebscher <johnnycanuck@users.sourceforge.net>
|
||||
Copyright (C) 1997-2001 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
does clearing color and depth at the same time offer any beneft?
|
||||
should we use the depth sense reversing trick to avoid depth clears?
|
||||
|
||||
*/
|
||||
|
||||
#include "../wolfiphone.h"
|
||||
|
||||
|
||||
cvar_t *controlScheme;
|
||||
cvar_t *sensitivity;
|
||||
cvar_t *stickTurnBase;
|
||||
cvar_t *stickTurnScale;
|
||||
cvar_t *stickMoveBase;
|
||||
cvar_t *stickMoveScale;
|
||||
cvar_t *stickDeadBand;
|
||||
cvar_t *tiltTurn;
|
||||
cvar_t *tiltMove;
|
||||
cvar_t *tiltDeadBand;
|
||||
cvar_t *tiltAverages;
|
||||
cvar_t *tiltFire;
|
||||
cvar_t *music;
|
||||
cvar_t *showTilt;
|
||||
cvar_t *showTime;
|
||||
cvar_t *cropSprites;
|
||||
cvar_t *blends;
|
||||
cvar_t *gunFrame;
|
||||
cvar_t *slowAI;
|
||||
cvar_t *revLand;
|
||||
cvar_t *mapScale;
|
||||
cvar_t *hideControls;
|
||||
cvar_t *autoFire;
|
||||
|
||||
W32 sys_frame_time;
|
||||
|
||||
void Sys_Error( const char *format, ... )
|
||||
{
|
||||
va_list argptr;
|
||||
char string[ 1024 ];
|
||||
|
||||
va_start( argptr, format );
|
||||
(void)vsnprintf( string, sizeof( string ), format, argptr );
|
||||
va_end( argptr );
|
||||
|
||||
fprintf( stderr, "Error: %s\n", string );
|
||||
|
||||
_exit( 1 );
|
||||
|
||||
}
|
||||
|
||||
void Sys_Quit (void)
|
||||
{
|
||||
_exit( 0 );
|
||||
}
|
||||
|
||||
void Sys_SendKeyEvents (void)
|
||||
{
|
||||
}
|
||||
|
||||
char *Sys_GetClipboardData( void )
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void Reset_f() {
|
||||
memset( ¤tMap, 0, sizeof( currentMap ) );
|
||||
currentMap.skill = 1;
|
||||
cvar_vars = NULL; // don't write any cvars to the config file
|
||||
iphoneShutdown();
|
||||
}
|
||||
|
||||
/*
|
||||
==================
|
||||
iphoneStartup
|
||||
|
||||
==================
|
||||
*/
|
||||
void iphoneStartup() {
|
||||
char *s;
|
||||
int start = Sys_Milliseconds();
|
||||
|
||||
// temporary
|
||||
const char *systemVersion = SysIPhoneGetOSVersion();
|
||||
printf( "systemVersion = %s\n", systemVersion );
|
||||
|
||||
z_chain.next = z_chain.prev = &z_chain;
|
||||
|
||||
InitImmediateModeGL();
|
||||
|
||||
// Prepare enough of the subsystems to handle
|
||||
// cvar and command buffer management.
|
||||
COM_InitArgv( 0, NULL ); // FIXME: get args...
|
||||
|
||||
Cmd_Init();
|
||||
Cvar_Init();
|
||||
Con_Init();
|
||||
FS_InitFilesystem();
|
||||
|
||||
// We need to add the early commands twice, because
|
||||
// a basedir or cddir needs to be set before execing
|
||||
// config files, but we want other parms to override
|
||||
// the settings of the config files.
|
||||
Cbuf_AddEarlyCommands( false );
|
||||
Cbuf_Execute();
|
||||
|
||||
R_Init();
|
||||
|
||||
Cmd_AddCommand( "reset", Reset_f );
|
||||
|
||||
developer = Cvar_Get( "developer", "0", CVAR_INIT );
|
||||
logfile_active = Cvar_Get( "logfile", "0", CVAR_INIT );
|
||||
|
||||
s = va( "%s %s %s %s %s %s", APP_VERSION, RELEASENAME, CPUSTRING, __DATE__, __TIME__, BUILDSTRING );
|
||||
Cvar_Get( "version", s, CVAR_SERVERINFO | CVAR_NOSET );
|
||||
|
||||
Con_Init();
|
||||
|
||||
Sound_Init();
|
||||
|
||||
Game_Init(); // game and player init
|
||||
|
||||
Cbuf_AddText( "exec config.cfg\n" );
|
||||
Cbuf_AddEarlyCommands( true );
|
||||
Cbuf_Execute();
|
||||
|
||||
// add + commands from command line
|
||||
Cbuf_AddLateCommands();
|
||||
Cbuf_Execute();
|
||||
|
||||
Com_Printf( "\n====== Application Initialized ======\n\n" );
|
||||
|
||||
Sound_Activate( true );
|
||||
consoleActive = 0;
|
||||
|
||||
controlScheme = Cvar_Get( "controlScheme", "0", CVAR_ARCHIVE );
|
||||
sensitivity = Cvar_Get( "sensitivity", "0.3", CVAR_ARCHIVE );
|
||||
stickTurnBase = Cvar_Get( "stickTurnBase", "300", CVAR_ARCHIVE );
|
||||
stickTurnScale = Cvar_Get( "stickTurnScale", "500", CVAR_ARCHIVE );
|
||||
stickMoveBase = Cvar_Get( "stickMoveBase", "3000", CVAR_ARCHIVE );
|
||||
stickMoveScale = Cvar_Get( "stickMoveScale", "5000", CVAR_ARCHIVE );
|
||||
stickDeadBand = Cvar_Get( "stickDeadBand", "0.2", CVAR_ARCHIVE );
|
||||
tiltTurn = Cvar_Get( "tiltTurn", "0", CVAR_ARCHIVE );
|
||||
tiltMove = Cvar_Get( "tiltMove", "0", CVAR_ARCHIVE );
|
||||
tiltFire = Cvar_Get( "tiltFire", "0", CVAR_ARCHIVE );
|
||||
music = Cvar_Get( "music", "1", CVAR_ARCHIVE );
|
||||
tiltDeadBand = Cvar_Get( "tiltDeadBand", "0.08", CVAR_ARCHIVE );
|
||||
tiltAverages = Cvar_Get( "tiltAverages", "3", CVAR_ARCHIVE );
|
||||
cropSprites = Cvar_Get( "cropSprites", "1", 0 );
|
||||
showTilt = Cvar_Get( "showTilt", "-1", 0 );
|
||||
showTime = Cvar_Get( "showTime", "0", 0 );
|
||||
blends = Cvar_Get( "blends", "1", 0 );
|
||||
gunFrame = Cvar_Get( "gunFrame", "0", 0 );
|
||||
slowAI = Cvar_Get( "slowAI", "0", 0 );
|
||||
revLand = Cvar_Get( "revLand", "0", CVAR_ARCHIVE );
|
||||
mapScale = Cvar_Get( "mapScale", "10", CVAR_ARCHIVE );
|
||||
hideControls = Cvar_Get( "hideControls", "0", CVAR_ARCHIVE );
|
||||
autoFire = Cvar_Get( "autoFire", "0", 0 );
|
||||
|
||||
// make sure volume changes and incoming calls draw the right orientation
|
||||
SysIPhoneSetUIKitOrientation( revLand->value );
|
||||
|
||||
// preload all the ogg FM synth sounds
|
||||
Com_Printf( "before ogg preload: %i msec\n", Sys_Milliseconds() - start );
|
||||
|
||||
Sound_RegisterSound( "lsfx/001.wav" );
|
||||
Sound_RegisterSound( "lsfx/003.wav" );
|
||||
Sound_RegisterSound( "lsfx/008.wav" );
|
||||
Sound_RegisterSound( "lsfx/009.wav" );
|
||||
Sound_RegisterSound( "lsfx/012.wav" );
|
||||
Sound_RegisterSound( "lsfx/023.wav" );
|
||||
Sound_RegisterSound( "lsfx/028.wav" );
|
||||
Sound_RegisterSound( "lsfx/030.wav" );
|
||||
Sound_RegisterSound( "lsfx/031.wav" );
|
||||
Sound_RegisterSound( "lsfx/033.wav" );
|
||||
Sound_RegisterSound( "lsfx/034.wav" );
|
||||
Sound_RegisterSound( "lsfx/035.wav" );
|
||||
Sound_RegisterSound( "lsfx/036.wav" );
|
||||
Sound_RegisterSound( "lsfx/037.wav" );
|
||||
Sound_RegisterSound( "lsfx/038.wav" );
|
||||
Sound_RegisterSound( "lsfx/040.wav" );
|
||||
Sound_RegisterSound( "lsfx/045.wav" );
|
||||
Sound_RegisterSound( "lsfx/061.wav" );
|
||||
Sound_RegisterSound( "lsfx/062.wav" );
|
||||
Sound_RegisterSound( "lsfx/064.wav" );
|
||||
Sound_RegisterSound( "lsfx/069.wav" );
|
||||
Sound_RegisterSound( "lsfx/076.wav" );
|
||||
Sound_RegisterSound( "lsfx/078.wav" );
|
||||
Sound_RegisterSound( "lsfx/080.wav" );
|
||||
Sound_RegisterSound( "lsfx/085.wav" );
|
||||
Sound_RegisterSound( "lsfx/086.wav" );
|
||||
|
||||
// these should get overwritten by LoadTheGame
|
||||
memset( ¤tMap, 0, sizeof( currentMap ) );
|
||||
currentMap.skill = 1;
|
||||
currentMap.episode = 0;
|
||||
HudSetForScheme( 0 );
|
||||
|
||||
Com_Printf( "before LoadTheGame: %i msec\n", Sys_Milliseconds() - start );
|
||||
|
||||
if ( !LoadTheGame() ) {
|
||||
PL_NewGame( &Player );
|
||||
iphoneStartMap( currentMap.episode, currentMap.map, currentMap.skill );
|
||||
}
|
||||
|
||||
|
||||
// always start at main menu
|
||||
menuState = IPM_MAIN;
|
||||
|
||||
Com_Printf( "startup time: %i msec\n", Sys_Milliseconds() - start );
|
||||
}
|
||||
|
||||
/*
|
||||
===================
|
||||
iphonePreloadBeforePlay
|
||||
|
||||
This couold all be done at startup, but moving a bit of the delay
|
||||
to after pressing the resume button works a little better.
|
||||
===================
|
||||
*/
|
||||
void iphonePreloadBeforePlay() {
|
||||
int start = Sys_Milliseconds();
|
||||
|
||||
// the texnums might have been different in the savegame
|
||||
HudSetTexnums();
|
||||
|
||||
// preload all the other game gui textures that might pop up
|
||||
TM_FindTexture( "iphone/gold_key.tga", TT_Pic );
|
||||
TM_FindTexture( "iphone/silver_key.tga", TT_Pic );
|
||||
TM_FindTexture( "iphone/L_damage.tga", TT_Pic );
|
||||
TM_FindTexture( "iphone/R_damage.tga", TT_Pic );
|
||||
|
||||
for ( int i = 0 ; i < 10 ; i++ ) {
|
||||
char name[64];
|
||||
sprintf( name, "iphone/%i.tga", i );
|
||||
numberPics[i] = TM_FindTexture( name, TT_Pic );
|
||||
}
|
||||
|
||||
for ( int i = 0 ; i < NUM_MUGSHOTS ; i++ ) {
|
||||
TM_FindTexture( mugshotnames[ i ], TT_Pic );
|
||||
}
|
||||
|
||||
Sound_RegisterSound( "sfx/001.wav" );
|
||||
Sound_RegisterSound( "sfx/002.wav" );
|
||||
Sound_RegisterSound( "sfx/007.wav" );
|
||||
Sound_RegisterSound( "sfx/010.wav" );
|
||||
Sound_RegisterSound( "sfx/011.wav" );
|
||||
Sound_RegisterSound( "sfx/012.wav" );
|
||||
Sound_RegisterSound( "sfx/013.wav" );
|
||||
Sound_RegisterSound( "sfx/015.wav" );
|
||||
Sound_RegisterSound( "sfx/022.wav" );
|
||||
Sound_RegisterSound( "sfx/024.wav" );
|
||||
Sound_RegisterSound( "sfx/025.wav" );
|
||||
Sound_RegisterSound( "sfx/026.wav" );
|
||||
Sound_RegisterSound( "sfx/027.wav" );
|
||||
Sound_RegisterSound( "sfx/035.wav" );
|
||||
Sound_RegisterSound( "sfx/037.wav" );
|
||||
Sound_RegisterSound( "sfx/046.wav" );
|
||||
Sound_RegisterSound( "sfx/049.wav" );
|
||||
Sound_RegisterSound( "sfx/071.wav" );
|
||||
Sound_RegisterSound( "sfx/074.wav" );
|
||||
Sound_RegisterSound( "sfx/076.wav" );
|
||||
Sound_RegisterSound( "sfx/086.wav" );
|
||||
Sound_RegisterSound( "sfx/088.wav" );
|
||||
Sound_RegisterSound( "sfx/105.wav" );
|
||||
Sound_RegisterSound( "sfx/107.wav" );
|
||||
|
||||
Com_Printf( "preloadBeforePlay(): %i msec\n", Sys_Milliseconds() - start );
|
||||
}
|
||||
|
||||
/*
|
||||
==================
|
||||
iphoneWriteConfig
|
||||
|
||||
==================
|
||||
*/
|
||||
void iphoneWriteConfig( void ) {
|
||||
FILE *fp;
|
||||
char path[ MAX_OSPATH];
|
||||
cvar_t *var;
|
||||
char buffer[1024];
|
||||
|
||||
my_snprintf( path, sizeof( path ), "%s/config.cfg", iphoneDocDirectory );
|
||||
fp = fopen( path, "w" );
|
||||
if( ! fp ) {
|
||||
Com_Printf( "Could not write config.cfg.\n" );
|
||||
return;
|
||||
}
|
||||
|
||||
// write out commands to set the archived cvars
|
||||
for( var = cvar_vars ; var ; var = var->next ) {
|
||||
if( var->flags & CVAR_ARCHIVE ) {
|
||||
my_snprintf( buffer, sizeof( buffer ), "set %s \"%s\"\n", var->name, var->string );
|
||||
fprintf( fp, "%s", buffer );
|
||||
Com_Printf( "%s", buffer );
|
||||
}
|
||||
}
|
||||
|
||||
fclose( fp );
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
==================
|
||||
iphoneShutdown
|
||||
|
||||
Save the game at this position
|
||||
==================
|
||||
*/
|
||||
void iphoneShutdown() {
|
||||
Sound_StopAllSounds();
|
||||
Sound_StopBGTrack();
|
||||
iphoneWriteConfig();
|
||||
SaveTheGame();
|
||||
exit( 0 );
|
||||
}
|
||||
|
||||
1190
wolf3d/code/iphone/iphone_menus.c
Normal file
1190
wolf3d/code/iphone/iphone_menus.c
Normal file
File diff suppressed because it is too large
Load Diff
2392
wolf3d/code/iphone/iphone_qgl.h
Normal file
2392
wolf3d/code/iphone/iphone_qgl.h
Normal file
File diff suppressed because it is too large
Load Diff
40
wolf3d/code/iphone/iphone_qgl_enumerants.h
Normal file
40
wolf3d/code/iphone/iphone_qgl_enumerants.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef IPHONE_QGL_ENUMERANTS_H
|
||||
#define IPHONE_QGL_ENUMERANTS_H
|
||||
|
||||
#ifdef QGL_LOG_GL_CALLS
|
||||
|
||||
#include <OpenGLES/ES1/gl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const char *StringFromGLEnumerant( GLenum enumerant );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // QGL_LOG_GL_CALLS
|
||||
|
||||
#endif // IPHONE_QGL_ENUMERANTS_H
|
||||
74
wolf3d/code/iphone/iphone_sys.m
Normal file
74
wolf3d/code/iphone/iphone_sys.m
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "../wolfiphone.h"
|
||||
|
||||
#import <AudioToolbox/AudioServices.h>
|
||||
//#import <UIDevice.h>
|
||||
|
||||
void interruptionListener( void *inUserData, UInt32 inInterruption)
|
||||
{
|
||||
printf("Session interrupted! --- %s ---", inInterruption == kAudioSessionBeginInterruption ? "Begin Interruption" : "End Interruption");
|
||||
|
||||
if ( inInterruption == kAudioSessionEndInterruption )
|
||||
{
|
||||
// make sure we are again the active session
|
||||
UInt32 audioCategory = kAudioSessionCategory_AmbientSound;
|
||||
AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(audioCategory), &audioCategory);
|
||||
AudioSessionSetActive( true );
|
||||
// do we need to re-initialize the sound subsystem in this case?
|
||||
}
|
||||
}
|
||||
|
||||
int otherAudioIsPlaying;
|
||||
|
||||
void SysIPhoneInitAudioSession() {
|
||||
OSStatus status = 0;
|
||||
status = AudioSessionInitialize(NULL, NULL, interruptionListener, NULL); // else "couldn't initialize audio session"
|
||||
UInt32 audioCategory = kAudioSessionCategory_AmbientSound;
|
||||
status = AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(audioCategory), &audioCategory);
|
||||
|
||||
UInt32 propOtherAudioIsPlaying = 'othr'; // kAudioSessionProperty_OtherAudioIsPlaying
|
||||
UInt32 size = sizeof( otherAudioIsPlaying );
|
||||
AudioSessionGetProperty( propOtherAudioIsPlaying, &size, &otherAudioIsPlaying );
|
||||
|
||||
status = AudioSessionSetActive(true); // else "couldn't set audio session active\n"
|
||||
}
|
||||
|
||||
int SysIPhoneOtherAudioIsPlaying() {
|
||||
static int called = 0;
|
||||
if ( called == 0 ) {
|
||||
Com_Printf("OtherAudioIsPlaying = %d\n", otherAudioIsPlaying );
|
||||
called = 1;
|
||||
}
|
||||
return otherAudioIsPlaying;
|
||||
}
|
||||
|
||||
char osVersion[32];
|
||||
|
||||
const char *SysIPhoneGetOSVersion() {
|
||||
static int called = 0;
|
||||
if ( called == 0 ) {
|
||||
called = 1;
|
||||
strcpy( osVersion, [ [ [ UIDevice currentDevice ] systemVersion ] UTF8String ] );
|
||||
}
|
||||
|
||||
return osVersion;
|
||||
}
|
||||
228
wolf3d/code/iphone/iphone_wolf.h
Normal file
228
wolf3d/code/iphone/iphone_wolf.h
Normal file
@@ -0,0 +1,228 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
// define this to get only the first episode on selections, and the
|
||||
// automatic sell screen at the end of episode 1
|
||||
//#define EPISODE_ONE_ONLY
|
||||
|
||||
// this is the version number displayed on the menu screen
|
||||
#define WOLF_IPHONE_VERSION 1.1
|
||||
|
||||
extern viddef_t viddef;
|
||||
|
||||
typedef enum menuState {
|
||||
IPM_GAME,
|
||||
IPM_MAIN,
|
||||
IPM_SKILL,
|
||||
IPM_EPISODE,
|
||||
IPM_MAPS,
|
||||
IPM_CONTROLS,
|
||||
IPM_INTERMISSION,
|
||||
IPM_VICTORY,
|
||||
IPM_AUTOMAP,
|
||||
IPM_STATS,
|
||||
IPM_HUDEDIT
|
||||
|
||||
} menuState_t;
|
||||
|
||||
extern menuState_t menuState;
|
||||
|
||||
void iphoneDrawMenus();
|
||||
|
||||
// bumped to 107 on moving powerups structure into leveldata
|
||||
// bumped to 108 with custom huds
|
||||
#define SAVEGAME_VERSION 108
|
||||
|
||||
#define MAX_SKILLS 4
|
||||
#define MAX_MAPS 60
|
||||
|
||||
#define MF_TRIED 1
|
||||
#define MF_COMPLETED 2
|
||||
#define MF_KILLS 4
|
||||
#define MF_SECRETS 8
|
||||
#define MF_TREASURE 16
|
||||
#define MF_TIME 32
|
||||
|
||||
typedef struct {
|
||||
int episode;
|
||||
int map;
|
||||
int skill;
|
||||
int levelCompleted; // already at intermission when saved
|
||||
int version;
|
||||
int mapFlags[MAX_SKILLS][MAX_MAPS];
|
||||
} currentMap_t;
|
||||
|
||||
extern currentMap_t currentMap;
|
||||
|
||||
void iphoneStartMap( int episodeNum, int mapNum, int skillLevel );
|
||||
|
||||
extern char iphoneDocDirectory[1024];
|
||||
extern char iphoneAppDirectory[1024];
|
||||
|
||||
extern texture_t *numberPics[10];
|
||||
#define NUM_MUGSHOTS 23
|
||||
extern char *mugshotnames[ NUM_MUGSHOTS ];
|
||||
|
||||
extern vec3_t vnull;
|
||||
|
||||
void Client_PrepRefresh( const char *r_mapname );
|
||||
|
||||
extern int iphoneFrameNum;
|
||||
extern int intermissionTriggerFrame;
|
||||
extern int consoleActive;
|
||||
|
||||
extern cvar_t *controlScheme;
|
||||
extern cvar_t *sensitivity;
|
||||
extern cvar_t *stickTurnBase;
|
||||
extern cvar_t *stickTurnScale;
|
||||
extern cvar_t *stickMoveBase;
|
||||
extern cvar_t *stickMoveScale;
|
||||
extern cvar_t *stickDeadBand;
|
||||
extern cvar_t *tiltTurn;
|
||||
extern cvar_t *tiltMove;
|
||||
extern cvar_t *tiltDeadBand;
|
||||
extern cvar_t *tiltAverages;
|
||||
extern cvar_t *tiltFire;
|
||||
extern cvar_t *music;
|
||||
extern cvar_t *showTilt;
|
||||
extern cvar_t *showTime;
|
||||
extern cvar_t *cropSprites;
|
||||
extern cvar_t *blends;
|
||||
extern cvar_t *gunFrame;
|
||||
extern cvar_t *slowAI;
|
||||
extern cvar_t *revLand;
|
||||
extern cvar_t *mapScale;
|
||||
extern cvar_t *hideControls;
|
||||
extern cvar_t *autoFire;
|
||||
|
||||
// the native iPhone code should set the following each frame:
|
||||
extern int numTouches;
|
||||
extern int touches[5][2]; // [0] = x, [1] = y in landscape mode, raster order with y = 0 at top
|
||||
extern float tilt; // -1.0 to 1.0
|
||||
extern float tiltPitch;
|
||||
|
||||
// so we can detect button releases
|
||||
extern int numPrevTouches;
|
||||
extern int prevTouches[5][2];
|
||||
|
||||
typedef struct {
|
||||
int enterFrame;
|
||||
int beforeSwap;
|
||||
int afterSwap;
|
||||
} logTime_t;
|
||||
#define MAX_LOGGED_TIMES 512
|
||||
extern logTime_t loggedTimes[MAX_LOGGED_TIMES]; // indexed by iphoneFrameNum
|
||||
|
||||
void LoadWallTexture( int wallPicNum );
|
||||
|
||||
int TouchDown( int x, int y, int w, int h );
|
||||
int TouchReleased( int x, int y, int w, int h );
|
||||
int iphoneCenterText( int x, int y, const char *str );
|
||||
void iphoneDrawNumber( int x, int y, int number, int charWidth, int charHeight );
|
||||
void iphoneDrawPic( int x, int y, int w, int h, const char *pic );
|
||||
int iphoneDrawPicWithTouch( int x, int y, int w, int h, const char *pic );
|
||||
void iphoneDrawPicNum( int x, int y, int w, int h, int glTexNum );
|
||||
void R_Draw_Blend( int x, int y, int w, int h, colour4_t c );
|
||||
void SaveTheGame();
|
||||
int LoadTheGame();
|
||||
void StartGame();
|
||||
void iphoneOpenAutomap();
|
||||
void iphoneDrawFace();
|
||||
void iphoneDrawNotifyText();
|
||||
void iphonePreloadBeforePlay();
|
||||
|
||||
void InitImmediateModeGL();
|
||||
void iphoneRotateForLandscape();
|
||||
void iphoneCheckForLandscapeReverse();
|
||||
|
||||
extern colour4_t colorPressed;
|
||||
|
||||
extern int damageflash;
|
||||
extern int bonusFrameNum;
|
||||
extern int attackDirTime[2];
|
||||
|
||||
|
||||
#define HF_DISABLED 1
|
||||
|
||||
typedef struct {
|
||||
int x, y;
|
||||
int width, height;
|
||||
int glTexNum;
|
||||
int hudFlags;
|
||||
} hudPic_t;
|
||||
|
||||
//#define ALLOW_MAP_VIEW_HUD
|
||||
|
||||
typedef struct {
|
||||
hudPic_t forwardStick;
|
||||
hudPic_t sideStick;
|
||||
hudPic_t turnStick;
|
||||
hudPic_t fire;
|
||||
hudPic_t menu;
|
||||
hudPic_t map;
|
||||
hudPic_t ammo;
|
||||
#ifdef ALLOW_MAP_VIEW_HUD
|
||||
hudPic_t mapView;
|
||||
#endif
|
||||
} hud_t;
|
||||
|
||||
extern hud_t huds;
|
||||
|
||||
void HudSetForScheme( int schemeNum );
|
||||
void HudSetTexnums();
|
||||
void HudEditFrame();
|
||||
|
||||
|
||||
|
||||
//---------------------------------------
|
||||
// interfaces from the original game code
|
||||
//---------------------------------------
|
||||
void iphoneStartBonusFlash();
|
||||
void iphoneStartDamageFlash( int points );
|
||||
void iphoneSetAttackDirection( int dir );
|
||||
void iphoneStartIntermission( int framesFromNow );
|
||||
void iphoneSetNotifyText( const char *str, ... );
|
||||
|
||||
//---------------------------------------
|
||||
// interfaces to Objective-C land
|
||||
//---------------------------------------
|
||||
void SysIPhoneSwapBuffers();
|
||||
void SysIPhoneVibrate();
|
||||
void SysIPhoneOpenURL( const char *url );
|
||||
void SysIPhoneSetUIKitOrientation( int isLandscapeRight );
|
||||
void SysIPhoneLoadJPG( W8* jpegData, int jpegBytes, W8 **pic, W16 *width, W16 *height, W16 *bytes );
|
||||
const char * SysIPhoneGetConsoleTextField();
|
||||
void SysIPhoneSetConsoleTextField(const char *);
|
||||
void SysIPhoneInitAudioSession();
|
||||
int SysIPhoneOtherAudioIsPlaying();
|
||||
const char *SysIPhoneGetOSVersion();
|
||||
|
||||
//---------------------------------------
|
||||
// interfaces from Objective-C land
|
||||
//---------------------------------------
|
||||
void iphoneStartup();
|
||||
void iphoneShutdown();
|
||||
void iphoneFrame();
|
||||
void iphoneTiltEvent( float *tilts );
|
||||
void iphoneTouchEvent( int numTouches, int touches[16] );
|
||||
void iphoneActivateConsole();
|
||||
void iphoneDeactivateConsole();
|
||||
void iphoneExecuteCommandLine();
|
||||
|
||||
46
wolf3d/code/iphone/main.m
Normal file
46
wolf3d/code/iphone/main.m
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
{
|
||||
char cwd[256];
|
||||
strcpy( cwd, argv[0] );
|
||||
int len = strlen( cwd );
|
||||
for( int i = len-1; i >= 0; i-- ) {
|
||||
if ( cwd[i] == '/' ) {
|
||||
cwd[i] = 0;
|
||||
break;
|
||||
}
|
||||
cwd[i] = 0;
|
||||
}
|
||||
setenv( "CWD", cwd, 1 );
|
||||
}
|
||||
|
||||
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
||||
int retVal = UIApplicationMain(argc, argv, nil, nil);
|
||||
[pool release];
|
||||
return retVal;
|
||||
}
|
||||
BIN
wolf3d/code/iphone/victory_wolf3dlite.tga
Normal file
BIN
wolf3d/code/iphone/victory_wolf3dlite.tga
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 256 KiB |
309
wolf3d/code/iphone/wolf3d.xcodeproj/cass.pbxuser
Normal file
309
wolf3d/code/iphone/wolf3d.xcodeproj/cass.pbxuser
Normal file
@@ -0,0 +1,309 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
1D6058900D05DD3D006BFB54 /* wolf3d */ = {
|
||||
activeExec = 0;
|
||||
executables = (
|
||||
4339B0150F9A27E100D3517B /* wolf3d */,
|
||||
);
|
||||
};
|
||||
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
||||
activeBuildConfigurationName = AdHocDistLite;
|
||||
activeExecutable = 4339B0150F9A27E100D3517B /* wolf3d */;
|
||||
activeSDKPreference = iphoneos2.0;
|
||||
activeTarget = 1D6058900D05DD3D006BFB54 /* wolf3d */;
|
||||
addToTargets = (
|
||||
1D6058900D05DD3D006BFB54 /* wolf3d */,
|
||||
);
|
||||
codeSenseManager = 4339B0380F9A27F600D3517B /* Code sense */;
|
||||
executables = (
|
||||
4339B0150F9A27E100D3517B /* wolf3d */,
|
||||
);
|
||||
perUserDictionary = {
|
||||
PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = {
|
||||
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
|
||||
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
|
||||
PBXFileTableDataSourceColumnWidthsKey = (
|
||||
20,
|
||||
701,
|
||||
20,
|
||||
48,
|
||||
43,
|
||||
43,
|
||||
20,
|
||||
);
|
||||
PBXFileTableDataSourceColumnsKey = (
|
||||
PBXFileDataSource_FiletypeID,
|
||||
PBXFileDataSource_Filename_ColumnID,
|
||||
PBXFileDataSource_Built_ColumnID,
|
||||
PBXFileDataSource_ObjectSize_ColumnID,
|
||||
PBXFileDataSource_Errors_ColumnID,
|
||||
PBXFileDataSource_Warnings_ColumnID,
|
||||
PBXFileDataSource_Target_ColumnID,
|
||||
);
|
||||
};
|
||||
PBXConfiguration.PBXFileTableDataSource3.PBXFindDataSource = {
|
||||
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
|
||||
PBXFileTableDataSourceColumnSortingKey = PBXFindDataSource_LocationID;
|
||||
PBXFileTableDataSourceColumnWidthsKey = (
|
||||
200,
|
||||
715,
|
||||
);
|
||||
PBXFileTableDataSourceColumnsKey = (
|
||||
PBXFindDataSource_MessageID,
|
||||
PBXFindDataSource_LocationID,
|
||||
);
|
||||
};
|
||||
PBXConfiguration.PBXTargetDataSource.PBXTargetDataSource = {
|
||||
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
|
||||
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
|
||||
PBXFileTableDataSourceColumnWidthsKey = (
|
||||
20,
|
||||
661,
|
||||
60,
|
||||
20,
|
||||
48,
|
||||
43,
|
||||
43,
|
||||
);
|
||||
PBXFileTableDataSourceColumnsKey = (
|
||||
PBXFileDataSource_FiletypeID,
|
||||
PBXFileDataSource_Filename_ColumnID,
|
||||
PBXTargetDataSource_PrimaryAttribute,
|
||||
PBXFileDataSource_Built_ColumnID,
|
||||
PBXFileDataSource_ObjectSize_ColumnID,
|
||||
PBXFileDataSource_Errors_ColumnID,
|
||||
PBXFileDataSource_Warnings_ColumnID,
|
||||
);
|
||||
};
|
||||
PBXPerProjectTemplateStateSaveDate = 262020617;
|
||||
PBXWorkspaceStateSaveDate = 262020617;
|
||||
};
|
||||
perUserProjectItems = {
|
||||
439BD4810F9A49880078F31F /* PBXBookmark */ = 439BD4810F9A49880078F31F /* PBXBookmark */;
|
||||
43C41E770FA16AC40096E9EC /* PBXTextBookmark */ = 43C41E770FA16AC40096E9EC /* PBXTextBookmark */;
|
||||
43C41E780FA16AC40096E9EC /* PlistBookmark */ = 43C41E780FA16AC40096E9EC /* PlistBookmark */;
|
||||
43C41E790FA16AC40096E9EC /* PBXBookmark */ = 43C41E790FA16AC40096E9EC /* PBXBookmark */;
|
||||
43C41E7A0FA16AC40096E9EC /* PBXTextBookmark */ = 43C41E7A0FA16AC40096E9EC /* PBXTextBookmark */;
|
||||
43C41E7B0FA16AC40096E9EC /* PlistBookmark */ = 43C41E7B0FA16AC40096E9EC /* PlistBookmark */;
|
||||
43C41E7C0FA16AC40096E9EC /* PBXBookmark */ = 43C41E7C0FA16AC40096E9EC /* PBXBookmark */;
|
||||
43CE171E0F9BBFB900EE0AE2 /* PBXTextBookmark */ = 43CE171E0F9BBFB900EE0AE2 /* PBXTextBookmark */;
|
||||
43CE17200F9BBFB900EE0AE2 /* PlistBookmark */ = 43CE17200F9BBFB900EE0AE2 /* PlistBookmark */;
|
||||
43CE17220F9BBFB900EE0AE2 /* PBXTextBookmark */ = 43CE17220F9BBFB900EE0AE2 /* PBXTextBookmark */;
|
||||
43E3412D0F9BB6AB003C5D00 /* PBXBookmark */ = 43E3412D0F9BB6AB003C5D00 /* PBXBookmark */;
|
||||
43E3412E0F9BB6AB003C5D00 /* PBXTextBookmark */ = 43E3412E0F9BB6AB003C5D00 /* PBXTextBookmark */;
|
||||
43E3412F0F9BB6AB003C5D00 /* PBXTextBookmark */ = 43E3412F0F9BB6AB003C5D00 /* PBXTextBookmark */;
|
||||
43E341330F9BB6AB003C5D00 /* PBXTextBookmark */ = 43E341330F9BB6AB003C5D00 /* PBXTextBookmark */;
|
||||
43E341340F9BB6AB003C5D00 /* PBXTextBookmark */ = 43E341340F9BB6AB003C5D00 /* PBXTextBookmark */;
|
||||
43E341350F9BB6AB003C5D00 /* PBXTextBookmark */ = 43E341350F9BB6AB003C5D00 /* PBXTextBookmark */;
|
||||
};
|
||||
sourceControlManager = 4339B0370F9A27F600D3517B /* Source Control */;
|
||||
userBuildSettings = {
|
||||
};
|
||||
};
|
||||
4339B0150F9A27E100D3517B /* wolf3d */ = {
|
||||
isa = PBXExecutable;
|
||||
activeArgIndices = (
|
||||
);
|
||||
argumentStrings = (
|
||||
);
|
||||
autoAttachOnCrash = 1;
|
||||
breakpointsEnabled = 0;
|
||||
configStateDict = {
|
||||
};
|
||||
customDataFormattersEnabled = 1;
|
||||
debuggerPlugin = GDBDebugging;
|
||||
disassemblyDisplayState = 0;
|
||||
dylibVariantSuffix = "";
|
||||
enableDebugStr = 1;
|
||||
environmentEntries = (
|
||||
);
|
||||
executableSystemSymbolLevel = 0;
|
||||
executableUserSymbolLevel = 0;
|
||||
libgmallocEnabled = 0;
|
||||
name = wolf3d;
|
||||
savedGlobals = {
|
||||
};
|
||||
sourceDirectories = (
|
||||
);
|
||||
variableFormatDictionary = {
|
||||
};
|
||||
};
|
||||
4339B0370F9A27F600D3517B /* Source Control */ = {
|
||||
isa = PBXSourceControlManager;
|
||||
fallbackIsa = XCSourceControlManager;
|
||||
isSCMEnabled = 0;
|
||||
scmConfiguration = {
|
||||
};
|
||||
};
|
||||
4339B0380F9A27F600D3517B /* Code sense */ = {
|
||||
isa = PBXCodeSenseManager;
|
||||
indexTemplatePath = "";
|
||||
};
|
||||
439BD4810F9A49880078F31F /* PBXBookmark */ = {
|
||||
isa = PBXBookmark;
|
||||
fRef = 43CF02FE0F56974E00E4A23D /* Default.png */;
|
||||
};
|
||||
43C41E770FA16AC40096E9EC /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 72A7E8F60F5F2063005B83C0 /* iphone_menus.c */;
|
||||
name = "iphone_menus.c: 183";
|
||||
rLen = 0;
|
||||
rLoc = 4436;
|
||||
rType = 0;
|
||||
vrLen = 148;
|
||||
vrLoc = 4029;
|
||||
};
|
||||
43C41E780FA16AC40096E9EC /* PlistBookmark */ = {
|
||||
isa = PlistBookmark;
|
||||
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
|
||||
fallbackIsa = PBXBookmark;
|
||||
isK = 0;
|
||||
kPath = (
|
||||
);
|
||||
name = /Users/cass/dev/id/iphone/wolf3d/code/iphone/Info.plist;
|
||||
rLen = 0;
|
||||
rLoc = 2147483647;
|
||||
};
|
||||
43C41E790FA16AC40096E9EC /* PBXBookmark */ = {
|
||||
isa = PBXBookmark;
|
||||
fRef = 43E341280F9BB4B6003C5D00 /* wolf3dlite_icon.png */;
|
||||
};
|
||||
43C41E7A0FA16AC40096E9EC /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 72A7E8F60F5F2063005B83C0 /* iphone_menus.c */;
|
||||
name = "iphone_menus.c: 183";
|
||||
rLen = 0;
|
||||
rLoc = 4436;
|
||||
rType = 0;
|
||||
vrLen = 148;
|
||||
vrLoc = 4029;
|
||||
};
|
||||
43C41E7B0FA16AC40096E9EC /* PlistBookmark */ = {
|
||||
isa = PlistBookmark;
|
||||
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
|
||||
fallbackIsa = PBXBookmark;
|
||||
isK = 0;
|
||||
kPath = (
|
||||
);
|
||||
name = /Users/cass/dev/id/iphone/wolf3d/code/iphone/Info.plist;
|
||||
rLen = 0;
|
||||
rLoc = 2147483647;
|
||||
};
|
||||
43C41E7C0FA16AC40096E9EC /* PBXBookmark */ = {
|
||||
isa = PBXBookmark;
|
||||
fRef = 43E341280F9BB4B6003C5D00 /* wolf3dlite_icon.png */;
|
||||
};
|
||||
43CE171E0F9BBFB900EE0AE2 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 72A7E8F30F5F2001005B83C0 /* iphone_wolf.h */;
|
||||
name = "iphone_wolf.h: 38";
|
||||
rLen = 14;
|
||||
rLoc = 1123;
|
||||
rType = 0;
|
||||
vrLen = 622;
|
||||
vrLoc = 529;
|
||||
};
|
||||
43CE17200F9BBFB900EE0AE2 /* PlistBookmark */ = {
|
||||
isa = PlistBookmark;
|
||||
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
|
||||
fallbackIsa = PBXBookmark;
|
||||
isK = 0;
|
||||
kPath = (
|
||||
);
|
||||
name = /Users/cass/dev/id/iphone/wolf3d/code/iphone/Info.plist;
|
||||
rLen = 0;
|
||||
rLoc = 2147483647;
|
||||
};
|
||||
43CE17220F9BBFB900EE0AE2 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 72A7E8F30F5F2001005B83C0 /* iphone_wolf.h */;
|
||||
name = "iphone_wolf.h: 38";
|
||||
rLen = 14;
|
||||
rLoc = 1123;
|
||||
rType = 0;
|
||||
vrLen = 622;
|
||||
vrLoc = 529;
|
||||
};
|
||||
43E3412D0F9BB6AB003C5D00 /* PBXBookmark */ = {
|
||||
isa = PBXBookmark;
|
||||
fRef = 43CF02FE0F56974E00E4A23D /* Default.png */;
|
||||
};
|
||||
43E3412E0F9BB6AB003C5D00 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 7229CC300F6B3222004123C5 /* wolf_doors.c */;
|
||||
name = "wolf_doors.c: 355";
|
||||
rLen = 0;
|
||||
rLoc = 8077;
|
||||
rType = 0;
|
||||
vrLen = 685;
|
||||
vrLoc = 7833;
|
||||
};
|
||||
43E3412F0F9BB6AB003C5D00 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 7229CC340F6B3222004123C5 /* wolf_main.c */;
|
||||
name = "wolf_main.c: 75";
|
||||
rLen = 4;
|
||||
rLoc = 1741;
|
||||
rType = 0;
|
||||
vrLen = 507;
|
||||
vrLoc = 1412;
|
||||
};
|
||||
43E341330F9BB6AB003C5D00 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 7229CC300F6B3222004123C5 /* wolf_doors.c */;
|
||||
name = "wolf_doors.c: 355";
|
||||
rLen = 0;
|
||||
rLoc = 8077;
|
||||
rType = 0;
|
||||
vrLen = 685;
|
||||
vrLoc = 7833;
|
||||
};
|
||||
43E341340F9BB6AB003C5D00 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 72A7E8F60F5F2063005B83C0 /* iphone_menus.c */;
|
||||
name = "iphone_menus.c: 531";
|
||||
rLen = 0;
|
||||
rLoc = 13273;
|
||||
rType = 0;
|
||||
vrLen = 465;
|
||||
vrLoc = 12924;
|
||||
};
|
||||
43E341350F9BB6AB003C5D00 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 7229CC340F6B3222004123C5 /* wolf_main.c */;
|
||||
name = "wolf_main.c: 75";
|
||||
rLen = 4;
|
||||
rLoc = 1741;
|
||||
rType = 0;
|
||||
vrLen = 507;
|
||||
vrLoc = 1412;
|
||||
};
|
||||
7229CC300F6B3222004123C5 /* wolf_doors.c */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {900, 6972}}";
|
||||
sepNavSelRange = "{8077, 0}";
|
||||
sepNavVisRange = "{7833, 685}";
|
||||
};
|
||||
};
|
||||
7229CC340F6B3222004123C5 /* wolf_main.c */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {879, 1232}}";
|
||||
sepNavSelRange = "{1741, 4}";
|
||||
sepNavVisRange = "{1412, 507}";
|
||||
};
|
||||
};
|
||||
72A7E8F30F5F2001005B83C0 /* iphone_wolf.h */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {879, 3276}}";
|
||||
sepNavSelRange = "{1123, 14}";
|
||||
sepNavVisRange = "{529, 622}";
|
||||
};
|
||||
};
|
||||
72A7E8F60F5F2063005B83C0 /* iphone_menus.c */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {879, 16688}}";
|
||||
sepNavSelRange = "{4436, 0}";
|
||||
sepNavVisRange = "{4029, 148}";
|
||||
};
|
||||
};
|
||||
}
|
||||
1544
wolf3d/code/iphone/wolf3d.xcodeproj/cass.perspectivev3
Normal file
1544
wolf3d/code/iphone/wolf3d.xcodeproj/cass.perspectivev3
Normal file
File diff suppressed because it is too large
Load Diff
1524
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.mode1v3
Normal file
1524
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.mode1v3
Normal file
File diff suppressed because it is too large
Load Diff
9317
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.pbxuser
Normal file
9317
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.pbxuser
Normal file
File diff suppressed because it is too large
Load Diff
1884
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.perspectivev3
Normal file
1884
wolf3d/code/iphone/wolf3d.xcodeproj/johnc.perspectivev3
Normal file
File diff suppressed because it is too large
Load Diff
899
wolf3d/code/iphone/wolf3d.xcodeproj/project.pbxproj
Normal file
899
wolf3d/code/iphone/wolf3d.xcodeproj/project.pbxproj
Normal file
@@ -0,0 +1,899 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 45;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
|
||||
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
|
||||
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
|
||||
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
|
||||
28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; };
|
||||
4333CCE80F5CC23E00AE2B6F /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4333CCE70F5CC23E00AE2B6F /* AudioToolbox.framework */; };
|
||||
4364BF3F0F5CB25900F29317 /* dist.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4364BF3E0F5CB25900F29317 /* dist.plist */; };
|
||||
43AE7E9F0F67387500B2F562 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43AE7E9E0F67387500B2F562 /* CoreGraphics.framework */; };
|
||||
43AF6B950F996DA200777569 /* iphone_sys.m in Sources */ = {isa = PBXBuildFile; fileRef = 43AF6B940F996DA200777569 /* iphone_sys.m */; };
|
||||
43CF02ED0F56955F00E4A23D /* wolf3d_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 43CF02EC0F56955F00E4A23D /* wolf3d_icon.png */; };
|
||||
43CF02FF0F56974E00E4A23D /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 43CF02FE0F56974E00E4A23D /* Default.png */; };
|
||||
43CF030A0F56D5C200E4A23D /* iphone_loop.c in Sources */ = {isa = PBXBuildFile; fileRef = 43CF03090F56D5C200E4A23D /* iphone_loop.c */; };
|
||||
43E341290F9BB4B6003C5D00 /* wolf3dlite_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 43E341280F9BB4B6003C5D00 /* wolf3dlite_icon.png */; };
|
||||
43E8D2E10F4FC61E003F09B2 /* iphone_main.c in Sources */ = {isa = PBXBuildFile; fileRef = 43E8D2DF0F4FC61E003F09B2 /* iphone_main.c */; };
|
||||
43E8D4E00F51B48B003F09B2 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43E8D4DF0F51B48B003F09B2 /* OpenAL.framework */; };
|
||||
720EBBAE0F82E0BB003F989A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 720EBBAD0F82E0BB003F989A /* QuartzCore.framework */; };
|
||||
7229CC460F6B3222004123C5 /* wolf_actor_ai.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC250F6B3222004123C5 /* wolf_actor_ai.c */; };
|
||||
7229CC470F6B3222004123C5 /* wolf_actors.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC270F6B3222004123C5 /* wolf_actors.c */; };
|
||||
7229CC480F6B3222004123C5 /* wolf_ai_com.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC290F6B3222004123C5 /* wolf_ai_com.c */; };
|
||||
7229CC490F6B3222004123C5 /* wolf_areas.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC2B0F6B3222004123C5 /* wolf_areas.c */; };
|
||||
7229CC4A0F6B3222004123C5 /* wolf_bj.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC2C0F6B3222004123C5 /* wolf_bj.c */; };
|
||||
7229CC4B0F6B3222004123C5 /* wolf_client_main.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC2E0F6B3222004123C5 /* wolf_client_main.c */; };
|
||||
7229CC4D0F6B3222004123C5 /* wolf_doors.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC300F6B3222004123C5 /* wolf_doors.c */; };
|
||||
7229CC4E0F6B3222004123C5 /* wolf_level.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC310F6B3222004123C5 /* wolf_level.c */; };
|
||||
7229CC4F0F6B3222004123C5 /* wolf_main.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC340F6B3222004123C5 /* wolf_main.c */; };
|
||||
7229CC500F6B3222004123C5 /* wolf_math.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC350F6B3222004123C5 /* wolf_math.c */; };
|
||||
7229CC510F6B3222004123C5 /* wolf_opengl.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC370F6B3222004123C5 /* wolf_opengl.c */; };
|
||||
7229CC520F6B3222004123C5 /* wolf_player.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC380F6B3222004123C5 /* wolf_player.c */; };
|
||||
7229CC530F6B3222004123C5 /* wolf_powerups.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC3A0F6B3222004123C5 /* wolf_powerups.c */; };
|
||||
7229CC540F6B3222004123C5 /* wolf_pushwalls.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC3C0F6B3222004123C5 /* wolf_pushwalls.c */; };
|
||||
7229CC550F6B3222004123C5 /* wolf_raycast.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC3D0F6B3222004123C5 /* wolf_raycast.c */; };
|
||||
7229CC560F6B3222004123C5 /* wolf_renderer.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC3F0F6B3222004123C5 /* wolf_renderer.c */; };
|
||||
7229CC570F6B3222004123C5 /* wolf_sprites.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC410F6B3222004123C5 /* wolf_sprites.c */; };
|
||||
7229CC580F6B3222004123C5 /* wolf_sv_ccmds.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC430F6B3222004123C5 /* wolf_sv_ccmds.c */; };
|
||||
7229CC590F6B3222004123C5 /* wolf_weapon.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC440F6B3222004123C5 /* wolf_weapon.c */; };
|
||||
7229CC7D0F6B3295004123C5 /* bitwise.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC5D0F6B3295004123C5 /* bitwise.c */; };
|
||||
7229CC7E0F6B3295004123C5 /* block.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC5E0F6B3295004123C5 /* block.c */; };
|
||||
7229CC7F0F6B3295004123C5 /* codebook.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC600F6B3295004123C5 /* codebook.c */; };
|
||||
7229CC800F6B3295004123C5 /* floor0.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC640F6B3295004123C5 /* floor0.c */; };
|
||||
7229CC810F6B3295004123C5 /* floor1.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC650F6B3295004123C5 /* floor1.c */; };
|
||||
7229CC820F6B3295004123C5 /* framing.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC660F6B3295004123C5 /* framing.c */; };
|
||||
7229CC830F6B3295004123C5 /* info.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC670F6B3295004123C5 /* info.c */; };
|
||||
7229CC850F6B3295004123C5 /* mapping0.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC6C0F6B3295004123C5 /* mapping0.c */; };
|
||||
7229CC860F6B3295004123C5 /* mdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC6D0F6B3295004123C5 /* mdct.c */; };
|
||||
7229CC870F6B3295004123C5 /* registry.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC740F6B3295004123C5 /* registry.c */; };
|
||||
7229CC880F6B3295004123C5 /* res012.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC760F6B3295004123C5 /* res012.c */; };
|
||||
7229CC890F6B3295004123C5 /* sharedbook.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC770F6B3295004123C5 /* sharedbook.c */; };
|
||||
7229CC8A0F6B3295004123C5 /* synthesis.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC780F6B3295004123C5 /* synthesis.c */; };
|
||||
7229CC8B0F6B3295004123C5 /* vorbisfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC790F6B3295004123C5 /* vorbisfile.c */; };
|
||||
7229CC8C0F6B3295004123C5 /* window.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CC7A0F6B3295004123C5 /* window.c */; };
|
||||
7229CE4A0F6C89F8004123C5 /* EAGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = 7229CE460F6C89F8004123C5 /* EAGLView.m */; };
|
||||
7229CE4C0F6C89F8004123C5 /* wolf3dAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7229CE490F6C89F8004123C5 /* wolf3dAppDelegate.m */; };
|
||||
7229CE550F6C8CDE004123C5 /* gles_glue.c in Sources */ = {isa = PBXBuildFile; fileRef = 7229CE540F6C8CDE004123C5 /* gles_glue.c */; };
|
||||
72935B740F6B2D9D0085DD28 /* angle.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B1A0F6B2D9D0085DD28 /* angle.c */; };
|
||||
72935B750F6B2D9D0085DD28 /* arch.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B1D0F6B2D9D0085DD28 /* arch.c */; };
|
||||
72935B790F6B2D9D0085DD28 /* cmd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B230F6B2D9D0085DD28 /* cmd.c */; };
|
||||
72935B7A0F6B2D9D0085DD28 /* com_string.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B250F6B2D9D0085DD28 /* com_string.c */; };
|
||||
72935B7B0F6B2D9D0085DD28 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B270F6B2D9D0085DD28 /* common.c */; };
|
||||
72935B7C0F6B2D9D0085DD28 /* console.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B2A0F6B2D9D0085DD28 /* console.c */; };
|
||||
72935B7E0F6B2D9D0085DD28 /* cvar.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B2D0F6B2D9D0085DD28 /* cvar.c */; };
|
||||
72935B7F0F6B2D9D0085DD28 /* fileio.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B2F0F6B2D9D0085DD28 /* fileio.c */; };
|
||||
72935B800F6B2D9D0085DD28 /* files.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B310F6B2D9D0085DD28 /* files.c */; };
|
||||
72935B810F6B2D9D0085DD28 /* filestring.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B320F6B2D9D0085DD28 /* filestring.c */; };
|
||||
72935B820F6B2D9D0085DD28 /* font_manager.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B350F6B2D9D0085DD28 /* font_manager.c */; };
|
||||
72935B830F6B2D9D0085DD28 /* glob.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B370F6B2D9D0085DD28 /* glob.c */; };
|
||||
72935B870F6B2D9D0085DD28 /* math.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B3E0F6B2D9D0085DD28 /* math.c */; };
|
||||
72935B880F6B2D9D0085DD28 /* matrix.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B3F0F6B2D9D0085DD28 /* matrix.c */; };
|
||||
72935B890F6B2D9D0085DD28 /* memory.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B410F6B2D9D0085DD28 /* memory.c */; };
|
||||
72935B8B0F6B2D9D0085DD28 /* oggfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B490F6B2D9D0085DD28 /* oggfile.c */; };
|
||||
72935B8C0F6B2D9D0085DD28 /* openal_binding.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B4B0F6B2D9D0085DD28 /* openal_binding.c */; };
|
||||
72935B8D0F6B2D9D0085DD28 /* openal_main.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B4D0F6B2D9D0085DD28 /* openal_main.c */; };
|
||||
72935B8F0F6B2D9D0085DD28 /* opengl_draw.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B500F6B2D9D0085DD28 /* opengl_draw.c */; };
|
||||
72935B910F6B2D9D0085DD28 /* opengl_main.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B530F6B2D9D0085DD28 /* opengl_main.c */; };
|
||||
72935B920F6B2D9D0085DD28 /* opengl_texture.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B540F6B2D9D0085DD28 /* opengl_texture.c */; };
|
||||
72935B930F6B2D9D0085DD28 /* random_number.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B560F6B2D9D0085DD28 /* random_number.c */; };
|
||||
72935B940F6B2D9D0085DD28 /* share.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B590F6B2D9D0085DD28 /* share.c */; };
|
||||
72935B950F6B2D9D0085DD28 /* sound.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B5A0F6B2D9D0085DD28 /* sound.c */; };
|
||||
72935B960F6B2D9D0085DD28 /* sound_sfx_id.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B5D0F6B2D9D0085DD28 /* sound_sfx_id.c */; };
|
||||
72935B970F6B2D9D0085DD28 /* sound_stream.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B5E0F6B2D9D0085DD28 /* sound_stream.c */; };
|
||||
72935B990F6B2D9D0085DD28 /* texture_manager.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B610F6B2D9D0085DD28 /* texture_manager.c */; };
|
||||
72935B9A0F6B2D9D0085DD28 /* tga.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B630F6B2D9D0085DD28 /* tga.c */; };
|
||||
72935B9C0F6B2D9D0085DD28 /* unix_file.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B680F6B2D9D0085DD28 /* unix_file.c */; };
|
||||
72935B9E0F6B2D9D0085DD28 /* unix_timer.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B6A0F6B2D9D0085DD28 /* unix_timer.c */; };
|
||||
72935B9F0F6B2D9D0085DD28 /* vector.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B6B0F6B2D9D0085DD28 /* vector.c */; };
|
||||
72935BA00F6B2D9D0085DD28 /* wavfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B6E0F6B2D9D0085DD28 /* wavfile.c */; };
|
||||
72935BA20F6B2D9D0085DD28 /* zmem.c in Sources */ = {isa = PBXBuildFile; fileRef = 72935B720F6B2D9D0085DD28 /* zmem.c */; };
|
||||
72A7E8F70F5F2063005B83C0 /* iphone_menus.c in Sources */ = {isa = PBXBuildFile; fileRef = 72A7E8F60F5F2063005B83C0 /* iphone_menus.c */; };
|
||||
72B5FF390F7E5C3D00C8A372 /* hud.c in Sources */ = {isa = PBXBuildFile; fileRef = 72B5FF380F7E5C3D00C8A372 /* hud.c */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
1D6058910D05DD3D006BFB54 /* wolf3dlite.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = wolf3dlite.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
|
||||
28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
|
||||
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
32CA4F630368D1EE00C91783 /* wolf3d_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wolf3d_Prefix.pch; sourceTree = "<group>"; };
|
||||
4333CCE70F5CC23E00AE2B6F /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; };
|
||||
4364BF3E0F5CB25900F29317 /* dist.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = dist.plist; sourceTree = "<group>"; };
|
||||
43AE7E9E0F67387500B2F562 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||
43AF6B940F996DA200777569 /* iphone_sys.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iphone_sys.m; sourceTree = "<group>"; };
|
||||
43CF02EC0F56955F00E4A23D /* wolf3d_icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wolf3d_icon.png; sourceTree = "<group>"; };
|
||||
43CF02FE0F56974E00E4A23D /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
|
||||
43CF03090F56D5C200E4A23D /* iphone_loop.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = iphone_loop.c; sourceTree = "<group>"; };
|
||||
43E341280F9BB4B6003C5D00 /* wolf3dlite_icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wolf3dlite_icon.png; sourceTree = "<group>"; };
|
||||
43E8D2DF0F4FC61E003F09B2 /* iphone_main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = iphone_main.c; sourceTree = "<group>"; };
|
||||
43E8D4DF0F51B48B003F09B2 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = /System/Library/Frameworks/OpenAL.framework; sourceTree = "<absolute>"; };
|
||||
720EBBAD0F82E0BB003F989A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; };
|
||||
7229CC240F6B3222004123C5 /* wolf_act_stat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_act_stat.h; path = ../wolf/wolf_act_stat.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC250F6B3222004123C5 /* wolf_actor_ai.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_actor_ai.c; path = ../wolf/wolf_actor_ai.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC260F6B3222004123C5 /* wolf_actor_ai.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_actor_ai.h; path = ../wolf/wolf_actor_ai.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC270F6B3222004123C5 /* wolf_actors.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_actors.c; path = ../wolf/wolf_actors.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC280F6B3222004123C5 /* wolf_actors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_actors.h; path = ../wolf/wolf_actors.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC290F6B3222004123C5 /* wolf_ai_com.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_ai_com.c; path = ../wolf/wolf_ai_com.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC2A0F6B3222004123C5 /* wolf_ai_com.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_ai_com.h; path = ../wolf/wolf_ai_com.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC2B0F6B3222004123C5 /* wolf_areas.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_areas.c; path = ../wolf/wolf_areas.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC2C0F6B3222004123C5 /* wolf_bj.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_bj.c; path = ../wolf/wolf_bj.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC2D0F6B3222004123C5 /* wolf_bj.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_bj.h; path = ../wolf/wolf_bj.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC2E0F6B3222004123C5 /* wolf_client_main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_client_main.c; path = ../wolf/wolf_client_main.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC300F6B3222004123C5 /* wolf_doors.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_doors.c; path = ../wolf/wolf_doors.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC310F6B3222004123C5 /* wolf_level.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_level.c; path = ../wolf/wolf_level.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC320F6B3222004123C5 /* wolf_level.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_level.h; path = ../wolf/wolf_level.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC330F6B3222004123C5 /* wolf_local.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_local.h; path = ../wolf/wolf_local.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC340F6B3222004123C5 /* wolf_main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_main.c; path = ../wolf/wolf_main.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC350F6B3222004123C5 /* wolf_math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_math.c; path = ../wolf/wolf_math.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC360F6B3222004123C5 /* wolf_math.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_math.h; path = ../wolf/wolf_math.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC370F6B3222004123C5 /* wolf_opengl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_opengl.c; path = ../wolf/wolf_opengl.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC380F6B3222004123C5 /* wolf_player.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_player.c; path = ../wolf/wolf_player.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC390F6B3222004123C5 /* wolf_player.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_player.h; path = ../wolf/wolf_player.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3A0F6B3222004123C5 /* wolf_powerups.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_powerups.c; path = ../wolf/wolf_powerups.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3B0F6B3222004123C5 /* wolf_powerups.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_powerups.h; path = ../wolf/wolf_powerups.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3C0F6B3222004123C5 /* wolf_pushwalls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_pushwalls.c; path = ../wolf/wolf_pushwalls.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3D0F6B3222004123C5 /* wolf_raycast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_raycast.c; path = ../wolf/wolf_raycast.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3E0F6B3222004123C5 /* wolf_raycast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_raycast.h; path = ../wolf/wolf_raycast.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC3F0F6B3222004123C5 /* wolf_renderer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_renderer.c; path = ../wolf/wolf_renderer.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC400F6B3222004123C5 /* wolf_renderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_renderer.h; path = ../wolf/wolf_renderer.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC410F6B3222004123C5 /* wolf_sprites.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_sprites.c; path = ../wolf/wolf_sprites.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC420F6B3222004123C5 /* wolf_sprites.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolf_sprites.h; path = ../wolf/wolf_sprites.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC430F6B3222004123C5 /* wolf_sv_ccmds.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_sv_ccmds.c; path = ../wolf/wolf_sv_ccmds.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC440F6B3222004123C5 /* wolf_weapon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wolf_weapon.c; path = ../wolf/wolf_weapon.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC5B0F6B3295004123C5 /* asm_arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = asm_arm.h; path = ../Tremor/asm_arm.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC5C0F6B3295004123C5 /* backends.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = backends.h; path = ../Tremor/backends.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC5D0F6B3295004123C5 /* bitwise.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = bitwise.c; path = ../Tremor/bitwise.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC5E0F6B3295004123C5 /* block.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = block.c; path = ../Tremor/block.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC5F0F6B3295004123C5 /* block.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = block.h; path = ../Tremor/block.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC600F6B3295004123C5 /* codebook.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = codebook.c; path = ../Tremor/codebook.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC610F6B3295004123C5 /* codebook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = codebook.h; path = ../Tremor/codebook.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC620F6B3295004123C5 /* codec_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = codec_internal.h; path = ../Tremor/codec_internal.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC630F6B3295004123C5 /* config_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config_types.h; path = ../Tremor/config_types.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC640F6B3295004123C5 /* floor0.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = floor0.c; path = ../Tremor/floor0.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC650F6B3295004123C5 /* floor1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = floor1.c; path = ../Tremor/floor1.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC660F6B3295004123C5 /* framing.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = framing.c; path = ../Tremor/framing.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC670F6B3295004123C5 /* info.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = info.c; path = ../Tremor/info.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC680F6B3295004123C5 /* ivorbiscodec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ivorbiscodec.h; path = ../Tremor/ivorbiscodec.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC690F6B3295004123C5 /* ivorbisfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ivorbisfile.h; path = ../Tremor/ivorbisfile.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC6B0F6B3295004123C5 /* lsp_lookup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lsp_lookup.h; path = ../Tremor/lsp_lookup.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC6C0F6B3295004123C5 /* mapping0.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mapping0.c; path = ../Tremor/mapping0.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC6D0F6B3295004123C5 /* mdct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mdct.c; path = ../Tremor/mdct.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC6E0F6B3295004123C5 /* mdct.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mdct.h; path = ../Tremor/mdct.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC6F0F6B3295004123C5 /* mdct_lookup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mdct_lookup.h; path = ../Tremor/mdct_lookup.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC700F6B3295004123C5 /* misc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = misc.h; path = ../Tremor/misc.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC710F6B3295004123C5 /* ogg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ogg.h; path = ../Tremor/ogg.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC720F6B3295004123C5 /* os.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = os.h; path = ../Tremor/os.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC730F6B3295004123C5 /* os_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = os_types.h; path = ../Tremor/os_types.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC740F6B3295004123C5 /* registry.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = registry.c; path = ../Tremor/registry.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC750F6B3295004123C5 /* registry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = registry.h; path = ../Tremor/registry.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC760F6B3295004123C5 /* res012.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = res012.c; path = ../Tremor/res012.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC770F6B3295004123C5 /* sharedbook.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sharedbook.c; path = ../Tremor/sharedbook.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC780F6B3295004123C5 /* synthesis.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = synthesis.c; path = ../Tremor/synthesis.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC790F6B3295004123C5 /* vorbisfile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = vorbisfile.c; path = ../Tremor/vorbisfile.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC7A0F6B3295004123C5 /* window.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = window.c; path = ../Tremor/window.c; sourceTree = SOURCE_ROOT; };
|
||||
7229CC7B0F6B3295004123C5 /* window.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = window.h; path = ../Tremor/window.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC7C0F6B3295004123C5 /* window_lookup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = window_lookup.h; path = ../Tremor/window_lookup.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CC8E0F6B3363004123C5 /* wolfiphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wolfiphone.h; path = ../wolfiphone.h; sourceTree = SOURCE_ROOT; };
|
||||
7229CE450F6C89F8004123C5 /* EAGLView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EAGLView.h; sourceTree = "<group>"; };
|
||||
7229CE460F6C89F8004123C5 /* EAGLView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EAGLView.m; sourceTree = "<group>"; };
|
||||
7229CE480F6C89F8004123C5 /* wolf3dAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wolf3dAppDelegate.h; sourceTree = "<group>"; };
|
||||
7229CE490F6C89F8004123C5 /* wolf3dAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = wolf3dAppDelegate.m; sourceTree = "<group>"; };
|
||||
7229CE540F6C8CDE004123C5 /* gles_glue.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gles_glue.c; sourceTree = "<group>"; };
|
||||
72935B1A0F6B2D9D0085DD28 /* angle.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = angle.c; path = ../env/angle.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B1B0F6B2D9D0085DD28 /* angle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = angle.h; path = ../env/angle.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B1C0F6B2D9D0085DD28 /* app_def.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = app_def.h; path = ../env/app_def.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B1D0F6B2D9D0085DD28 /* arch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = arch.c; path = ../env/arch.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B1E0F6B2D9D0085DD28 /* arch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = arch.h; path = ../env/arch.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B230F6B2D9D0085DD28 /* cmd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cmd.c; path = ../env/cmd.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B240F6B2D9D0085DD28 /* cmd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cmd.h; path = ../env/cmd.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B250F6B2D9D0085DD28 /* com_string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = com_string.c; path = ../env/com_string.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B260F6B2D9D0085DD28 /* com_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = com_string.h; path = ../env/com_string.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B270F6B2D9D0085DD28 /* common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = common.c; path = ../env/common.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B280F6B2D9D0085DD28 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../env/common.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B290F6B2D9D0085DD28 /* common_utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common_utils.h; path = ../env/common_utils.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B2A0F6B2D9D0085DD28 /* console.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = console.c; path = ../env/console.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B2B0F6B2D9D0085DD28 /* console.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = console.h; path = ../env/console.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B2D0F6B2D9D0085DD28 /* cvar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cvar.c; path = ../env/cvar.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B2E0F6B2D9D0085DD28 /* cvar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cvar.h; path = ../env/cvar.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B2F0F6B2D9D0085DD28 /* fileio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = fileio.c; path = ../env/fileio.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B310F6B2D9D0085DD28 /* files.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = files.c; path = ../env/files.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B320F6B2D9D0085DD28 /* filestring.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = filestring.c; path = ../env/filestring.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B330F6B2D9D0085DD28 /* filestring.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = filestring.h; path = ../env/filestring.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B340F6B2D9D0085DD28 /* filesystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = filesystem.h; path = ../env/filesystem.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B350F6B2D9D0085DD28 /* font_manager.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = font_manager.c; path = ../env/font_manager.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B360F6B2D9D0085DD28 /* font_manager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = font_manager.h; path = ../env/font_manager.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B370F6B2D9D0085DD28 /* glob.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = glob.c; path = ../env/glob.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B380F6B2D9D0085DD28 /* glob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = glob.h; path = ../env/glob.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B3E0F6B2D9D0085DD28 /* math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = math.c; path = ../env/math.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B3F0F6B2D9D0085DD28 /* matrix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = matrix.c; path = ../env/matrix.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B400F6B2D9D0085DD28 /* matrix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = matrix.h; path = ../env/matrix.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B410F6B2D9D0085DD28 /* memory.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = memory.c; path = ../env/memory.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B420F6B2D9D0085DD28 /* memory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = memory.h; path = ../env/memory.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B450F6B2D9D0085DD28 /* mymath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mymath.h; path = ../env/mymath.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B460F6B2D9D0085DD28 /* myopengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = myopengl.h; path = ../env/myopengl.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B470F6B2D9D0085DD28 /* myopengl_extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = myopengl_extension.h; path = ../env/myopengl_extension.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B480F6B2D9D0085DD28 /* num_type.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = num_type.h; path = ../env/num_type.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B490F6B2D9D0085DD28 /* oggfile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = oggfile.c; path = ../env/oggfile.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B4A0F6B2D9D0085DD28 /* oggfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = oggfile.h; path = ../env/oggfile.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B4B0F6B2D9D0085DD28 /* openal_binding.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = openal_binding.c; path = ../env/openal_binding.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B4C0F6B2D9D0085DD28 /* openal_binding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = openal_binding.h; path = ../env/openal_binding.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B4D0F6B2D9D0085DD28 /* openal_main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = openal_main.c; path = ../env/openal_main.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B500F6B2D9D0085DD28 /* opengl_draw.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = opengl_draw.c; path = ../env/opengl_draw.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B520F6B2D9D0085DD28 /* opengl_local.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = opengl_local.h; path = ../env/opengl_local.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B530F6B2D9D0085DD28 /* opengl_main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = opengl_main.c; path = ../env/opengl_main.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B540F6B2D9D0085DD28 /* opengl_texture.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = opengl_texture.c; path = ../env/opengl_texture.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B560F6B2D9D0085DD28 /* random_number.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = random_number.c; path = ../env/random_number.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B570F6B2D9D0085DD28 /* random_number.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = random_number.h; path = ../env/random_number.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B580F6B2D9D0085DD28 /* renderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = renderer.h; path = ../env/renderer.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B590F6B2D9D0085DD28 /* share.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = share.c; path = ../env/share.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B5A0F6B2D9D0085DD28 /* sound.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sound.c; path = ../env/sound.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B5B0F6B2D9D0085DD28 /* sound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sound.h; path = ../env/sound.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B5C0F6B2D9D0085DD28 /* sound_local.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sound_local.h; path = ../env/sound_local.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B5D0F6B2D9D0085DD28 /* sound_sfx_id.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sound_sfx_id.c; path = ../env/sound_sfx_id.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B5E0F6B2D9D0085DD28 /* sound_stream.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sound_stream.c; path = ../env/sound_stream.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B610F6B2D9D0085DD28 /* texture_manager.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = texture_manager.c; path = ../env/texture_manager.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B620F6B2D9D0085DD28 /* texture_manager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = texture_manager.h; path = ../env/texture_manager.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B630F6B2D9D0085DD28 /* tga.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tga.c; path = ../env/tga.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B640F6B2D9D0085DD28 /* tga.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tga.h; path = ../env/tga.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B650F6B2D9D0085DD28 /* timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = timer.h; path = ../env/timer.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B680F6B2D9D0085DD28 /* unix_file.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = unix_file.c; path = ../env/unix_file.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B6A0F6B2D9D0085DD28 /* unix_timer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = unix_timer.c; path = ../env/unix_timer.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B6B0F6B2D9D0085DD28 /* vector.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = vector.c; path = ../env/vector.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B6C0F6B2D9D0085DD28 /* vector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vector.h; path = ../env/vector.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B6D0F6B2D9D0085DD28 /* video.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = video.h; path = ../env/video.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B6E0F6B2D9D0085DD28 /* wavfile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = wavfile.c; path = ../env/wavfile.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B6F0F6B2D9D0085DD28 /* wavfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wavfile.h; path = ../env/wavfile.h; sourceTree = SOURCE_ROOT; };
|
||||
72935B720F6B2D9D0085DD28 /* zmem.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zmem.c; path = ../env/zmem.c; sourceTree = SOURCE_ROOT; };
|
||||
72935B730F6B2D9D0085DD28 /* zmem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zmem.h; path = ../env/zmem.h; sourceTree = SOURCE_ROOT; };
|
||||
72A7E8F30F5F2001005B83C0 /* iphone_wolf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iphone_wolf.h; sourceTree = "<group>"; };
|
||||
72A7E8F60F5F2063005B83C0 /* iphone_menus.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = iphone_menus.c; sourceTree = "<group>"; };
|
||||
72B5FF380F7E5C3D00C8A372 /* hud.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hud.c; sourceTree = "<group>"; };
|
||||
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
|
||||
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
|
||||
28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */,
|
||||
43E8D4E00F51B48B003F09B2 /* OpenAL.framework in Frameworks */,
|
||||
4333CCE80F5CC23E00AE2B6F /* AudioToolbox.framework in Frameworks */,
|
||||
43AE7E9F0F67387500B2F562 /* CoreGraphics.framework in Frameworks */,
|
||||
720EBBAE0F82E0BB003F989A /* QuartzCore.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
19C28FACFE9D520D11CA2CBB /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1D6058910D05DD3D006BFB54 /* wolf3dlite.app */,
|
||||
4364BF3E0F5CB25900F29317 /* dist.plist */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
29B97315FDCFA39411CA2CEA /* Other Sources */,
|
||||
29B97317FDCFA39411CA2CEA /* Resources */,
|
||||
29B97323FDCFA39411CA2CEA /* Frameworks */,
|
||||
19C28FACFE9D520D11CA2CBB /* Products */,
|
||||
43AE7E9E0F67387500B2F562 /* CoreGraphics.framework */,
|
||||
);
|
||||
name = CustomTemplate;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
72935B180F6B2D630085DD28 /* env */,
|
||||
7229CC5A0F6B324A004123C5 /* tremor */,
|
||||
72935B190F6B2D720085DD28 /* wolf */,
|
||||
32CA4F630368D1EE00C91783 /* wolf3d_Prefix.pch */,
|
||||
29B97316FDCFA39411CA2CEA /* main.m */,
|
||||
7229CE540F6C8CDE004123C5 /* gles_glue.c */,
|
||||
7229CE450F6C89F8004123C5 /* EAGLView.h */,
|
||||
7229CE460F6C89F8004123C5 /* EAGLView.m */,
|
||||
72B5FF380F7E5C3D00C8A372 /* hud.c */,
|
||||
7229CE480F6C89F8004123C5 /* wolf3dAppDelegate.h */,
|
||||
7229CE490F6C89F8004123C5 /* wolf3dAppDelegate.m */,
|
||||
7229CC8E0F6B3363004123C5 /* wolfiphone.h */,
|
||||
72A7E8F30F5F2001005B83C0 /* iphone_wolf.h */,
|
||||
72A7E8F60F5F2063005B83C0 /* iphone_menus.c */,
|
||||
43CF03090F56D5C200E4A23D /* iphone_loop.c */,
|
||||
43E8D2DF0F4FC61E003F09B2 /* iphone_main.c */,
|
||||
43AF6B940F996DA200777569 /* iphone_sys.m */,
|
||||
);
|
||||
name = "Other Sources";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97317FDCFA39411CA2CEA /* Resources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
43E341280F9BB4B6003C5D00 /* wolf3dlite_icon.png */,
|
||||
43CF02FE0F56974E00E4A23D /* Default.png */,
|
||||
43CF02EC0F56955F00E4A23D /* wolf3d_icon.png */,
|
||||
28AD733E0D9D9553002E5188 /* MainWindow.xib */,
|
||||
8D1107310486CEB800E47090 /* Info.plist */,
|
||||
);
|
||||
name = Resources;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
720EBBAD0F82E0BB003F989A /* QuartzCore.framework */,
|
||||
4333CCE70F5CC23E00AE2B6F /* AudioToolbox.framework */,
|
||||
43E8D4DF0F51B48B003F09B2 /* OpenAL.framework */,
|
||||
28FD14FF0DC6FC520079059D /* OpenGLES.framework */,
|
||||
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
|
||||
1D30AB110D05D00D00671497 /* Foundation.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7229CC5A0F6B324A004123C5 /* tremor */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
7229CC5B0F6B3295004123C5 /* asm_arm.h */,
|
||||
7229CC5C0F6B3295004123C5 /* backends.h */,
|
||||
7229CC5D0F6B3295004123C5 /* bitwise.c */,
|
||||
7229CC5E0F6B3295004123C5 /* block.c */,
|
||||
7229CC5F0F6B3295004123C5 /* block.h */,
|
||||
7229CC600F6B3295004123C5 /* codebook.c */,
|
||||
7229CC610F6B3295004123C5 /* codebook.h */,
|
||||
7229CC620F6B3295004123C5 /* codec_internal.h */,
|
||||
7229CC630F6B3295004123C5 /* config_types.h */,
|
||||
7229CC640F6B3295004123C5 /* floor0.c */,
|
||||
7229CC650F6B3295004123C5 /* floor1.c */,
|
||||
7229CC660F6B3295004123C5 /* framing.c */,
|
||||
7229CC670F6B3295004123C5 /* info.c */,
|
||||
7229CC680F6B3295004123C5 /* ivorbiscodec.h */,
|
||||
7229CC690F6B3295004123C5 /* ivorbisfile.h */,
|
||||
7229CC6B0F6B3295004123C5 /* lsp_lookup.h */,
|
||||
7229CC6C0F6B3295004123C5 /* mapping0.c */,
|
||||
7229CC6D0F6B3295004123C5 /* mdct.c */,
|
||||
7229CC6E0F6B3295004123C5 /* mdct.h */,
|
||||
7229CC6F0F6B3295004123C5 /* mdct_lookup.h */,
|
||||
7229CC700F6B3295004123C5 /* misc.h */,
|
||||
7229CC710F6B3295004123C5 /* ogg.h */,
|
||||
7229CC720F6B3295004123C5 /* os.h */,
|
||||
7229CC730F6B3295004123C5 /* os_types.h */,
|
||||
7229CC740F6B3295004123C5 /* registry.c */,
|
||||
7229CC750F6B3295004123C5 /* registry.h */,
|
||||
7229CC760F6B3295004123C5 /* res012.c */,
|
||||
7229CC770F6B3295004123C5 /* sharedbook.c */,
|
||||
7229CC780F6B3295004123C5 /* synthesis.c */,
|
||||
7229CC790F6B3295004123C5 /* vorbisfile.c */,
|
||||
7229CC7A0F6B3295004123C5 /* window.c */,
|
||||
7229CC7B0F6B3295004123C5 /* window.h */,
|
||||
7229CC7C0F6B3295004123C5 /* window_lookup.h */,
|
||||
);
|
||||
name = tremor;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
72935B180F6B2D630085DD28 /* env */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
72935B1A0F6B2D9D0085DD28 /* angle.c */,
|
||||
72935B1B0F6B2D9D0085DD28 /* angle.h */,
|
||||
72935B1C0F6B2D9D0085DD28 /* app_def.h */,
|
||||
72935B1D0F6B2D9D0085DD28 /* arch.c */,
|
||||
72935B1E0F6B2D9D0085DD28 /* arch.h */,
|
||||
72935B230F6B2D9D0085DD28 /* cmd.c */,
|
||||
72935B240F6B2D9D0085DD28 /* cmd.h */,
|
||||
72935B250F6B2D9D0085DD28 /* com_string.c */,
|
||||
72935B260F6B2D9D0085DD28 /* com_string.h */,
|
||||
72935B270F6B2D9D0085DD28 /* common.c */,
|
||||
72935B280F6B2D9D0085DD28 /* common.h */,
|
||||
72935B290F6B2D9D0085DD28 /* common_utils.h */,
|
||||
72935B2A0F6B2D9D0085DD28 /* console.c */,
|
||||
72935B2B0F6B2D9D0085DD28 /* console.h */,
|
||||
72935B2D0F6B2D9D0085DD28 /* cvar.c */,
|
||||
72935B2E0F6B2D9D0085DD28 /* cvar.h */,
|
||||
72935B2F0F6B2D9D0085DD28 /* fileio.c */,
|
||||
72935B310F6B2D9D0085DD28 /* files.c */,
|
||||
72935B320F6B2D9D0085DD28 /* filestring.c */,
|
||||
72935B330F6B2D9D0085DD28 /* filestring.h */,
|
||||
72935B340F6B2D9D0085DD28 /* filesystem.h */,
|
||||
72935B350F6B2D9D0085DD28 /* font_manager.c */,
|
||||
72935B360F6B2D9D0085DD28 /* font_manager.h */,
|
||||
72935B370F6B2D9D0085DD28 /* glob.c */,
|
||||
72935B380F6B2D9D0085DD28 /* glob.h */,
|
||||
72935B3E0F6B2D9D0085DD28 /* math.c */,
|
||||
72935B3F0F6B2D9D0085DD28 /* matrix.c */,
|
||||
72935B400F6B2D9D0085DD28 /* matrix.h */,
|
||||
72935B410F6B2D9D0085DD28 /* memory.c */,
|
||||
72935B420F6B2D9D0085DD28 /* memory.h */,
|
||||
72935B450F6B2D9D0085DD28 /* mymath.h */,
|
||||
72935B460F6B2D9D0085DD28 /* myopengl.h */,
|
||||
72935B470F6B2D9D0085DD28 /* myopengl_extension.h */,
|
||||
72935B480F6B2D9D0085DD28 /* num_type.h */,
|
||||
72935B490F6B2D9D0085DD28 /* oggfile.c */,
|
||||
72935B4A0F6B2D9D0085DD28 /* oggfile.h */,
|
||||
72935B4B0F6B2D9D0085DD28 /* openal_binding.c */,
|
||||
72935B4C0F6B2D9D0085DD28 /* openal_binding.h */,
|
||||
72935B4D0F6B2D9D0085DD28 /* openal_main.c */,
|
||||
72935B500F6B2D9D0085DD28 /* opengl_draw.c */,
|
||||
72935B520F6B2D9D0085DD28 /* opengl_local.h */,
|
||||
72935B530F6B2D9D0085DD28 /* opengl_main.c */,
|
||||
72935B540F6B2D9D0085DD28 /* opengl_texture.c */,
|
||||
72935B560F6B2D9D0085DD28 /* random_number.c */,
|
||||
72935B570F6B2D9D0085DD28 /* random_number.h */,
|
||||
72935B580F6B2D9D0085DD28 /* renderer.h */,
|
||||
72935B590F6B2D9D0085DD28 /* share.c */,
|
||||
72935B5A0F6B2D9D0085DD28 /* sound.c */,
|
||||
72935B5B0F6B2D9D0085DD28 /* sound.h */,
|
||||
72935B5C0F6B2D9D0085DD28 /* sound_local.h */,
|
||||
72935B5D0F6B2D9D0085DD28 /* sound_sfx_id.c */,
|
||||
72935B5E0F6B2D9D0085DD28 /* sound_stream.c */,
|
||||
72935B610F6B2D9D0085DD28 /* texture_manager.c */,
|
||||
72935B620F6B2D9D0085DD28 /* texture_manager.h */,
|
||||
72935B630F6B2D9D0085DD28 /* tga.c */,
|
||||
72935B640F6B2D9D0085DD28 /* tga.h */,
|
||||
72935B650F6B2D9D0085DD28 /* timer.h */,
|
||||
72935B680F6B2D9D0085DD28 /* unix_file.c */,
|
||||
72935B6A0F6B2D9D0085DD28 /* unix_timer.c */,
|
||||
72935B6B0F6B2D9D0085DD28 /* vector.c */,
|
||||
72935B6C0F6B2D9D0085DD28 /* vector.h */,
|
||||
72935B6D0F6B2D9D0085DD28 /* video.h */,
|
||||
72935B6E0F6B2D9D0085DD28 /* wavfile.c */,
|
||||
72935B6F0F6B2D9D0085DD28 /* wavfile.h */,
|
||||
72935B720F6B2D9D0085DD28 /* zmem.c */,
|
||||
72935B730F6B2D9D0085DD28 /* zmem.h */,
|
||||
);
|
||||
name = env;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
72935B190F6B2D720085DD28 /* wolf */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
7229CC240F6B3222004123C5 /* wolf_act_stat.h */,
|
||||
7229CC250F6B3222004123C5 /* wolf_actor_ai.c */,
|
||||
7229CC260F6B3222004123C5 /* wolf_actor_ai.h */,
|
||||
7229CC270F6B3222004123C5 /* wolf_actors.c */,
|
||||
7229CC280F6B3222004123C5 /* wolf_actors.h */,
|
||||
7229CC290F6B3222004123C5 /* wolf_ai_com.c */,
|
||||
7229CC2A0F6B3222004123C5 /* wolf_ai_com.h */,
|
||||
7229CC2B0F6B3222004123C5 /* wolf_areas.c */,
|
||||
7229CC2C0F6B3222004123C5 /* wolf_bj.c */,
|
||||
7229CC2D0F6B3222004123C5 /* wolf_bj.h */,
|
||||
7229CC2E0F6B3222004123C5 /* wolf_client_main.c */,
|
||||
7229CC300F6B3222004123C5 /* wolf_doors.c */,
|
||||
7229CC310F6B3222004123C5 /* wolf_level.c */,
|
||||
7229CC320F6B3222004123C5 /* wolf_level.h */,
|
||||
7229CC330F6B3222004123C5 /* wolf_local.h */,
|
||||
7229CC340F6B3222004123C5 /* wolf_main.c */,
|
||||
7229CC350F6B3222004123C5 /* wolf_math.c */,
|
||||
7229CC360F6B3222004123C5 /* wolf_math.h */,
|
||||
7229CC370F6B3222004123C5 /* wolf_opengl.c */,
|
||||
7229CC380F6B3222004123C5 /* wolf_player.c */,
|
||||
7229CC390F6B3222004123C5 /* wolf_player.h */,
|
||||
7229CC3A0F6B3222004123C5 /* wolf_powerups.c */,
|
||||
7229CC3B0F6B3222004123C5 /* wolf_powerups.h */,
|
||||
7229CC3C0F6B3222004123C5 /* wolf_pushwalls.c */,
|
||||
7229CC3D0F6B3222004123C5 /* wolf_raycast.c */,
|
||||
7229CC3E0F6B3222004123C5 /* wolf_raycast.h */,
|
||||
7229CC3F0F6B3222004123C5 /* wolf_renderer.c */,
|
||||
7229CC400F6B3222004123C5 /* wolf_renderer.h */,
|
||||
7229CC410F6B3222004123C5 /* wolf_sprites.c */,
|
||||
7229CC420F6B3222004123C5 /* wolf_sprites.h */,
|
||||
7229CC430F6B3222004123C5 /* wolf_sv_ccmds.c */,
|
||||
7229CC440F6B3222004123C5 /* wolf_weapon.c */,
|
||||
);
|
||||
name = wolf;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
1D6058900D05DD3D006BFB54 /* wolf3d */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "wolf3d" */;
|
||||
buildPhases = (
|
||||
1D60588D0D05DD3D006BFB54 /* Resources */,
|
||||
1D60588E0D05DD3D006BFB54 /* Sources */,
|
||||
1D60588F0D05DD3D006BFB54 /* Frameworks */,
|
||||
435F41A90F532CA300887552 /* ShellScript */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = wolf3d;
|
||||
productName = wolf3d;
|
||||
productReference = 1D6058910D05DD3D006BFB54 /* wolf3dlite.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "wolf3d" */;
|
||||
compatibilityVersion = "Xcode 3.1";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
1D6058900D05DD3D006BFB54 /* wolf3d */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
1D60588D0D05DD3D006BFB54 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
|
||||
43CF02ED0F56955F00E4A23D /* wolf3d_icon.png in Resources */,
|
||||
43CF02FF0F56974E00E4A23D /* Default.png in Resources */,
|
||||
4364BF3F0F5CB25900F29317 /* dist.plist in Resources */,
|
||||
43E341290F9BB4B6003C5D00 /* wolf3dlite_icon.png in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
435F41A90F532CA300887552 /* ShellScript */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = "/bin/sh -x";
|
||||
shellScript = "PBXCP=${DEVELOPER_DIR}/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp\nBASE=${PROJECT_DIR}/../../base\nDST=${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\n${PBXCP} -exclude .svn ${BASE} ${DST}\n# \"${PROJECT_DIR}/../../base\" \"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/\"\nSCRIPTS=${PROJECT_DIR}/../../scripts\n/usr/bin/perl ${SCRIPTS}/scrubBase.pl ${BASE} ${DST}\n\n";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
1D60588E0D05DD3D006BFB54 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1D60589B0D05DD56006BFB54 /* main.m in Sources */,
|
||||
43E8D2E10F4FC61E003F09B2 /* iphone_main.c in Sources */,
|
||||
43CF030A0F56D5C200E4A23D /* iphone_loop.c in Sources */,
|
||||
72A7E8F70F5F2063005B83C0 /* iphone_menus.c in Sources */,
|
||||
72935B740F6B2D9D0085DD28 /* angle.c in Sources */,
|
||||
72935B750F6B2D9D0085DD28 /* arch.c in Sources */,
|
||||
72935B790F6B2D9D0085DD28 /* cmd.c in Sources */,
|
||||
72935B7A0F6B2D9D0085DD28 /* com_string.c in Sources */,
|
||||
72935B7B0F6B2D9D0085DD28 /* common.c in Sources */,
|
||||
72935B7C0F6B2D9D0085DD28 /* console.c in Sources */,
|
||||
72935B7E0F6B2D9D0085DD28 /* cvar.c in Sources */,
|
||||
72935B7F0F6B2D9D0085DD28 /* fileio.c in Sources */,
|
||||
72935B800F6B2D9D0085DD28 /* files.c in Sources */,
|
||||
72935B810F6B2D9D0085DD28 /* filestring.c in Sources */,
|
||||
72935B820F6B2D9D0085DD28 /* font_manager.c in Sources */,
|
||||
72935B830F6B2D9D0085DD28 /* glob.c in Sources */,
|
||||
72935B870F6B2D9D0085DD28 /* math.c in Sources */,
|
||||
72935B880F6B2D9D0085DD28 /* matrix.c in Sources */,
|
||||
72935B890F6B2D9D0085DD28 /* memory.c in Sources */,
|
||||
72935B8B0F6B2D9D0085DD28 /* oggfile.c in Sources */,
|
||||
72935B8C0F6B2D9D0085DD28 /* openal_binding.c in Sources */,
|
||||
72935B8D0F6B2D9D0085DD28 /* openal_main.c in Sources */,
|
||||
72935B8F0F6B2D9D0085DD28 /* opengl_draw.c in Sources */,
|
||||
72935B910F6B2D9D0085DD28 /* opengl_main.c in Sources */,
|
||||
72935B920F6B2D9D0085DD28 /* opengl_texture.c in Sources */,
|
||||
72935B930F6B2D9D0085DD28 /* random_number.c in Sources */,
|
||||
72935B940F6B2D9D0085DD28 /* share.c in Sources */,
|
||||
72935B950F6B2D9D0085DD28 /* sound.c in Sources */,
|
||||
72935B960F6B2D9D0085DD28 /* sound_sfx_id.c in Sources */,
|
||||
72935B970F6B2D9D0085DD28 /* sound_stream.c in Sources */,
|
||||
72935B990F6B2D9D0085DD28 /* texture_manager.c in Sources */,
|
||||
72935B9A0F6B2D9D0085DD28 /* tga.c in Sources */,
|
||||
72935B9C0F6B2D9D0085DD28 /* unix_file.c in Sources */,
|
||||
72935B9E0F6B2D9D0085DD28 /* unix_timer.c in Sources */,
|
||||
72935B9F0F6B2D9D0085DD28 /* vector.c in Sources */,
|
||||
72935BA00F6B2D9D0085DD28 /* wavfile.c in Sources */,
|
||||
72935BA20F6B2D9D0085DD28 /* zmem.c in Sources */,
|
||||
7229CC460F6B3222004123C5 /* wolf_actor_ai.c in Sources */,
|
||||
7229CC470F6B3222004123C5 /* wolf_actors.c in Sources */,
|
||||
7229CC480F6B3222004123C5 /* wolf_ai_com.c in Sources */,
|
||||
7229CC490F6B3222004123C5 /* wolf_areas.c in Sources */,
|
||||
7229CC4A0F6B3222004123C5 /* wolf_bj.c in Sources */,
|
||||
7229CC4B0F6B3222004123C5 /* wolf_client_main.c in Sources */,
|
||||
7229CC4D0F6B3222004123C5 /* wolf_doors.c in Sources */,
|
||||
7229CC4E0F6B3222004123C5 /* wolf_level.c in Sources */,
|
||||
7229CC4F0F6B3222004123C5 /* wolf_main.c in Sources */,
|
||||
7229CC500F6B3222004123C5 /* wolf_math.c in Sources */,
|
||||
7229CC510F6B3222004123C5 /* wolf_opengl.c in Sources */,
|
||||
7229CC520F6B3222004123C5 /* wolf_player.c in Sources */,
|
||||
7229CC530F6B3222004123C5 /* wolf_powerups.c in Sources */,
|
||||
7229CC540F6B3222004123C5 /* wolf_pushwalls.c in Sources */,
|
||||
7229CC550F6B3222004123C5 /* wolf_raycast.c in Sources */,
|
||||
7229CC560F6B3222004123C5 /* wolf_renderer.c in Sources */,
|
||||
7229CC570F6B3222004123C5 /* wolf_sprites.c in Sources */,
|
||||
7229CC580F6B3222004123C5 /* wolf_sv_ccmds.c in Sources */,
|
||||
7229CC590F6B3222004123C5 /* wolf_weapon.c in Sources */,
|
||||
7229CC7D0F6B3295004123C5 /* bitwise.c in Sources */,
|
||||
7229CC7E0F6B3295004123C5 /* block.c in Sources */,
|
||||
7229CC7F0F6B3295004123C5 /* codebook.c in Sources */,
|
||||
7229CC800F6B3295004123C5 /* floor0.c in Sources */,
|
||||
7229CC810F6B3295004123C5 /* floor1.c in Sources */,
|
||||
7229CC820F6B3295004123C5 /* framing.c in Sources */,
|
||||
7229CC830F6B3295004123C5 /* info.c in Sources */,
|
||||
7229CC850F6B3295004123C5 /* mapping0.c in Sources */,
|
||||
7229CC860F6B3295004123C5 /* mdct.c in Sources */,
|
||||
7229CC870F6B3295004123C5 /* registry.c in Sources */,
|
||||
7229CC880F6B3295004123C5 /* res012.c in Sources */,
|
||||
7229CC890F6B3295004123C5 /* sharedbook.c in Sources */,
|
||||
7229CC8A0F6B3295004123C5 /* synthesis.c in Sources */,
|
||||
7229CC8B0F6B3295004123C5 /* vorbisfile.c in Sources */,
|
||||
7229CC8C0F6B3295004123C5 /* window.c in Sources */,
|
||||
7229CE4A0F6C89F8004123C5 /* EAGLView.m in Sources */,
|
||||
7229CE4C0F6C89F8004123C5 /* wolf3dAppDelegate.m in Sources */,
|
||||
7229CE550F6C8CDE004123C5 /* gles_glue.c in Sources */,
|
||||
72B5FF390F7E5C3D00C8A372 /* hud.c in Sources */,
|
||||
43AF6B950F996DA200777569 /* iphone_sys.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
1D6058940D05DD3E006BFB54 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Cass Everitt";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = IPHONE;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3d;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "94041F5C-2EDC-4F49-AF97-95ECE6BB398D";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1D6058950D05DD3E006BFB54 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Cass Everitt";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = IPHONE;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3d;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "94041F5C-2EDC-4F49-AF97-95ECE6BB398D";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
431181700F994C5400FF9351 /* AdHocDistLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
CODE_SIGN_ENTITLEMENTS = dist.plist;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Cass Everitt";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
PREBINDING = NO;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "E2E91433-8CD1-46DB-9DC5-B7E4C84FD1C2";
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = AdHocDistLite;
|
||||
};
|
||||
431181710F994C5400FF9351 /* AdHocDistLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Cass Everitt";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
LITE,
|
||||
IPHONE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3dlite;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "42086F40-083A-4573-8902-E1E628A229ED";
|
||||
};
|
||||
name = AdHocDistLite;
|
||||
};
|
||||
4364BF480F5CB27300F29317 /* AdHocDist */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
CODE_SIGN_ENTITLEMENTS = dist.plist;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Cass Everitt";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
PREBINDING = NO;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "E2E91433-8CD1-46DB-9DC5-B7E4C84FD1C2";
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = AdHocDist;
|
||||
};
|
||||
4364BF490F5CB27300F29317 /* AdHocDist */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Cass Everitt";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = IPHONE;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3d;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "42086F40-083A-4573-8902-E1E628A229ED";
|
||||
};
|
||||
name = AdHocDist;
|
||||
};
|
||||
43AE7CA40F61EC4E00B2F562 /* ReleaseLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = ReleaseLite;
|
||||
};
|
||||
43AE7CA50F61EC4E00B2F562 /* ReleaseLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Cass Everitt";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
LITE,
|
||||
IPHONE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3dlite;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "94041F5C-2EDC-4F49-AF97-95ECE6BB398D";
|
||||
};
|
||||
name = ReleaseLite;
|
||||
};
|
||||
43AE7CAE0F61FC9200B2F562 /* DebugLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = DebugLite;
|
||||
};
|
||||
43AE7CAF0F61FC9200B2F562 /* DebugLite */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Cass Everitt";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = wolf3d_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
LITE,
|
||||
IPHONE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
PRODUCT_NAME = wolf3dlite;
|
||||
PROFILE_PREFIX = nu.r3;
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "94041F5C-2EDC-4F49-AF97-95ECE6BB398D";
|
||||
};
|
||||
name = DebugLite;
|
||||
};
|
||||
C01FCF4F08A954540054247B /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
C01FCF5008A954540054247B /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = iphoneos2.0;
|
||||
SYMROOT = ../../build;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "wolf3d" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1D6058940D05DD3E006BFB54 /* Debug */,
|
||||
43AE7CAF0F61FC9200B2F562 /* DebugLite */,
|
||||
1D6058950D05DD3E006BFB54 /* Release */,
|
||||
43AE7CA50F61EC4E00B2F562 /* ReleaseLite */,
|
||||
4364BF490F5CB27300F29317 /* AdHocDist */,
|
||||
431181710F994C5400FF9351 /* AdHocDistLite */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "wolf3d" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
C01FCF4F08A954540054247B /* Debug */,
|
||||
43AE7CAE0F61FC9200B2F562 /* DebugLite */,
|
||||
C01FCF5008A954540054247B /* Release */,
|
||||
43AE7CA40F61EC4E00B2F562 /* ReleaseLite */,
|
||||
4364BF480F5CB27300F29317 /* AdHocDist */,
|
||||
431181700F994C5400FF9351 /* AdHocDistLite */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
|
||||
}
|
||||
39
wolf3d/code/iphone/wolf3dAppDelegate.h
Normal file
39
wolf3d/code/iphone/wolf3dAppDelegate.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <UIKit/UIAccelerometer.h>
|
||||
|
||||
|
||||
@class EAGLView;
|
||||
|
||||
@interface wolf3dAppDelegate : NSObject <UIApplicationDelegate, UIAccelerometerDelegate> {
|
||||
UIWindow *window;
|
||||
EAGLView *glView;
|
||||
int lastAccelUpdateMsec;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) IBOutlet UIWindow *window;
|
||||
@property (nonatomic, retain) IBOutlet EAGLView *glView;
|
||||
|
||||
- (void)restartAccelerometerIfNeeded;
|
||||
|
||||
@end
|
||||
|
||||
127
wolf3d/code/iphone/wolf3dAppDelegate.m
Normal file
127
wolf3d/code/iphone/wolf3dAppDelegate.m
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2009 Id Software, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#import "wolf3dAppDelegate.h"
|
||||
#import "EAGLView.h"
|
||||
#import <AudioToolbox/AudioServices.h>
|
||||
#include "../wolfiphone.h"
|
||||
|
||||
@interface UIApplication (Private)
|
||||
|
||||
- (void)setSystemVolumeHUDEnabled:(BOOL)enabled forAudioCategory:(NSString *)category;
|
||||
- (void)setSystemVolumeHUDEnabled:(BOOL)enabled;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
char iphoneDocDirectory[1024];
|
||||
char iphoneAppDirectory[1024];
|
||||
|
||||
|
||||
void SysIPhoneVibrate() {
|
||||
AudioServicesPlaySystemSound( kSystemSoundID_Vibrate );
|
||||
}
|
||||
|
||||
@implementation wolf3dAppDelegate
|
||||
|
||||
@synthesize window;
|
||||
@synthesize glView;
|
||||
|
||||
|
||||
- (void)applicationDidFinishLaunching:(UIApplication *)application {
|
||||
application.statusBarHidden = YES;
|
||||
application.statusBarOrientation = UIInterfaceOrientationLandscapeLeft;
|
||||
|
||||
// get the documents directory, where we will write configs and save games
|
||||
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
|
||||
NSString *documentsDirectory = [paths objectAtIndex:0];
|
||||
[documentsDirectory getCString: iphoneDocDirectory
|
||||
maxLength: sizeof( iphoneDocDirectory ) - 1
|
||||
encoding: NSASCIIStringEncoding ];
|
||||
|
||||
// get the app directory, where our data files live
|
||||
paths = NSSearchPathForDirectoriesInDomains(NSApplicationDirectory, NSUserDomainMask, YES);
|
||||
NSString *appDirectory = documentsDirectory = [paths objectAtIndex:0];
|
||||
[appDirectory getCString: iphoneAppDirectory
|
||||
maxLength: sizeof( iphoneAppDirectory ) - 1
|
||||
encoding: NSASCIIStringEncoding ];
|
||||
|
||||
// start the flow of accelerometer events
|
||||
UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer];
|
||||
accelerometer.delegate = self;
|
||||
accelerometer.updateInterval = 0.01;
|
||||
|
||||
// do all the game startup work
|
||||
iphoneStartup();
|
||||
}
|
||||
|
||||
|
||||
- (void)applicationWillResignActive:(UIApplication *)application {
|
||||
}
|
||||
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||
iphoneShutdown();
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
|
||||
// wolf3d:foo should launch wolf3d now... next, add useful URL parameter encoding
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc {
|
||||
[window release];
|
||||
[glView release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)restartAccelerometerIfNeeded {
|
||||
|
||||
// I have no idea why this seems to happen sometimes...
|
||||
if ( Sys_Milliseconds() - lastAccelUpdateMsec > 1000 ) {
|
||||
static int count;
|
||||
if ( ++count < 100 ) {
|
||||
printf( "Restarting accelerometer updates.\n" );
|
||||
}
|
||||
UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer];
|
||||
accelerometer.delegate = self;
|
||||
accelerometer.updateInterval = 0.01;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
|
||||
{
|
||||
float acc[4];
|
||||
acc[0] = acceleration.x;
|
||||
acc[1] = acceleration.y;
|
||||
acc[2] = acceleration.z;
|
||||
acc[3] = acceleration.timestamp;
|
||||
iphoneTiltEvent( acc );
|
||||
lastAccelUpdateMsec = Sys_Milliseconds();
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
8
wolf3d/code/iphone/wolf3d_Prefix.pch
Normal file
8
wolf3d/code/iphone/wolf3d_Prefix.pch
Normal file
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// Prefix header for all source files of the 'wolf3d' target in the 'wolf3d' project
|
||||
//
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#endif
|
||||
BIN
wolf3d/code/iphone/wolf3d_icon.png
Normal file
BIN
wolf3d/code/iphone/wolf3d_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
BIN
wolf3d/code/iphone/wolf3dlite_icon.png
Normal file
BIN
wolf3d/code/iphone/wolf3dlite_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
Reference in New Issue
Block a user