Source release of Wolfenstein 3D Classic Platinum for iOS, 2.1 master
authorTravis Bradshaw <travis.bradshaw@idsoftware.com>
Tue, 31 Jan 2012 23:08:50 +0000 (17:08 -0600)
committerTravis Bradshaw <travis.bradshaw@idsoftware.com>
Tue, 31 Jan 2012 23:08:50 +0000 (17:08 -0600)
235 files changed:
__MACOSX/wolf3d/._README.txt [new file with mode: 0644]
__MACOSX/wolf3d/._readme_iWolf_v1x.txt [new file with mode: 0644]
__MACOSX/wolf3d/code/._wolfiphone.h [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._fileio.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._files.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._filesystem.h [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._openal_main.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._opengl_draw.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._opengl_local.h [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._opengl_main.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._sound.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._sound_local.h [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._sound_sfx_id.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._sound_stream.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._texture_manager.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._texture_manager.h [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._unix_file.c [new file with mode: 0644]
__MACOSX/wolf3d/code/env/._video.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._.DS_Store [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._CreditsViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._CreditsViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._EAGLView.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._EAGLView.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._EpisodeViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._EpisodeViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._Info.plist [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._LegalViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._LegalViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._MainMenuViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._MainMenuViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._SettingsViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._SettingsViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._SkillViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._SkillViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._TriviaViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._TriviaViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UIFontButton.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UIFontButton.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UIFontLabel.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UIFontLabel.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._WolfSlider.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._WolfSlider.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._gles_glue.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._gles_glue.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._hud.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_alerts.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_alerts.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_downloadSOD.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_downloadUserMap.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_loop.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_main.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_mapselector.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_menus.c [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_qgl.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_store.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_store.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_sys.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._iphone_wolf.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._main.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._wolf3dViewController.h [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._wolf3dViewController.m [new file with mode: 0644]
__MACOSX/wolf3d/code/iphone/._wolf3d_Prefix.pch [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_ai_com.c [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_client_main.c [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_local.h [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_math.c [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_opengl.c [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_player.c [new file with mode: 0644]
__MACOSX/wolf3d/code/wolf/._wolf_renderer.h [new file with mode: 0644]
__MACOSX/wolf3d/scripts/._scrubBase.pl [new file with mode: 0644]
wolf3d/COPYING.txt [new file with mode: 0644]
wolf3d/README.txt [new file with mode: 0644]
wolf3d/code/env/fileio.c
wolf3d/code/env/files.c
wolf3d/code/env/filesystem.h
wolf3d/code/env/openal_main.c
wolf3d/code/env/opengl_draw.c
wolf3d/code/env/opengl_local.h
wolf3d/code/env/opengl_main.c
wolf3d/code/env/sound.c
wolf3d/code/env/sound_local.h
wolf3d/code/env/sound_sfx_id.c
wolf3d/code/env/sound_stream.c
wolf3d/code/env/texture_manager.c
wolf3d/code/env/texture_manager.h
wolf3d/code/env/unix_file.c
wolf3d/code/env/video.h
wolf3d/code/iphone/.DS_Store [new file with mode: 0644]
wolf3d/code/iphone/CreditsView.xib [new file with mode: 0644]
wolf3d/code/iphone/CreditsViewController.h [new file with mode: 0644]
wolf3d/code/iphone/CreditsViewController.m [new file with mode: 0644]
wolf3d/code/iphone/EAGLView.h
wolf3d/code/iphone/EAGLView.m
wolf3d/code/iphone/EpisodeCell.xib [new file with mode: 0644]
wolf3d/code/iphone/EpisodeView.xib [new file with mode: 0644]
wolf3d/code/iphone/EpisodeViewController.h [new file with mode: 0644]
wolf3d/code/iphone/EpisodeViewController.m [new file with mode: 0644]
wolf3d/code/iphone/Info.plist
wolf3d/code/iphone/LegalView.xib [new file with mode: 0644]
wolf3d/code/iphone/LegalViewController.h [new file with mode: 0644]
wolf3d/code/iphone/LegalViewController.m [new file with mode: 0644]
wolf3d/code/iphone/LevelSelectView.xib [new file with mode: 0644]
wolf3d/code/iphone/LevelSelectViewController.h [new file with mode: 0644]
wolf3d/code/iphone/LevelSelectViewController.m [new file with mode: 0644]
wolf3d/code/iphone/MainMenuView.xib [new file with mode: 0644]
wolf3d/code/iphone/MainMenuViewController.h [new file with mode: 0644]
wolf3d/code/iphone/MainMenuViewController.m [new file with mode: 0644]
wolf3d/code/iphone/MissionTableViewCell.h [new file with mode: 0644]
wolf3d/code/iphone/MissionTableViewCell.m [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/CreditsView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/EpisodeCell~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/EpisodeView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/LegalView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/LevelSelectView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/MainMenuView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/SettingsView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/SkillView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/Resources-iPad/TriviaView~ipad.xib [new file with mode: 0644]
wolf3d/code/iphone/SettingsView.xib [new file with mode: 0644]
wolf3d/code/iphone/SettingsViewController.h [new file with mode: 0644]
wolf3d/code/iphone/SettingsViewController.m [new file with mode: 0644]
wolf3d/code/iphone/SkillView.xib [new file with mode: 0644]
wolf3d/code/iphone/SkillViewController.h [new file with mode: 0644]
wolf3d/code/iphone/SkillViewController.m [new file with mode: 0644]
wolf3d/code/iphone/TriviaView.xib [new file with mode: 0644]
wolf3d/code/iphone/TriviaViewController.h [new file with mode: 0644]
wolf3d/code/iphone/TriviaViewController.m [new file with mode: 0644]
wolf3d/code/iphone/UIFontButton.h [new file with mode: 0644]
wolf3d/code/iphone/UIFontButton.m [new file with mode: 0644]
wolf3d/code/iphone/UIFontLabel.h [new file with mode: 0644]
wolf3d/code/iphone/UIFontLabel.m [new file with mode: 0644]
wolf3d/code/iphone/UITableViewScrolling.h [new file with mode: 0644]
wolf3d/code/iphone/UITableViewScrolling.m [new file with mode: 0644]
wolf3d/code/iphone/WolfSlider.h [new file with mode: 0644]
wolf3d/code/iphone/WolfSlider.m [new file with mode: 0644]
wolf3d/code/iphone/gles_glue.c
wolf3d/code/iphone/gles_glue.h
wolf3d/code/iphone/hud.c
wolf3d/code/iphone/iphone_alerts.h
wolf3d/code/iphone/iphone_alerts.m
wolf3d/code/iphone/iphone_downloadSOD.m
wolf3d/code/iphone/iphone_downloadUserMap.m
wolf3d/code/iphone/iphone_loop.c
wolf3d/code/iphone/iphone_main.c
wolf3d/code/iphone/iphone_mapselector.c
wolf3d/code/iphone/iphone_menus.c
wolf3d/code/iphone/iphone_qgl.h
wolf3d/code/iphone/iphone_store.h [new file with mode: 0644]
wolf3d/code/iphone/iphone_store.m [new file with mode: 0644]
wolf3d/code/iphone/iphone_sys.m
wolf3d/code/iphone/iphone_wolf.h
wolf3d/code/iphone/main.m
wolf3d/code/iphone/untgz.c [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/greghodges.mode1v3
wolf3d/code/iphone/wolf3d.xcodeproj/greghodges.pbxuser
wolf3d/code/iphone/wolf3d.xcodeproj/project.pbxproj
wolf3d/code/iphone/wolf3d.xcodeproj/project.xcworkspace/contents.xcworkspacedata [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/project.xcworkspace/xcuserdata/ryan.gerleve.xcuserdatad/UserInterfaceState.xcuserstate [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/project.xcworkspace/xcuserdata/ryan.gerleve.xcuserdatad/WorkspaceSettings.xcsettings [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/ryan.gerleve.mode1v3 [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/ryan.gerleve.pbxuser [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/xcuserdata/ryan.gerleve.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/xcuserdata/ryan.gerleve.xcuserdatad/xcschemes/wolf3d.xcscheme [new file with mode: 0644]
wolf3d/code/iphone/wolf3d.xcodeproj/xcuserdata/ryan.gerleve.xcuserdatad/xcschemes/xcschememanagement.plist [new file with mode: 0644]
wolf3d/code/iphone/wolf3dAppDelegate.h
wolf3d/code/iphone/wolf3dAppDelegate.m
wolf3d/code/iphone/wolf3dViewController.h [new file with mode: 0644]
wolf3d/code/iphone/wolf3dViewController.m [new file with mode: 0644]
wolf3d/code/iphone/wolf3d_Prefix.pch
wolf3d/code/wolf/wolf_ai_com.c
wolf3d/code/wolf/wolf_client_main.c
wolf3d/code/wolf/wolf_level.c
wolf3d/code/wolf/wolf_local.h
wolf3d/code/wolf/wolf_main.c
wolf3d/code/wolf/wolf_opengl.c
wolf3d/code/wolf/wolf_player.c
wolf3d/code/wolf/wolf_powerups.c
wolf3d/code/wolf/wolf_renderer.h
wolf3d/code/wolfiphone.h
wolf3d/readme_iWolf_v1x.txt [new file with mode: 0644]
wolf3d/scripts/scrubBase.pl
wolf3d/wolfextractor/adlib/adlib.c [new file with mode: 0644]
wolf3d/wolfextractor/adlib/adlib.h [new file with mode: 0644]
wolf3d/wolfextractor/adlib/fmopl.c [new file with mode: 0644]
wolf3d/wolfextractor/adlib/fmopl.h [new file with mode: 0644]
wolf3d/wolfextractor/filesys/file.c [new file with mode: 0644]
wolf3d/wolfextractor/filesys/file.h [new file with mode: 0644]
wolf3d/wolfextractor/filesys/unix/glob.c [new file with mode: 0644]
wolf3d/wolfextractor/filesys/unix/glob.h [new file with mode: 0644]
wolf3d/wolfextractor/filesys/unix/unix_file.c [new file with mode: 0644]
wolf3d/wolfextractor/filesys/win32/win_file.c [new file with mode: 0644]
wolf3d/wolfextractor/hq2x.c [new file with mode: 0644]
wolf3d/wolfextractor/hq2x.h [new file with mode: 0644]
wolf3d/wolfextractor/loaders/tga.c [new file with mode: 0644]
wolf3d/wolfextractor/loaders/tga.h [new file with mode: 0644]
wolf3d/wolfextractor/loaders/wav.c [new file with mode: 0644]
wolf3d/wolfextractor/loaders/wav.h [new file with mode: 0644]
wolf3d/wolfextractor/mac/mac.c [new file with mode: 0644]
wolf3d/wolfextractor/mac/mac.h [new file with mode: 0644]
wolf3d/wolfextractor/main.c [new file with mode: 0644]
wolf3d/wolfextractor/makefile [new file with mode: 0644]
wolf3d/wolfextractor/makefile.freebsd [new file with mode: 0644]
wolf3d/wolfextractor/memory/memory.c [new file with mode: 0644]
wolf3d/wolfextractor/memory/memory.h [new file with mode: 0644]
wolf3d/wolfextractor/ogg_static.lib [new file with mode: 0644]
wolf3d/wolfextractor/pak.c [new file with mode: 0644]
wolf3d/wolfextractor/string/com_string.c [new file with mode: 0644]
wolf3d/wolfextractor/string/com_string.h [new file with mode: 0644]
wolf3d/wolfextractor/vorbis_static.lib [new file with mode: 0644]
wolf3d/wolfextractor/vorbisenc_inter.c [new file with mode: 0644]
wolf3d/wolfextractor/vorbisenc_static.lib [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wl6_name.c [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_aud.c [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_def.h [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_gfx.c [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_map.c [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_pal.c [new file with mode: 0644]
wolf3d/wolfextractor/wolf/wolf_pm.c [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.dsp [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.dsw [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.ncb [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.sln [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.suo [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.vcproj [new file with mode: 0644]
wolf3d/wolfextractor/wolfextractor.vcproj.EDEN.johnc.user [new file with mode: 0644]
wolf3d/wolfextractor/zip/zip.h [new file with mode: 0644]
wolf3d/wolfextractor/zip/zipfile.c [new file with mode: 0644]

diff --git a/__MACOSX/wolf3d/._README.txt b/__MACOSX/wolf3d/._README.txt
new file mode 100644 (file)
index 0000000..c8ef17d
Binary files /dev/null and b/__MACOSX/wolf3d/._README.txt differ
diff --git a/__MACOSX/wolf3d/._readme_iWolf_v1x.txt b/__MACOSX/wolf3d/._readme_iWolf_v1x.txt
new file mode 100644 (file)
index 0000000..5a667fa
Binary files /dev/null and b/__MACOSX/wolf3d/._readme_iWolf_v1x.txt differ
diff --git a/__MACOSX/wolf3d/code/._wolfiphone.h b/__MACOSX/wolf3d/code/._wolfiphone.h
new file mode 100644 (file)
index 0000000..ddd0b08
Binary files /dev/null and b/__MACOSX/wolf3d/code/._wolfiphone.h differ
diff --git a/__MACOSX/wolf3d/code/env/._fileio.c b/__MACOSX/wolf3d/code/env/._fileio.c
new file mode 100644 (file)
index 0000000..a382427
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._fileio.c differ
diff --git a/__MACOSX/wolf3d/code/env/._files.c b/__MACOSX/wolf3d/code/env/._files.c
new file mode 100644 (file)
index 0000000..19d0b71
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._files.c differ
diff --git a/__MACOSX/wolf3d/code/env/._filesystem.h b/__MACOSX/wolf3d/code/env/._filesystem.h
new file mode 100644 (file)
index 0000000..198fffe
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._filesystem.h differ
diff --git a/__MACOSX/wolf3d/code/env/._openal_main.c b/__MACOSX/wolf3d/code/env/._openal_main.c
new file mode 100644 (file)
index 0000000..414337f
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._openal_main.c differ
diff --git a/__MACOSX/wolf3d/code/env/._opengl_draw.c b/__MACOSX/wolf3d/code/env/._opengl_draw.c
new file mode 100644 (file)
index 0000000..5c7cc80
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._opengl_draw.c differ
diff --git a/__MACOSX/wolf3d/code/env/._opengl_local.h b/__MACOSX/wolf3d/code/env/._opengl_local.h
new file mode 100644 (file)
index 0000000..42e7078
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._opengl_local.h differ
diff --git a/__MACOSX/wolf3d/code/env/._opengl_main.c b/__MACOSX/wolf3d/code/env/._opengl_main.c
new file mode 100644 (file)
index 0000000..fd7dc6d
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._opengl_main.c differ
diff --git a/__MACOSX/wolf3d/code/env/._sound.c b/__MACOSX/wolf3d/code/env/._sound.c
new file mode 100644 (file)
index 0000000..94bc34f
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._sound.c differ
diff --git a/__MACOSX/wolf3d/code/env/._sound_local.h b/__MACOSX/wolf3d/code/env/._sound_local.h
new file mode 100644 (file)
index 0000000..074c145
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._sound_local.h differ
diff --git a/__MACOSX/wolf3d/code/env/._sound_sfx_id.c b/__MACOSX/wolf3d/code/env/._sound_sfx_id.c
new file mode 100644 (file)
index 0000000..e362eb2
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._sound_sfx_id.c differ
diff --git a/__MACOSX/wolf3d/code/env/._sound_stream.c b/__MACOSX/wolf3d/code/env/._sound_stream.c
new file mode 100644 (file)
index 0000000..7b07437
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._sound_stream.c differ
diff --git a/__MACOSX/wolf3d/code/env/._texture_manager.c b/__MACOSX/wolf3d/code/env/._texture_manager.c
new file mode 100644 (file)
index 0000000..b3a1345
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._texture_manager.c differ
diff --git a/__MACOSX/wolf3d/code/env/._texture_manager.h b/__MACOSX/wolf3d/code/env/._texture_manager.h
new file mode 100644 (file)
index 0000000..27b01ad
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._texture_manager.h differ
diff --git a/__MACOSX/wolf3d/code/env/._unix_file.c b/__MACOSX/wolf3d/code/env/._unix_file.c
new file mode 100644 (file)
index 0000000..2e07b96
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._unix_file.c differ
diff --git a/__MACOSX/wolf3d/code/env/._video.h b/__MACOSX/wolf3d/code/env/._video.h
new file mode 100644 (file)
index 0000000..77618cd
Binary files /dev/null and b/__MACOSX/wolf3d/code/env/._video.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._.DS_Store b/__MACOSX/wolf3d/code/iphone/._.DS_Store
new file mode 100644 (file)
index 0000000..460d887
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._.DS_Store differ
diff --git a/__MACOSX/wolf3d/code/iphone/._CreditsViewController.h b/__MACOSX/wolf3d/code/iphone/._CreditsViewController.h
new file mode 100644 (file)
index 0000000..aa11515
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._CreditsViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._CreditsViewController.m b/__MACOSX/wolf3d/code/iphone/._CreditsViewController.m
new file mode 100644 (file)
index 0000000..fcb90ed
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._CreditsViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._EAGLView.h b/__MACOSX/wolf3d/code/iphone/._EAGLView.h
new file mode 100644 (file)
index 0000000..0ce1695
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._EAGLView.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._EAGLView.m b/__MACOSX/wolf3d/code/iphone/._EAGLView.m
new file mode 100644 (file)
index 0000000..daea694
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._EAGLView.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.h b/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.h
new file mode 100644 (file)
index 0000000..280f1d0
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.m b/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.m
new file mode 100644 (file)
index 0000000..2a43dad
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._EpisodeViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._Info.plist b/__MACOSX/wolf3d/code/iphone/._Info.plist
new file mode 100644 (file)
index 0000000..2c437f7
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._Info.plist differ
diff --git a/__MACOSX/wolf3d/code/iphone/._LegalViewController.h b/__MACOSX/wolf3d/code/iphone/._LegalViewController.h
new file mode 100644 (file)
index 0000000..56caabf
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._LegalViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._LegalViewController.m b/__MACOSX/wolf3d/code/iphone/._LegalViewController.m
new file mode 100644 (file)
index 0000000..0f6dc16
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._LegalViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.h b/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.h
new file mode 100644 (file)
index 0000000..47ae26b
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.m b/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.m
new file mode 100644 (file)
index 0000000..4b1fa12
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._LevelSelectViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.h b/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.h
new file mode 100644 (file)
index 0000000..f9592cc
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.m b/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.m
new file mode 100644 (file)
index 0000000..2ad1180
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._MainMenuViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.h b/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.h
new file mode 100644 (file)
index 0000000..b35249d
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.m b/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.m
new file mode 100644 (file)
index 0000000..1999946
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._MissionTableViewCell.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._SettingsViewController.h b/__MACOSX/wolf3d/code/iphone/._SettingsViewController.h
new file mode 100644 (file)
index 0000000..251f4fc
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._SettingsViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._SettingsViewController.m b/__MACOSX/wolf3d/code/iphone/._SettingsViewController.m
new file mode 100644 (file)
index 0000000..284c8ff
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._SettingsViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._SkillViewController.h b/__MACOSX/wolf3d/code/iphone/._SkillViewController.h
new file mode 100644 (file)
index 0000000..a4c9529
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._SkillViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._SkillViewController.m b/__MACOSX/wolf3d/code/iphone/._SkillViewController.m
new file mode 100644 (file)
index 0000000..e8215df
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._SkillViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._TriviaViewController.h b/__MACOSX/wolf3d/code/iphone/._TriviaViewController.h
new file mode 100644 (file)
index 0000000..4b49e4e
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._TriviaViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._TriviaViewController.m b/__MACOSX/wolf3d/code/iphone/._TriviaViewController.m
new file mode 100644 (file)
index 0000000..543339f
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._TriviaViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UIFontButton.h b/__MACOSX/wolf3d/code/iphone/._UIFontButton.h
new file mode 100644 (file)
index 0000000..ace6274
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UIFontButton.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UIFontButton.m b/__MACOSX/wolf3d/code/iphone/._UIFontButton.m
new file mode 100644 (file)
index 0000000..b18b658
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UIFontButton.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UIFontLabel.h b/__MACOSX/wolf3d/code/iphone/._UIFontLabel.h
new file mode 100644 (file)
index 0000000..29e2a0e
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UIFontLabel.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UIFontLabel.m b/__MACOSX/wolf3d/code/iphone/._UIFontLabel.m
new file mode 100644 (file)
index 0000000..0a251c5
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UIFontLabel.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.h b/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.h
new file mode 100644 (file)
index 0000000..b0f3b58
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.m b/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.m
new file mode 100644 (file)
index 0000000..c53a419
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._UITableViewScrolling.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._WolfSlider.h b/__MACOSX/wolf3d/code/iphone/._WolfSlider.h
new file mode 100644 (file)
index 0000000..368a74b
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._WolfSlider.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._WolfSlider.m b/__MACOSX/wolf3d/code/iphone/._WolfSlider.m
new file mode 100644 (file)
index 0000000..63d5478
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._WolfSlider.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._gles_glue.c b/__MACOSX/wolf3d/code/iphone/._gles_glue.c
new file mode 100644 (file)
index 0000000..4e2c4ec
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._gles_glue.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._gles_glue.h b/__MACOSX/wolf3d/code/iphone/._gles_glue.h
new file mode 100644 (file)
index 0000000..6b8b61f
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._gles_glue.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._hud.c b/__MACOSX/wolf3d/code/iphone/._hud.c
new file mode 100644 (file)
index 0000000..0d38daa
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._hud.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_alerts.h b/__MACOSX/wolf3d/code/iphone/._iphone_alerts.h
new file mode 100644 (file)
index 0000000..a364c34
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_alerts.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_alerts.m b/__MACOSX/wolf3d/code/iphone/._iphone_alerts.m
new file mode 100644 (file)
index 0000000..cdeb0b3
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_alerts.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_downloadSOD.m b/__MACOSX/wolf3d/code/iphone/._iphone_downloadSOD.m
new file mode 100644 (file)
index 0000000..7bedaa7
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_downloadSOD.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_downloadUserMap.m b/__MACOSX/wolf3d/code/iphone/._iphone_downloadUserMap.m
new file mode 100644 (file)
index 0000000..422c8bb
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_downloadUserMap.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_loop.c b/__MACOSX/wolf3d/code/iphone/._iphone_loop.c
new file mode 100644 (file)
index 0000000..570dc66
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_loop.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_main.c b/__MACOSX/wolf3d/code/iphone/._iphone_main.c
new file mode 100644 (file)
index 0000000..b502cd8
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_main.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_mapselector.c b/__MACOSX/wolf3d/code/iphone/._iphone_mapselector.c
new file mode 100644 (file)
index 0000000..c022898
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_mapselector.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_menus.c b/__MACOSX/wolf3d/code/iphone/._iphone_menus.c
new file mode 100644 (file)
index 0000000..038c0f3
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_menus.c differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_qgl.h b/__MACOSX/wolf3d/code/iphone/._iphone_qgl.h
new file mode 100644 (file)
index 0000000..3f25766
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_qgl.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_store.h b/__MACOSX/wolf3d/code/iphone/._iphone_store.h
new file mode 100644 (file)
index 0000000..b53f114
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_store.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_store.m b/__MACOSX/wolf3d/code/iphone/._iphone_store.m
new file mode 100644 (file)
index 0000000..92cdb0f
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_store.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_sys.m b/__MACOSX/wolf3d/code/iphone/._iphone_sys.m
new file mode 100644 (file)
index 0000000..6d38f6f
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_sys.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._iphone_wolf.h b/__MACOSX/wolf3d/code/iphone/._iphone_wolf.h
new file mode 100644 (file)
index 0000000..938decc
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._iphone_wolf.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._main.m b/__MACOSX/wolf3d/code/iphone/._main.m
new file mode 100644 (file)
index 0000000..2dc0ff3
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._main.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.h b/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.h
new file mode 100644 (file)
index 0000000..9b290c3
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.m b/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.m
new file mode 100644 (file)
index 0000000..9863f24
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._wolf3dAppDelegate.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.h b/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.h
new file mode 100644 (file)
index 0000000..536bd85
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.h differ
diff --git a/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.m b/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.m
new file mode 100644 (file)
index 0000000..25ca8a2
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._wolf3dViewController.m differ
diff --git a/__MACOSX/wolf3d/code/iphone/._wolf3d_Prefix.pch b/__MACOSX/wolf3d/code/iphone/._wolf3d_Prefix.pch
new file mode 100644 (file)
index 0000000..8fd8429
Binary files /dev/null and b/__MACOSX/wolf3d/code/iphone/._wolf3d_Prefix.pch differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_ai_com.c b/__MACOSX/wolf3d/code/wolf/._wolf_ai_com.c
new file mode 100644 (file)
index 0000000..4e333a6
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_ai_com.c differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_client_main.c b/__MACOSX/wolf3d/code/wolf/._wolf_client_main.c
new file mode 100644 (file)
index 0000000..457e084
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_client_main.c differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_local.h b/__MACOSX/wolf3d/code/wolf/._wolf_local.h
new file mode 100644 (file)
index 0000000..ac19892
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_local.h differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_math.c b/__MACOSX/wolf3d/code/wolf/._wolf_math.c
new file mode 100644 (file)
index 0000000..241e2c9
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_math.c differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_opengl.c b/__MACOSX/wolf3d/code/wolf/._wolf_opengl.c
new file mode 100644 (file)
index 0000000..7c5e425
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_opengl.c differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_player.c b/__MACOSX/wolf3d/code/wolf/._wolf_player.c
new file mode 100644 (file)
index 0000000..6467aae
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_player.c differ
diff --git a/__MACOSX/wolf3d/code/wolf/._wolf_renderer.h b/__MACOSX/wolf3d/code/wolf/._wolf_renderer.h
new file mode 100644 (file)
index 0000000..227b307
Binary files /dev/null and b/__MACOSX/wolf3d/code/wolf/._wolf_renderer.h differ
diff --git a/__MACOSX/wolf3d/scripts/._scrubBase.pl b/__MACOSX/wolf3d/scripts/._scrubBase.pl
new file mode 100644 (file)
index 0000000..d64c7c5
Binary files /dev/null and b/__MACOSX/wolf3d/scripts/._scrubBase.pl differ
diff --git a/wolf3d/COPYING.txt b/wolf3d/COPYING.txt
new file mode 100644 (file)
index 0000000..b3f64f0
--- /dev/null
@@ -0,0 +1,345 @@
+                  GNU GENERAL PUBLIC LICENSE
+                      Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                           Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+
+                   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                           NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                    END OF TERMS AND CONDITIONS
+
+
+           How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    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
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
\ No newline at end of file
diff --git a/wolf3d/README.txt b/wolf3d/README.txt
new file mode 100644 (file)
index 0000000..d4b2232
--- /dev/null
@@ -0,0 +1,22 @@
+WOLF3D iOS v2.1 GPL source release
+===============================================
+
+This file contains the following sections:
+
+GENERAL NOTES
+LICENSE
+
+GENERAL NOTES
+=============
+
+WOLF3D iOS v2.1 is a free release, and can be downloaded from
+http://idsoftware.com/idstuff/wolf3d/wolf3d_ios_v21_src.zip
+
+This source release does not contain any game data, the game data remains subject to the original EULA and applicable law.
+
+
+LICENSE
+=======
+
+See COPYING.txt for the GNU GENERAL PUBLIC LICENSE.  If COPYING.txt does not accompany, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
index de8917b92a0964d859b39ccb66d6916e2428da6d..e5c9e2cad688b66fe586a5063a2e581b8544aa23 100644 (file)
@@ -109,12 +109,17 @@ PUBLIC W32 FS_FileSeek( filehandle_t *fhandle, SW32 offset, W32 origin )
                                return 1;
                        }
 
+                       /* Commenting this out to avoid a warning - note that this is probably not what was
+                          intended!
+                          
                        // offset is negative 
                        if( (fhandle->filesize + offset) < 0  )
                        {
                                return 1;
                        }
 
+                       */
+
                        // offset is negative 
                        fhandle->ptrCurrent = fhandle->ptrEnd + offset;
                        break;
@@ -223,7 +228,6 @@ PUBLIC filehandle_t *FS_OpenFile( const char *filename, W32 FlagsAndAttributes )
        // high performance file mapping path, avoiding stdio
        fd = open( netpath, O_RDONLY );
        if ( fd == -1 ) {
-//             return NULL; 
                //if it couldn't be found in that path then check again in the document directory
                //gsh
                //pathBase = FS_ForceGamedir(); 
@@ -231,7 +235,7 @@ PUBLIC filehandle_t *FS_OpenFile( const char *filename, W32 FlagsAndAttributes )
                pathBase = iphoneDocDirectory;
                my_snprintf( netpath, sizeof( netpath ), "%s/%s", pathBase, filename );
                fd = open( netpath, O_RDONLY );
-               if ( fd == -1 ) {  //okay, couldn't find it there either... return null
+               if ( fd == -1 ) {  
                        return NULL;
                }
        }
index cb9fba44f5e7184fc9391ecfb99703e5645d56e3..7c552fdf545f01d78ffdfa70f067665a26cf1115 100644 (file)
@@ -172,7 +172,16 @@ PRIVATE char **FS_ListFiles( char *findname, int *numfiles, unsigned musthave, u
 */
 PUBLIC void FS_InitFilesystem( void )
 {
-       char *p;
-       p = getenv("CWD");
-       sprintf( fs_gamedir, "%s/base", p );
+#define BASE_DIRECTORY "/base"
+
+       int length = SysIPhoneGetPathToMainBundleLength();
+       
+       // Make sure the path will fit.
+       int fullPathLength = length + strlen( BASE_DIRECTORY ) + 1;
+       
+       assert( fullPathLength < MAX_OSPATH );
+       
+       SysIPhoneGetPathToMainBundle( fs_gamedir, length + 1 );
+
+       strcpy( fs_gamedir + length, BASE_DIRECTORY );
 }
index b158fec49e0979700611355e3900400eb58e4cd5..10a1cf814c05d5931de005ae5ce73e520a74f281 100644 (file)
@@ -39,6 +39,8 @@
 #ifndef __FILESYSTEM_H__
 #define __FILESYSTEM_H__
 
+#include "arch.h"
+
 #define        MAX_GAMEPATH    256     // max length of a game pathname
 #define        MAX_OSPATH              256     // max length of a filesystem pathname
 
index ff3d2d0bc758fb8b1907b7c00384025f1de1553d..328a49c493568e8ff01056758e3ce29c2e153c28 100644 (file)
@@ -76,12 +76,16 @@ W16 numSoundDevices, numDefaultSoundDevice;
 PRIVATE void Sound_Device_getDeviceList( void )
 {
        char deviceName[ 256 ];
-
+       ALboolean isExtensionPresent = AL_FALSE;
+       
        my_strlcpy( deviceName, s_device->string, sizeof( deviceName ) );
-       if( pfalcIsExtensionPresent( NULL, (ALubyte*)"ALC_ENUMERATION_EXT") == AL_TRUE ) 
+       isExtensionPresent = pfalcIsExtensionPresent( NULL, (ALubyte*)"ALC_ENUMERATION_EXT");
+       ALC_CheckErrors();
+       if( isExtensionPresent == AL_TRUE ) 
        {       
                // try out enumeration extension
                deviceList = (char *)pfalcGetString( NULL, ALC_DEVICE_SPECIFIER );
+               ALC_CheckErrors();
                for( numSoundDevices = 0 ; numSoundDevices < 12 ; ++numSoundDevices ) 
                {
                        sound_devices[ numSoundDevices ] = NULL;
@@ -200,12 +204,14 @@ failed:
        if( Context )
        {
                pfalcDestroyContext( Context );
+               ALC_CheckErrors();
                Context = NULL;
        }
 
        if( Device )
        {
                pfalcCloseDevice( Device );
+               ALC_CheckErrors();
                Device = NULL;
        }
        
@@ -230,7 +236,9 @@ PUBLIC void Sound_Device_Shutdown( void )
        if( Context )
        {
                pfalcMakeContextCurrent( NULL );
+               ALC_CheckErrors();
                pfalcDestroyContext( Context );
+               ALC_CheckErrors();
 
                Context = NULL;
        }
@@ -238,6 +246,7 @@ PUBLIC void Sound_Device_Shutdown( void )
        if( Device )
        {
                pfalcCloseDevice( Device );
+               ALC_CheckErrors();
 
                Device = NULL;
        }
index 8ee9aa8d6962167a006521193bd4b6793f960ce9..62ec23ef715bc58b52c7fb8d8ebb1d55abdd97fb 100644 (file)
@@ -93,20 +93,20 @@ PUBLIC void R_Draw_Character( int x, int y, int num, font_t *myfont )
        R_Bind( myfont->texfont->texnum );
        
 
-       pfglBegin( GL_QUADS );
+       pfglBegin( GL_TRIANGLE_STRIP );
 
        
        pfglTexCoord2f( fcol, frow );                                                   
        pfglVertex2i( x, y );
        
+       pfglTexCoord2f( fcol, frow+myfont->hFrac );
+       pfglVertex2i( x, (y+sh*scale) );
+       
        pfglTexCoord2f( fcol+myfont->wFrac, frow );                                     
        pfglVertex2i( x+myfont->nMaxWidth*scale, y );
        
        pfglTexCoord2f( fcol+myfont->wFrac, frow+myfont->hFrac );       
        pfglVertex2i( x+myfont->nMaxWidth*scale, (y+sh*scale) );
-       
-       pfglTexCoord2f( fcol, frow+myfont->hFrac );
-       pfglVertex2i( x, (y+sh*scale) );
 
 
        
@@ -146,12 +146,12 @@ PUBLIC void R_Draw_StretchPic( int x, int y, int w, int h, const char *pic )
 
        R_Bind( gl->texnum );
        
-       pfglBegin( GL_QUADS );
+       pfglBegin( GL_TRIANGLE_STRIP );
        
        pfglTexCoord2f( 0.0f, 0.0f );   pfglVertex2i( x, y );
+       pfglTexCoord2f( 0.0f, 1.0f );   pfglVertex2i( x, y+h );
        pfglTexCoord2f( 1.0f, 0.0f );   pfglVertex2i( x+w, y );
        pfglTexCoord2f( 1.0f, 1.0f );   pfglVertex2i( x+w, y+h );
-       pfglTexCoord2f( 0.0f, 1.0f );   pfglVertex2i( x, y+h );
        
        pfglEnd();
 }
@@ -186,7 +186,7 @@ PUBLIC void R_Draw_Fill( int x, int y, int w, int h, colour3_t c )
        c4[3] = 255;
        R_Draw_Blend( x, y, w, h, c4 );
 #else
-       if ( revLand->value ) {
+       if ( deviceOrientation == ORIENTATION_LANDSCAPE_RIGHT ) {
                qglScissor( x, y, w, h );
        } else {
                qglScissor( x, 320-(y+h), w, h );
@@ -203,12 +203,12 @@ PUBLIC void R_Draw_Blend( int x, int y, int w, int h, colour4_t c )
        pfglDisable( GL_TEXTURE_2D );   
        pfglColor4ubv( c );
 
-       pfglBegin( GL_QUADS );
+       pfglBegin( GL_TRIANGLE_STRIP );
        
        pfglVertex2i( x, y );
+       pfglVertex2i( x, y+h );
        pfglVertex2i( x+w, y );
        pfglVertex2i( x+w, y+h );
-       pfglVertex2i( x, y+h );
        
        pfglEnd();
        
index 5d2e65017ed2ab9f0cc71133fd0412da08e6fb2b..a4f738a5eca532deba23256f2db2c2f1ab2f3972 100644 (file)
@@ -131,6 +131,7 @@ typedef struct
        const char *version_string;
        const char *extensions_string;
        _boolean Version_1_2;
+       bool framebuffer_discard;
 
 } glconfig_t;
 
index 729d0abd53a545d3685ef5c1a7b4a1d942c3f5e7..a5dbf9d32711148badb9a15d185a9d3628634581 100644 (file)
@@ -284,7 +284,6 @@ PUBLIC void R_Init()
        int             err;
        int             a, b;
 
-
        Com_Printf( "\n------ Display Initialization ------\n" );
 
        Com_Printf( "Initializing OpenGL Subsystem\n" );
@@ -294,9 +293,6 @@ PUBLIC void R_Init()
        // set our "safe" modes
        gl_state.prev_mode = 0;
 
-       viddef.width = 480;
-       viddef.height = 320;
-
        //      get various GL strings
        gl_config.vendor_string = (char *)pfglGetString( GL_VENDOR );
        Com_Printf( "GL_VENDOR: %s\n", gl_config.vendor_string );
@@ -316,7 +312,6 @@ PUBLIC void R_Init()
        my_strlcpy( vendor_buffer, gl_config.vendor_string, sizeof( vendor_buffer ) );
        (void)my_strlwr( vendor_buffer );
 
-
        sscanf( gl_config.version_string, "%d.%d", &a, &b );
        if( a >= 1 && b >= 2 )
        {
@@ -326,6 +321,14 @@ PUBLIC void R_Init()
        pfglGetIntegerv( GL_MAX_TEXTURE_SIZE, &glMaxTexSize );
        Com_Printf( "GL_MAX_TEXTURE_SIZE: %d\n", glMaxTexSize);
 
+       if ( strstr( gl_config.extensions_string, "GL_EXT_discard_framebuffer" ) != 0 ) {
+               gl_config.framebuffer_discard = true;
+       } else {
+               gl_config.framebuffer_discard = false;
+       }
+
+       InitImmediateModeGL();
+
        GL_SetDefaultState();
 
        TM_Init();
@@ -359,7 +362,7 @@ PUBLIC void PrintGLError( W32 err, const char *from )
                return;
        }
 
-    if( from != "" )
+    if( strlen(from) != 0 )
        {
                Com_Printf( "\n\n\nGL Error: %s\n", from );
        }
index bd7ecc2ce7a4c88a6784cf2754c9fd24209f2d1a..528283823aecb865131957121a165287de6e81cd 100644 (file)
@@ -95,6 +95,7 @@ PRIVATE void Sound_AllocChannels( void )
        for( i = 0, ch = s_channels ; i < MAX_CHANNELS ; ++i, ++ch )
        {
                pfalGenSources( 1, &ch->sourceName );
+               AL_CheckErrors();
 
                if( pfalGetError() != AL_NO_ERROR )
                {
@@ -123,6 +124,7 @@ PRIVATE int Sound_ChannelState( channel_t *ch )
        int state;
 
        pfalGetSourcei( ch->sourceName, AL_SOURCE_STATE, &state );
+       AL_CheckErrors();
 
        return state;
 }
@@ -133,9 +135,16 @@ PRIVATE void Sound_PlayChannel( channel_t *ch, sfx_t *sfx )
        ch->sfx = sfx;
 
        pfalSourcei( ch->sourceName, AL_BUFFER, sfx->bufferNum );
+       AL_CheckErrors();
+       
        pfalSourcei( ch->sourceName, AL_LOOPING, ch->loopSound );
+       AL_CheckErrors();
+       
        pfalSourcei( ch->sourceName, AL_SOURCE_RELATIVE, AL_FALSE );
+       AL_CheckErrors();
+       
        pfalSourcePlay( ch->sourceName );
+       AL_CheckErrors();
 }
 
 
@@ -147,12 +156,15 @@ PRIVATE void Sound_StopChannel( channel_t *ch )
        // Only deleting the entire source seems to work.
        
        pfalSourceStop( ch->sourceName );
+       AL_CheckErrors();
 //     pfalSourceStopv( 1, &ch->sourceName );
 //     pfalSourcei( ch->sourceName, AL_BUFFER, 0 );
 //     pfalSourceRewind( ch->sourceName );
 #if 1
        pfalDeleteSources( 1, &ch->sourceName );
+       AL_CheckErrors();
        pfalGenSources( 1, &ch->sourceName );
+       AL_CheckErrors();
 #endif
 }
 
@@ -165,14 +177,18 @@ PRIVATE void Sound_SpatializeChannel( channel_t *ch )
        if( ch->entNum == 0 || ! ch->distanceMult )
        {
                pfalSourcefv( ch->sourceName, AL_POSITION, s_listener.position );
+               AL_CheckErrors();
                pfalSourcefv( ch->sourceName, AL_VELOCITY, s_listener.velocity );
+               AL_CheckErrors();
        }
        else 
        {
                if( ch->fixedPosition )
                {
                        pfalSource3f( ch->sourceName, AL_POSITION, ch->position[1], ch->position[2], -ch->position[0] );
+                       AL_CheckErrors();
                        pfalSource3f( ch->sourceName, AL_VELOCITY, 0, 0, 0 );
+                       AL_CheckErrors();
                }
 /*             else 
                {
@@ -195,17 +211,23 @@ PRIVATE void Sound_SpatializeChannel( channel_t *ch )
        if( ch->distanceMult )
        {
                pfalSourcef( ch->sourceName, AL_REFERENCE_DISTANCE, s_minDistance->value * ch->distanceMult );
+               AL_CheckErrors();
        }
        else
        {
                pfalSourcef( ch->sourceName, AL_REFERENCE_DISTANCE, s_maxDistance->value );
+               AL_CheckErrors();
        }
 
        pfalSourcef( ch->sourceName, AL_MAX_DISTANCE, s_maxDistance->value );
+       AL_CheckErrors();
 
        // Update volume and rolloff factor
        pfalSourcef( ch->sourceName, AL_GAIN, s_sfxVolume->value * ch->volume );
+       AL_CheckErrors();
+       
        pfalSourcef( ch->sourceName, AL_ROLLOFF_FACTOR, s_rolloffFactor->value );
+       AL_CheckErrors();
 }
 
 
@@ -572,15 +594,26 @@ PUBLIC void Sound_Update( const vec3_t position, const vec3_t velocity, const ve
        vectorSet( &s_listener.orientation[3], up[1], -up[2], -up[0] );
 
        pfalListenerfv( AL_POSITION, s_listener.position );
+       AL_CheckErrors();
+       
        pfalListenerfv( AL_VELOCITY, s_listener.velocity );
+       AL_CheckErrors();
+       
        pfalListenerfv( AL_ORIENTATION, s_listener.orientation );
+       AL_CheckErrors();
+       
        pfalListenerf( AL_GAIN, (s_activeApp) ? s_masterVolume->value : 0.0);
+       AL_CheckErrors();
 
        // Set state
        pfalDistanceModel( AL_INVERSE_DISTANCE_CLAMPED );
+       AL_CheckErrors();
 
        pfalDopplerFactor( s_dopplerFactor->value );
+       AL_CheckErrors();
+       
        pfalDopplerVelocity( s_dopplerVelocity->value );
+       AL_CheckErrors();
 
        // Stream background track
        Sound_StreamBGTrack();
@@ -639,9 +672,26 @@ PUBLIC void Sound_Activate( _boolean active )
        }
 
        pfalListenerf( AL_GAIN, ( active ) ? s_masterVolume->value : 0.0 );
+       AL_CheckErrors();
+}
 
+void AL_CheckErrors() {
+#if 0
+#ifdef DEBUG
+       ALenum error = alGetError();
+       if ( error != AL_NO_ERROR ) {
+               printf( "OpenAL error (al)! %d\n", error);
+       }
+#endif
+#endif
 }
 
+void ALC_CheckErrors() {
+       //ALenum error = alcGetError();
+       //if ( error != AL_NO_ERROR ) {
+       //      printf( "OpenAL error (alc)! %d\n", error);
+       //}
+}
 
 /////////////////////////////////////////////////////////////////////
 //
@@ -690,14 +740,14 @@ PRIVATE void Sound_Register( void )
 {
        
        s_initSound = Cvar_Get( "s_initSound", "1", CVAR_INIT );        
-       s_masterVolume  = Cvar_Get( "s_masterVolume", "0.3", CVAR_ARCHIVE ); //gsh changed this from "1.0" to "0.3" for the volume hack... otherwise it's too loud
+       s_masterVolume  = Cvar_Get( "s_masterVolume", "0.6", CVAR_ARCHIVE ); //gsh changed this from "1.0" to "0.3" for the volume hack... otherwise it's too loud
        s_sfxVolume             = Cvar_Get( "s_sfxVolume", "1.0", CVAR_ARCHIVE );
        s_musicVolume   = Cvar_Get( "s_musicVolume", "1.0", CVAR_ARCHIVE );
        s_minDistance   = Cvar_Get( "s_minDistance", "0.0", CVAR_ARCHIVE );
        s_maxDistance   = Cvar_Get( "s_maxDistance", "1.0", CVAR_ARCHIVE );
        s_rolloffFactor = Cvar_Get( "s_rolloffFactor", "1.0", CVAR_ARCHIVE );
        s_dopplerFactor = Cvar_Get( "s_dopplerFactor", "1.0", CVAR_ARCHIVE );
-       s_dopplerVelocity = Cvar_Get( "s_dopplerVelocity", "0.0", CVAR_ARCHIVE );
+       s_dopplerVelocity = Cvar_Get( "s_dopplerVelocity", "1.0", CVAR_ARCHIVE );
 
        Cmd_AddCommand( "play", Sound_Play_f );
        Cmd_AddCommand( "stopsound", Sound_StopSound_f );
index ad798b2d518428846f0fb93252594cc1dd7837d6..ec19e2cd88049bd0c51178c48784c1323745e87f 100644 (file)
@@ -106,6 +106,8 @@ extern sfx_t        *Sound_FindSound( const char *name );
 extern _boolean Sound_Device_Setup( void );
 extern void Sound_Device_Shutdown( void );
 
+void AL_CheckErrors();
+void ALC_CheckErrors();
 
 #endif /* __SOUND_LOCAL_H__ */
 
index 617552925032b962bb876e17d7abc73c40bf30d8..7e757f4f5e38b9411955d3f10b647efee883ee16 100644 (file)
@@ -96,7 +96,10 @@ PRIVATE void Sound_UploadSound( W8 *data, int sample_size, int channels, sfx_t *
                
                // Upload the sound
                pfalGenBuffers( 1, &sfx->bufferNum );
+               AL_CheckErrors();
+               
                pfalBufferData( sfx->bufferNum, sfx->format, data, size, sfx->rate );
+               AL_CheckErrors();
        }
        else 
        {
@@ -121,7 +124,10 @@ PRIVATE void Sound_UploadSound( W8 *data, int sample_size, int channels, sfx_t *
                
                // Upload the sound
                pfalGenBuffers( 1, &sfx->bufferNum );
+               AL_CheckErrors();
+               
                pfalBufferData( sfx->bufferNum, sfx->format, d, size * 2, sfx->rate );
+               AL_CheckErrors();
                free( d );
        }
 }
@@ -163,7 +169,7 @@ PUBLIC _boolean Sound_LoadSound( sfx_t *sfx )
                if ( ! LoadOggInfo( name, &data, &info ) ) {
                        sfx->defaulted = true;
                        
-                       Com_Printf( "Could not find sound (%s)\n", name );
+                       //Com_Printf( "Could not find sound (%s)\n", name );
                        
                        return false;
                }
index 0a8a845aac937bb31e5710c0ba60e988c82fae65..b101730603b4ae0bdc4bb2bd4468fd0ea30d4180 100644 (file)
@@ -284,17 +284,23 @@ PUBLIC void Sound_StreamBGTrack( void )
 
        // Unqueue and delete any processed buffers
        pfalGetSourcei( s_streamingChannel->sourceName, AL_BUFFERS_PROCESSED, &processed );
+       AL_CheckErrors();
+       
        if( processed > 0 )
        {
                while (processed--)
                {
                        pfalSourceUnqueueBuffers( s_streamingChannel->sourceName, 1, &buffer );
+                       AL_CheckErrors();
+                       //printf( "OpenAL unqueued %d, about to delete it!\n", buffer);
                        pfalDeleteBuffers( 1, &buffer );
+                       AL_CheckErrors();
                }
        }
 
        // Make sure we always have at least 4 buffers in the queue
        pfalGetSourcei( s_streamingChannel->sourceName, AL_BUFFERS_QUEUED, &queued );
+       AL_CheckErrors();
        while( queued < 4 )
        {
                size = 0;
@@ -340,20 +346,29 @@ PUBLIC void Sound_StreamBGTrack( void )
 
                // Upload and queue the new buffer
                pfalGenBuffers( 1, &buffer );
+               AL_CheckErrors();
+               
                pfalBufferData( buffer, bgTrack.format, data, size, bgTrack.rate );
+               AL_CheckErrors();
+               
                pfalSourceQueueBuffers( s_streamingChannel->sourceName, 1, &buffer );
+               AL_CheckErrors();
 
                queued++;
        }
 
        // Update volume
        pfalSourcef( s_streamingChannel->sourceName, AL_GAIN, s_musicVolume->value );
+       AL_CheckErrors();
 
        // If not playing, then do so
        pfalGetSourcei( s_streamingChannel->sourceName, AL_SOURCE_STATE, &state );
+       AL_CheckErrors();
+       
        if( state != AL_PLAYING )
        {
                pfalSourcePlay(s_streamingChannel->sourceName);
+               AL_CheckErrors();
        }
 }
 
@@ -390,17 +405,28 @@ PUBLIC void Sound_StartStreaming( void )
 
        // hmmm...
        pfalDeleteSources( 1, &s_streamingChannel->sourceName );
+       AL_CheckErrors();
+       
        pfalGenSources( 1, &s_streamingChannel->sourceName );
+       AL_CheckErrors();
 
        // Set up the source
        pfalSourcei( s_streamingChannel->sourceName, AL_BUFFER, 0 );
+       AL_CheckErrors();
        pfalSourcei( s_streamingChannel->sourceName, AL_LOOPING, AL_FALSE );
+       AL_CheckErrors();
        pfalSourcei( s_streamingChannel->sourceName, AL_SOURCE_RELATIVE, AL_TRUE );
+       AL_CheckErrors();
        pfalSourcefv( s_streamingChannel->sourceName, AL_POSITION, vec3_origin );
+       AL_CheckErrors();
        pfalSourcefv( s_streamingChannel->sourceName, AL_VELOCITY, vec3_origin );
+       AL_CheckErrors();
        pfalSourcef( s_streamingChannel->sourceName, AL_REFERENCE_DISTANCE, 1.0 );
+       AL_CheckErrors();
        pfalSourcef( s_streamingChannel->sourceName, AL_MAX_DISTANCE, 1.0 );
+       AL_CheckErrors();
        pfalSourcef( s_streamingChannel->sourceName, AL_ROLLOFF_FACTOR, 0.0 );
+       AL_CheckErrors();
 }
 
 /*
@@ -433,22 +459,30 @@ PUBLIC void Sound_StopStreaming( void )
 
 
        pfalSourceStop( s_streamingChannel->sourceName );
+       AL_CheckErrors();
 
        pfalGetSourcei( s_streamingChannel->sourceName, AL_BUFFERS_PROCESSED, &processed );
+       AL_CheckErrors();
        if( processed > 0 )
        {
                while( processed-- )
                {
                        pfalSourceUnqueueBuffers( s_streamingChannel->sourceName, 1, &buffer );
+                       AL_CheckErrors();
                        pfalDeleteBuffers( 1, &buffer );
+                       AL_CheckErrors();
                }
        }
 
        pfalSourcei( s_streamingChannel->sourceName, AL_BUFFER, 0 );
-
+       AL_CheckErrors();
+       
        // hmmm...
        pfalDeleteSources( 1, &s_streamingChannel->sourceName );
+       AL_CheckErrors();
+       
        pfalGenSources( 1, &s_streamingChannel->sourceName );
+       AL_CheckErrors();
 
        s_streamingChannel = NULL;
 }
index d960d1d89b96ac6df53718ccc1f8a352cd4a1d47..5886557a11c8a21e3cbf1fddf60788fbdb32be31 100644 (file)
@@ -349,6 +349,19 @@ PUBLIC texture_t *TM_LoadTexture( const char *name, W8 *data, int width, int hei
                TM_ResampleTexture( data, tex->width, tex->height, scaled, scaled_width, scaled_height, tex->bytes, INTERPOLATION_NONE );
        }
        
+       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, WrapToGL( tex->WrapS ) );
+       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, WrapToGL( tex->WrapT ) );
+       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, MinFilterToGL( tex->MipMap, tex->MinFilter ) );
+       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, MagFilterToGL( tex->MagFilter ) );             
+       
+#ifdef IPHONE
+       if ( type == TT_Wall ) {
+               pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 2.0f );
+       } else {
+               pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 1.0f );
+       }
+#endif
+       
        {
                // upload base image    
                GLenum internalFormat[] = { GL_LUMINANCE, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA };
@@ -379,20 +392,6 @@ PUBLIC texture_t *TM_LoadTexture( const char *name, W8 *data, int width, int hei
        if ( scaled != data ) {
                Z_Free( scaled );
        }
-       
-       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, WrapToGL( tex->WrapS ) );
-       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, WrapToGL( tex->WrapT ) );
-       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, MinFilterToGL( tex->MipMap, tex->MinFilter ) );
-       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, MagFilterToGL( tex->MagFilter ) );             
-       
-#ifdef IPHONE
-       if ( type == TT_Wall ) {
-               pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 2.0f );
-       } else {
-               pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 0 );
-       }
-#endif
-       
 
        return tex;
 }
@@ -486,7 +485,8 @@ PUBLIC texture_t *TM_FindTexture( const char *name, texturetype_t type )
        // load the texture from disk
        //
        data = NULL;
-       if( strcmp( name + len - 4, ".tga" ) ) {
+       const char* const extension = name + len - 4;
+       if( strcmp( extension, ".tga" ) && strcmp( extension, ".png" ) ) {
                return r_notexture;
        }
 
@@ -537,6 +537,23 @@ PUBLIC texture_t *TM_FindTexture( const char *name, texturetype_t type )
                tx->maxS = (float)ph->srcWidth / ph->uploadWidth;
                tx->maxT = (float)ph->srcHeight / ph->uploadHeight;
                unsigned char *s = (unsigned char *)(ph+1);
+               
+               if ( noMips ) {
+                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
+               } else {
+                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_NEAREST );
+               }
+               pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
+               
+               if ( type == TT_Wall ) {
+                       pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 2.0f );
+                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT );
+               } else {
+                       pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 1.0f );
+                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE );
+               }
+               pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE );
+               
                while( 1 ) {
                        int     size = (w*h*fi->bpp)/8;
                        if ( fi->bpp < 16 ) {
@@ -568,26 +585,27 @@ PUBLIC texture_t *TM_FindTexture( const char *name, texturetype_t type )
                   }
                }
                FS_CloseFile( fh );
-               if ( noMips ) {
-                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
-               } else {
-                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR );
-               }
-               pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
                
-               if ( type == TT_Wall ) {
-                       pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 2.0f );
-                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT );
-               } else {
-                       pfglTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 0 );
-                       pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE );
-               }
-               pfglTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE );
                return tx;
        }
 
-       // load a normal TGA
-       LoadTGA( name, &data, &width, &height, &bytes );
+       // load a normal PNG or TGA. Prioritize PNGs, if not found, fall back to TGA.
+       size_t filenameLength = strlen( name );
+       char * pngName = MM_MALLOC( filenameLength );
+       strcpy( pngName, name );
+       strcpy( pngName + filenameLength - 3, "png" );
+       
+       // Try to load a PNG version.
+       LoadPNG( pngName, &data, &width, &height, &bytes );
+       
+       MM_FREE( pngName );
+       pngName = NULL;
+       
+       //  Try finding a TGA if the PNG load failed.
+       if ( ( data == NULL ) && strcmp( extension, ".tga" ) == 0 ) {
+               LoadTGA( name, &data, &width, &height, &bytes );
+       }
+       
        if ( data ) {
                tex = TM_LoadTexture( name, data, width, height, type, bytes );
                MM_FREE( data );
index 576f02bee91140995e524812634ca4b36a7cdf90..4c4ec45166d2b5f324d40f3474e1848b6ad36bb8 100644 (file)
@@ -39,6 +39,9 @@
 #ifndef __TEXTURE_MANAGER_H__
 #define __TEXTURE_MANAGER_H__
 
+#include "arch.h"
+#include "filesystem.h"
+
 #define                MAX_TEXTURES    1024
 
 
index adc34ba67e514ce9043a9efc5ae0729a65dfd986..475fb5d33692371bfbf40804d0e563a30546f96b 100644 (file)
@@ -133,7 +133,7 @@ PUBLIC char *FS_FindFirst( const char *path, W32 musthave, W32 canthave )
 {
        struct dirent *d;
        char *p;
-       p;
+       (void)p;
                                                                                 
        if( fdir )
        {
index 8d125927cd610ce5f30508ce92817d154749f815..6141e38d30db81da5dd458b96a92a129e6606ebf 100644 (file)
@@ -42,6 +42,8 @@
 #ifndef __VIDEO_H__
 #define __VIDEO_H__
 
+#include "arch.h"
+
 typedef struct vrect_s
 {
        int     x, y, width, height;
diff --git a/wolf3d/code/iphone/.DS_Store b/wolf3d/code/iphone/.DS_Store
new file mode 100644 (file)
index 0000000..5008ddf
Binary files /dev/null and b/wolf3d/code/iphone/.DS_Store differ
diff --git a/wolf3d/code/iphone/CreditsView.xib b/wolf3d/code/iphone/CreditsView.xib
new file mode 100644 (file)
index 0000000..5789a36
--- /dev/null
@@ -0,0 +1,1483 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+       <data>
+               <int key="IBDocument.SystemTarget">1056</int>
+               <string key="IBDocument.SystemVersion">10K549</string>
+               <string key="IBDocument.InterfaceBuilderVersion">851</string>
+               <string key="IBDocument.AppKitVersion">1038.36</string>
+               <string key="IBDocument.HIToolboxVersion">461.00</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                       <string key="NS.object.0">141</string>
+               </object>
+               <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <integer value="1"/>
+               </object>
+               <object class="NSArray" key="IBDocument.PluginDependencies">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.Metadata">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSArray" key="dict.sortedKeys" id="0">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                       </object>
+                       <object class="NSMutableArray" key="dict.values">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                       </object>
+               </object>
+               <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="IBProxyObject" id="372490531">
+                               <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                       </object>
+                       <object class="IBProxyObject" id="975951072">
+                               <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                       </object>
+                       <object class="IBUIView" id="191373211">
+                               <reference key="NSNextResponder"/>
+                               <int key="NSvFlags">274</int>
+                               <object class="NSMutableArray" key="NSSubviews">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <object class="IBUIImageView" id="560865336">
+                                               <reference key="NSNextResponder" ref="191373211"/>
+                                               <int key="NSvFlags">256</int>
+                                               <string key="NSFrameSize">{480, 320}</string>
+                                               <reference key="NSSuperview" ref="191373211"/>
+                                               <bool key="IBUIOpaque">NO</bool>
+                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                               <int key="IBUIContentMode">1</int>
+                                               <bool key="IBUIMultipleTouchEnabled">YES</bool>
+                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                               <object class="NSCustomResource" key="IBUIImage">
+                                                       <string key="NSClassName">NSImage</string>
+                                                       <string key="NSResourceName">credits_bg.png</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBUIImageView" id="1004570397">
+                                               <reference key="NSNextResponder" ref="191373211"/>
+                                               <int key="NSvFlags">292</int>
+                                               <string key="NSFrame">{{21, 265}, {32, 32}}</string>
+                                               <reference key="NSSuperview" ref="191373211"/>
+                                               <int key="IBUIContentMode">1</int>
+                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                               <object class="NSCustomResource" key="IBUIImage">
+                                                       <string key="NSClassName">NSImage</string>
+                                                       <string key="NSResourceName">back_arrow.png</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBUILabel" id="132552669">
+                                               <reference key="NSNextResponder" ref="191373211"/>
+                                               <int key="NSvFlags">292</int>
+                                               <string key="NSFrame">{{20, 242}, {66, 29}}</string>
+                                               <reference key="NSSuperview" ref="191373211"/>
+                                               <bool key="IBUIOpaque">NO</bool>
+                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                               <int key="IBUIContentMode">7</int>
+                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                               <string key="IBUIText">BACK</string>
+                                               <object class="NSFont" key="IBUIFont">
+                                                       <string key="NSName">POSITYPE-idSettler_v10.2</string>
+                                                       <double key="NSSize">18</double>
+                                                       <int key="NSfFlags">16</int>
+                                               </object>
+                                               <object class="NSColor" key="IBUITextColor" id="743666671">
+                                                       <int key="NSColorSpace">3</int>
+                                                       <bytes key="NSWhite">MQA</bytes>
+                                               </object>
+                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                               <int key="IBUIBaselineAdjustment">1</int>
+                                               <float key="IBUIMinimumFontSize">10</float>
+                                               <int key="IBUILineBreakMode">5</int>
+                                       </object>
+                                       <object class="IBUIButton" id="910227212">
+                                               <reference key="NSNextResponder" ref="191373211"/>
+                                               <int key="NSvFlags">301</int>
+                                               <string key="NSFrame">{{3, 237}, {69, 69}}</string>
+                                               <reference key="NSSuperview" ref="191373211"/>
+                                               <bool key="IBUIOpaque">NO</bool>
+                                               <bool key="IBUIAutoresizesSubviews">NO</bool>
+                                               <int key="IBUIContentMode">1</int>
+                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                               <int key="IBUIContentHorizontalAlignment">0</int>
+                                               <int key="IBUIContentVerticalAlignment">0</int>
+                                               <object class="NSFont" key="IBUIFont">
+                                                       <string key="NSName">Helvetica-Bold</string>
+                                                       <double key="NSSize">15</double>
+                                                       <int key="NSfFlags">16</int>
+                                               </object>
+                                               <reference key="IBUIHighlightedTitleColor" ref="743666671"/>
+                                               <object class="NSColor" key="IBUINormalTitleColor">
+                                                       <int key="NSColorSpace">1</int>
+                                                       <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+                                               </object>
+                                               <object class="NSColor" key="IBUINormalTitleShadowColor">
+                                                       <int key="NSColorSpace">3</int>
+                                                       <bytes key="NSWhite">MC41AA</bytes>
+                                               </object>
+                                               <object class="NSCustomResource" key="IBUIHighlightedBackgroundImage">
+                                                       <string key="NSClassName">NSImage</string>
+                                                       <string key="NSResourceName">button_highlight.png</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBUIView" id="879914751">
+                                               <reference key="NSNextResponder" ref="191373211"/>
+                                               <int key="NSvFlags">292</int>
+                                               <object class="NSMutableArray" key="NSSubviews">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBUILabel" id="922834680">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{94, 733}, {271, 116}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Wolfenstein 3D and Spear of Destiny originally created by id Software</string>
+                                                               <object class="NSFont" key="IBUIFont" id="867216493">
+                                                                       <string key="NSName">Helvetica-Bold</string>
+                                                                       <double key="NSSize">20</double>
+                                                                       <int key="NSfFlags">16</int>
+                                                               </object>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <object class="NSColor" key="IBUIShadowColor" id="272266017">
+                                                                       <int key="NSColorSpace">1</int>
+                                                                       <bytes key="NSRGB">MCAwIDAAA</bytes>
+                                                               </object>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">4</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="88816189">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{99, 20}, {275, 59}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Wolfenstein 3D Classic Platinum</string>
+                                                               <object class="NSFont" key="IBUIFont">
+                                                                       <string key="NSName">Helvetica-Bold</string>
+                                                                       <double key="NSSize">22</double>
+                                                                       <int key="NSfFlags">16</int>
+                                                               </object>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="793319215">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{86, 87}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Programming</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="377135643">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{86, 294}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Art</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="1018562839">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{86, 421}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Audio</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="156155007">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{85, 910}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Programming</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="112715606">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{85, 1024}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Design</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="485274577">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{85, 1174}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Art</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="331525496">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{85, 1303}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Audio</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="804841357">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{86, 532}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Production</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="244025276">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{87, 639}, {307, 36}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">QA Testing</string>
+                                                               <reference key="IBUIFont" ref="867216493"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUINumberOfLines">2</int>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                               <int key="IBUILineBreakMode">0</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="160745077">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{184, 140}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">John Carmack</string>
+                                                               <object class="NSFont" key="IBUIFont" id="197401005">
+                                                                       <string key="NSName">Helvetica</string>
+                                                                       <double key="NSSize">17</double>
+                                                                       <int key="NSfFlags">16</int>
+                                                               </object>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="510161128">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{183, 954}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">John Carmack</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="563338097">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{183, 1068}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">John Ramero</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="597105469">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{183, 1094}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Tom Hall</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="651097954">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{178, 1218}, {121, 23}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Adrian Carmack</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="936601777">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{183, 1246}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Kevin Cloud</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="199714430">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{183, 1351}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Bobby Prince</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="55472691">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{185, 338}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">John Burnett</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="546129060">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{185, 367}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Mike Horton</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="816982297">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{171, 465}, {137, 26}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Christian Antkow</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="20263364">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{171, 576}, {137, 26}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Rafael Brown</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="910556263">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{172, 683}, {137, 26}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Sean Palomino</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <bool key="IBUIAdjustsFontSizeToFit">NO</bool>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="178286710">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{184, 169}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Jeff Farrand</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="558700540">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{184, 198}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Ryan Gerleve</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                                       <object class="IBUILabel" id="244966839">
+                                                               <reference key="NSNextResponder" ref="879914751"/>
+                                                               <int key="NSvFlags">292</int>
+                                                               <string key="NSFrame">{{184, 234}, {111, 21}}</string>
+                                                               <reference key="NSSuperview" ref="879914751"/>
+                                                               <bool key="IBUIOpaque">NO</bool>
+                                                               <bool key="IBUIClipsSubviews">YES</bool>
+                                                               <int key="IBUIContentMode">7</int>
+                                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                                               <string key="IBUIText">Greg Hodges</string>
+                                                               <reference key="IBUIFont" ref="197401005"/>
+                                                               <reference key="IBUITextColor" ref="743666671"/>
+                                                               <reference key="IBUIHighlightedColor" ref="743666671"/>
+                                                               <reference key="IBUIShadowColor" ref="272266017"/>
+                                                               <string key="IBUIShadowOffset">{1, 1}</string>
+                                                               <int key="IBUIBaselineAdjustment">1</int>
+                                                               <float key="IBUIMinimumFontSize">10</float>
+                                                               <int key="IBUITextAlignment">1</int>
+                                                       </object>
+                                               </object>
+                                               <string key="NSFrame">{{83, 320}, {460, 1400}}</string>
+                                               <reference key="NSSuperview" ref="191373211"/>
+                                               <object class="NSColor" key="IBUIBackgroundColor">
+                                                       <int key="NSColorSpace">3</int>
+                                                       <bytes key="NSWhite">MCAwAA</bytes>
+                                               </object>
+                                               <bool key="IBUIUserInteractionEnabled">NO</bool>
+                                               <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+                                                       <int key="interfaceOrientation">3</int>
+                                               </object>
+                                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                                       </object>
+                               </object>
+                               <string key="NSFrameSize">{480, 320}</string>
+                               <reference key="NSSuperview"/>
+                               <object class="NSColor" key="IBUIBackgroundColor">
+                                       <int key="NSColorSpace">3</int>
+                                       <bytes key="NSWhite">MAA</bytes>
+                               </object>
+                               <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+                                       <int key="interfaceOrientation">3</int>
+                               </object>
+                               <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+                       </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">view</string>
+                                               <reference key="source" ref="372490531"/>
+                                               <reference key="destination" ref="191373211"/>
+                                       </object>
+                                       <int key="connectionID">6</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBCocoaTouchOutletConnection" key="connection">
+                                               <string key="label">creditsRoll</string>
+                                               <reference key="source" ref="372490531"/>
+                                               <reference key="destination" ref="879914751"/>
+                                       </object>
+                                       <int key="connectionID">20</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBCocoaTouchEventConnection" key="connection">
+                                               <string key="label">back:</string>
+                                               <reference key="source" ref="910227212"/>
+                                               <reference key="destination" ref="372490531"/>
+                                               <int key="IBEventType">7</int>
+                                       </object>
+                                       <int key="connectionID">21</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>
+                                               <reference key="object" ref="0"/>
+                                               <reference key="children" ref="1000"/>
+                                               <nil key="parent"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">1</int>
+                                               <reference key="object" ref="191373211"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="132552669"/>
+                                                       <reference ref="1004570397"/>
+                                                       <reference ref="560865336"/>
+                                                       <reference ref="879914751"/>
+                                                       <reference ref="910227212"/>
+                                               </object>
+                                               <reference key="parent" ref="0"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-1</int>
+                                               <reference key="object" ref="372490531"/>
+                                               <reference key="parent" ref="0"/>
+                                               <string key="objectName">File's Owner</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-2</int>
+                                               <reference key="object" ref="975951072"/>
+                                               <reference key="parent" ref="0"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">9</int>
+                                               <reference key="object" ref="910227212"/>
+                                               <reference key="parent" ref="191373211"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">10</int>
+                                               <reference key="object" ref="132552669"/>
+                                               <reference key="parent" ref="191373211"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">11</int>
+                                               <reference key="object" ref="1004570397"/>
+                                               <reference key="parent" ref="191373211"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">8</int>
+                                               <reference key="object" ref="560865336"/>
+                                               <reference key="parent" ref="191373211"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">12</int>
+                                               <reference key="object" ref="879914751"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="936601777"/>
+                                                       <reference ref="922834680"/>
+                                                       <reference ref="199714430"/>
+                                                       <reference ref="651097954"/>
+                                                       <reference ref="597105469"/>
+                                                       <reference ref="563338097"/>
+                                                       <reference ref="485274577"/>
+                                                       <reference ref="510161128"/>
+                                                       <reference ref="331525496"/>
+                                                       <reference ref="112715606"/>
+                                                       <reference ref="156155007"/>
+                                                       <reference ref="910556263"/>
+                                                       <reference ref="244025276"/>
+                                                       <reference ref="20263364"/>
+                                                       <reference ref="804841357"/>
+                                                       <reference ref="816982297"/>
+                                                       <reference ref="1018562839"/>
+                                                       <reference ref="546129060"/>
+                                                       <reference ref="55472691"/>
+                                                       <reference ref="377135643"/>
+                                                       <reference ref="244966839"/>
+                                                       <reference ref="558700540"/>
+                                                       <reference ref="178286710"/>
+                                                       <reference ref="160745077"/>
+                                                       <reference ref="793319215"/>
+                                                       <reference ref="88816189"/>
+                                               </object>
+                                               <reference key="parent" ref="191373211"/>
+                                               <string key="objectName">Credtis text roll</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">40</int>
+                                               <reference key="object" ref="936601777"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">13</int>
+                                               <reference key="object" ref="922834680"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">39</int>
+                                               <reference key="object" ref="199714430"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">38</int>
+                                               <reference key="object" ref="651097954"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">37</int>
+                                               <reference key="object" ref="597105469"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">36</int>
+                                               <reference key="object" ref="563338097"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">35</int>
+                                               <reference key="object" ref="485274577"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">34</int>
+                                               <reference key="object" ref="510161128"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">33</int>
+                                               <reference key="object" ref="331525496"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">32</int>
+                                               <reference key="object" ref="112715606"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">31</int>
+                                               <reference key="object" ref="156155007"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">30</int>
+                                               <reference key="object" ref="910556263"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">29</int>
+                                               <reference key="object" ref="244025276"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">28</int>
+                                               <reference key="object" ref="20263364"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">27</int>
+                                               <reference key="object" ref="804841357"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">26</int>
+                                               <reference key="object" ref="816982297"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">25</int>
+                                               <reference key="object" ref="1018562839"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">24</int>
+                                               <reference key="object" ref="546129060"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">23</int>
+                                               <reference key="object" ref="55472691"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">22</int>
+                                               <reference key="object" ref="377135643"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">19</int>
+                                               <reference key="object" ref="244966839"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">18</int>
+                                               <reference key="object" ref="558700540"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">17</int>
+                                               <reference key="object" ref="178286710"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">16</int>
+                                               <reference key="object" ref="160745077"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">15</int>
+                                               <reference key="object" ref="793319215"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">14</int>
+                                               <reference key="object" ref="88816189"/>
+                                               <reference key="parent" ref="879914751"/>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="flattenedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="NSArray" key="dict.sortedKeys">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <string>-1.CustomClassName</string>
+                                       <string>-2.CustomClassName</string>
+                                       <string>1.IBEditorWindowLastContentRect</string>
+                                       <string>1.IBPluginDependency</string>
+                                       <string>10.CustomClassName</string>
+                                       <string>10.IBPluginDependency</string>
+                                       <string>10.IBViewBoundsToFrameTransform</string>
+                                       <string>11.IBPluginDependency</string>
+                                       <string>11.IBViewBoundsToFrameTransform</string>
+                                       <string>12.IBEditorWindowLastContentRect</string>
+                                       <string>12.IBPluginDependency</string>
+                                       <string>12.IBViewBoundsToFrameTransform</string>
+                                       <string>13.IBPluginDependency</string>
+                                       <string>13.IBViewBoundsToFrameTransform</string>
+                                       <string>14.IBPluginDependency</string>
+                                       <string>14.IBViewBoundsToFrameTransform</string>
+                                       <string>15.IBPluginDependency</string>
+                                       <string>15.IBViewBoundsToFrameTransform</string>
+                                       <string>16.IBPluginDependency</string>
+                                       <string>16.IBViewBoundsToFrameTransform</string>
+                                       <string>17.IBPluginDependency</string>
+                                       <string>17.IBViewBoundsToFrameTransform</string>
+                                       <string>18.IBPluginDependency</string>
+                                       <string>18.IBViewBoundsToFrameTransform</string>
+                                       <string>19.IBPluginDependency</string>
+                                       <string>19.IBViewBoundsToFrameTransform</string>
+                                       <string>22.IBPluginDependency</string>
+                                       <string>22.IBViewBoundsToFrameTransform</string>
+                                       <string>23.IBPluginDependency</string>
+                                       <string>23.IBViewBoundsToFrameTransform</string>
+                                       <string>24.IBPluginDependency</string>
+                                       <string>24.IBViewBoundsToFrameTransform</string>
+                                       <string>25.IBPluginDependency</string>
+                                       <string>25.IBViewBoundsToFrameTransform</string>
+                                       <string>26.IBPluginDependency</string>
+                                       <string>26.IBViewBoundsToFrameTransform</string>
+                                       <string>27.IBPluginDependency</string>
+                                       <string>27.IBViewBoundsToFrameTransform</string>
+                                       <string>28.IBPluginDependency</string>
+                                       <string>28.IBViewBoundsToFrameTransform</string>
+                                       <string>29.IBPluginDependency</string>
+                                       <string>29.IBViewBoundsToFrameTransform</string>
+                                       <string>30.IBPluginDependency</string>
+                                       <string>30.IBViewBoundsToFrameTransform</string>
+                                       <string>31.IBPluginDependency</string>
+                                       <string>31.IBViewBoundsToFrameTransform</string>
+                                       <string>32.IBPluginDependency</string>
+                                       <string>32.IBViewBoundsToFrameTransform</string>
+                                       <string>33.IBPluginDependency</string>
+                                       <string>33.IBViewBoundsToFrameTransform</string>
+                                       <string>34.IBPluginDependency</string>
+                                       <string>34.IBViewBoundsToFrameTransform</string>
+                                       <string>35.IBPluginDependency</string>
+                                       <string>35.IBViewBoundsToFrameTransform</string>
+                                       <string>36.IBPluginDependency</string>
+                                       <string>36.IBViewBoundsToFrameTransform</string>
+                                       <string>37.IBPluginDependency</string>
+                                       <string>37.IBViewBoundsToFrameTransform</string>
+                                       <string>38.IBPluginDependency</string>
+                                       <string>38.IBViewBoundsToFrameTransform</string>
+                                       <string>39.IBPluginDependency</string>
+                                       <string>39.IBViewBoundsToFrameTransform</string>
+                                       <string>40.IBPluginDependency</string>
+                                       <string>40.IBViewBoundsToFrameTransform</string>
+                                       <string>8.IBViewBoundsToFrameTransform</string>
+                                       <string>9.IBPluginDependency</string>
+                                       <string>9.IBViewBoundsToFrameTransform</string>
+                               </object>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <string>CreditsViewController</string>
+                                       <string>UIResponder</string>
+                                       <string>{{522, 817}, {480, 320}}</string>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <string>UIFontLabel</string>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw4aAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUIUAABDg4AAA</bytes>
+                                       </object>
+                                       <string>{{387, 0}, {475, 1156}}</string>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAxK7AAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCkgAAxFPAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCqgAAwuwAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUKsAABCrgAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM4AABDDAAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABDQAAAw2QAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABDQAAAw4CAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABDQAAAw48AAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUKsAABDkwAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM5AABDyQAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM5AABD14AAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUKsAABD0oAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUMrAABEBEAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUKsAABEFQAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUMrAABEIAAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCrgAAwz4AAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM7AABDTAAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCrgAAw0UAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUKqAABEgAAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCrgAAxATAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM3AABEboAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABCrgAAw8oAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM3AABEhYAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM3AABEiMAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM3AABEmEAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABDOQAAwyQAAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUM3AABEmEAAA</bytes>
+                                       </object>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw58AAA</bytes>
+                                       </object>
+                                       <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">AUBAAABDbQAAA</bytes>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="unlocalizedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <reference key="dict.sortedKeys" ref="0"/>
+                               <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>
+                               <reference key="dict.sortedKeys" ref="0"/>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                       </object>
+                       <nil key="sourceID"/>
+                       <int key="maxID">40</int>
+               </object>
+               <object class="IBClassDescriber" key="IBDocument.Classes">
+                       <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">CreditsViewController</string>
+                                       <string key="superclassName">UIViewController</string>
+                                       <object class="NSMutableDictionary" key="actions">
+                                               <string key="NS.key.0">back:</string>
+                                               <string key="NS.object.0">id</string>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="actionInfosByName">
+                                               <string key="NS.key.0">back:</string>
+                                               <object class="IBActionInfo" key="NS.object.0">
+                                                       <string key="name">back:</string>
+                                                       <string key="candidateClassName">id</string>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="outlets">
+                                               <string key="NS.key.0">creditsRoll</string>
+                                               <string key="NS.object.0">UIView</string>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+                                               <string key="NS.key.0">creditsRoll</string>
+                                               <object class="IBToOneOutletInfo" key="NS.object.0">
+                                                       <string key="name">creditsRoll</string>
+                                                       <string key="candidateClassName">UIView</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">CreditsViewController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIFontLabel</string>
+                                       <string key="superclassName">UILabel</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">UIFontLabel.h</string>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuartzCore.framework/Headers/CAAnimation.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuartzCore.framework/Headers/CALayer.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="876266285">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIButton</string>
+                                       <string key="superclassName">UIControl</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIButton.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIControl</string>
+                                       <string key="superclassName">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIControl.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIImageView</string>
+                                       <string key="superclassName">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIImageView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UILabel</string>
+                                       <string key="superclassName">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIResponder</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="876266285"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UISearchBar</string>
+                                       <string key="superclassName">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UISearchDisplayController</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIView</string>
+                                       <string key="superclassName">UIResponder</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIViewController</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIViewController</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIViewController</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIViewController</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">UIViewController</string>
+                                       <string key="superclassName">UIResponder</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
+                                       </object>
+                               </object>
+                       </object>
+               </object>
+               <int key="IBDocument.localizationMode">0</int>
+               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+                       <integer value="1056" key="NS.object.0"/>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+                       <integer value="3100" key="NS.object.0"/>
+               </object>
+               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+               <string key="IBDocument.LastKnownRelativeProjectPath">wolf3d.xcodeproj</string>
+               <int key="IBDocument.defaultPropertyAccessControl">3</int>
+               <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSArray" key="dict.sortedKeys">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <string>back_arrow.png</string>
+                               <string>button_highlight.png</string>
+                               <string>credits_bg.png</string>
+                       </object>
+                       <object class="NSMutableArray" key="dict.values">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <string>{65, 63}</string>
+                               <string>{4, 4}</string>
+                               <string>{960, 640}</string>
+                       </object>
+               </object>
+               <string key="IBCocoaTouchPluginVersion">141</string>
+       </data>
+</archive>
diff --git a/wolf3d/code/iphone/CreditsViewController.h b/wolf3d/code/iphone/CreditsViewController.h
new file mode 100644 (file)
index 0000000..16bf0b9
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ Copyright (C) 2011 id Software LLC, a ZeniMax Media company. 
+
+ This file is part of the WOLF3D iOS v2.1 GPL Source Code. 
+
+ 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>
+
+
+@interface CreditsViewController : UIViewController {
+       @private
+               IBOutlet UIView* creditsRoll;
+}
+
+- (IBAction)back:(id)sender;
+
+@end
diff --git a/wolf3d/code/iphone/CreditsViewController.m b/wolf3d/code/iphone/CreditsViewController.m
new file mode 100644 (file)
index 0000000..bf90572
--- /dev/null
@@ -0,0 +1,116 @@
+/*
+ Copyright (C) 2011 id Software LLC, a ZeniMax Media company. 
+
+ This file is part of the WOLF3D iOS v2.1 GPL Source Code. 
+
+ 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 "CreditsViewController.h"
+#import <QuartzCore/CAAnimation.h>
+
+#define CREDITS_ANIMATION_POINTS_PER_SECOND            ( 320.0f / 6.0f ) // Six seconds to scroll up
+                                                                                                                                 // an iPhone screen.
+
+@interface CreditsViewController ()
+
+       @property (nonatomic, retain) UIView* creditsRoll;
+
+@end
+
+@implementation CreditsViewController
+
+@synthesize creditsRoll;
+
+// The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
+/*
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
+    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+    if (self) {
+        // Custom initialization.
+    }
+    return self;
+}
+*/
+
+/*
+// Implement loadView to create a view hierarchy programmatically, without using a nib.
+- (void)loadView {
+}
+*/
+
+
+// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
+- (void)viewDidLoad {
+    [super viewDidLoad];
+       
+       // This is the starting position of the credits text.
+       CGPoint startPoint = self.creditsRoll.center;
+       
+       // Set up the end point. We can stop the animation as soon as the bottom of the credits
+       // get to the top of the screen.
+       CGPoint endPoint = startPoint;
+       
+       endPoint.y = -self.creditsRoll.bounds.size.height;
+       
+       // Start credits animation
+       CABasicAnimation *theAnimation;
+       theAnimation=[CABasicAnimation animationWithKeyPath:@"position"];
+       
+       CGFloat pointDistance = endPoint.y - startPoint.y;
+       
+       theAnimation.duration= fabs( pointDistance ) * ( 1.0f / CREDITS_ANIMATION_POINTS_PER_SECOND );
+       
+       theAnimation.fromValue=[NSValue valueWithCGPoint:startPoint];
+       theAnimation.toValue=[NSValue valueWithCGPoint:endPoint];
+       
+       [self.creditsRoll.layer addAnimation:theAnimation forKey:@"animatePosition"];
+}
+
+
+// Override to allow orientations other than the default portrait orientation.
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
+    // Return YES for supported orientations.
+    return UIInterfaceOrientationIsLandscape(interfaceOrientation);
+}
+
+- (void)didReceiveMemoryWarning {
+    // Releases the view if it doesn't have a superview.
+    [super didReceiveMemoryWarning];
+    
+    // Release any cached data, images, etc. that aren't in use.
+}
+
+- (void)viewDidUnload {
+    [super viewDidUnload];
+    // Release any retained subviews of the main view.
+    // e.g. self.myOutlet = nil;
+       self.creditsRoll = nil;
+}
+
+
+- (void)dealloc {
+    [super dealloc];
+}
+
+- (IBAction)back:(id)sender {
+       [self.navigationController popViewControllerAnimated:YES];
+}
+
+@end
index dd2c39a9e494870a07f67446af334a3130bc41a9..57734a0c9af2d832626e6600156daf68a41471c4 100644 (file)
@@ -1,6 +1,9 @@
 /*
  
- Copyright (C) 2009 Id Software, Inc.
+ Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company. 
+
+ This file is part of the WOLF3D iOS v2.1 GPL Source Code. 
+
  
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
@@ -41,20 +44,17 @@ Note that setting the view non-opaque will only work if the EAGL surface has an
        UITextField *textField;
     
 @private
+       EAGLContext *context;
+
     /* The pixel dimensions of the backbuffer */
-    GLint backingWidth;
-    GLint backingHeight;
-    
-    EAGLContext *context;
+    GLint framebufferWidth;
+    GLint framebufferHeight;
     
     /* OpenGL names for the renderbuffer and framebuffers used to render to this view */
-    GLuint viewRenderbuffer, viewFramebuffer;
+    GLuint defaultFramebuffer, colorRenderbuffer;
     
     /* 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;
        
        //gsh... an attempt at hacking the volume button
 #ifdef VOLUMEHACK
@@ -66,8 +66,9 @@ Note that setting the view non-opaque will only work if the EAGL surface has an
        
 }
 
-@property NSTimeInterval animationInterval;
+@property (nonatomic, retain) EAGLContext *context;
 
-- (void)drawView;
+- (void)setFramebuffer;
+- (BOOL)presentFramebuffer;
 
 @end
index 7fde3ecbd9f22f2ac30b09953408b566412046bb..cd3f59f6b19ff0e66ab5e29e577c9ecfcab43d12 100644 (file)
@@ -1,11 +1,25 @@
-//
-//  EAGLView.m
-//  wolf3d
-//
-//  Created by Cass Everitt on 2/20/09.
-//  Copyright Id Software 2009. All rights reserved.
-//
-
+/*
+ Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company. 
+
+ This file is part of the WOLF3D iOS v2.1 GPL Source Code. 
+
+ 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 <QuartzCore/QuartzCore.h>
@@ -16,8 +30,6 @@
 
 #include "wolfiphone.h"
 
-
-
 //gsh
 //#define NOTIFYLISTEN  //uncomment to receive notifications
 
@@ -60,218 +72,235 @@ struct AVSystemControllerPrivate;
 @end
 
 AVSystemController *SharedAVSystemController;
-EAGLView *eaglview;
+EAGLView *eaglview = nil;
 
 // A class extension to declare private methods
-@interface EAGLView ()
-
-@property (nonatomic, retain) EAGLContext *context;
-@property (nonatomic, assign) NSTimer *animationTimer;
-
-- (void) destroyFramebuffer;
-- (void) swapBuffers;
-
+@interface EAGLView (PrivateMethods)
+- (void)createFramebuffer;
+- (void)deleteFramebuffer;
 @end
 
-
 @implementation EAGLView
 
-@synthesize context;
-@synthesize animationTimer;
-@synthesize animationInterval;
-
+@dynamic context;
 
 // 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];
+- (id)initWithFrame:(CGRect)aRect {
+    self = [super initWithFrame:aRect];
        
        eaglview = self;
+
+       if ( self ) {
+               [self setMultipleTouchEnabled:YES];
                
-       // 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);
+               // Support rendering at native resolution on devices with Retina displays.
+               if( [self respondsToSelector:@selector(contentScaleFactor)] ) {
+                       self.contentScaleFactor = deviceScale;
+               }
        
-#if 0  
-       // set swapinterval if possible
-       void *eglSwapInterval;  
-       eglSwapInterval = dlsym( RTLD_DEFAULT, "eglSwapInterval" );
-       if ( eglSwapInterval ) {
-               ((void(*)(int))eglSwapInterval)( 2 );
-       }
-#endif
+               // Get the layer
+               CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
+               
+               eaglLayer.opaque = TRUE;
+               eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
+                                                                               
+                                                                               [NSNumber numberWithBool:NO], 
+                                                                               kEAGLDrawablePropertyRetainedBacking,
+                                                                               kEAGLColorFormatRGB565,
+                                                                               kEAGLDrawablePropertyColorFormat,
+                                                                               nil];
+               
+
+                   
+               //self.multipleTouchEnabled = true;
 
 #ifdef VOLUMEHACK
-       //-------------------
-       // Volume Button Hack
-       //gsh
-       // Note: MediaPlayer framework required for this trick
-       //create a MPVolumeView to hack the volume button
-       CGRect frame = CGRectMake(0, -30, 180, 10);  //put this thing offscreen
-       volumeView = [[[MPVolumeView alloc] initWithFrame:frame] autorelease];
-       [volumeView sizeToFit];
-       [self addSubview:volumeView];
-       
-       // Find the volume view slider 
-       for (UIView *view in [volumeView subviews]){
-               if ([[[view class] description] isEqualToString:@"MPVolumeSlider"]) {
-                       volumeViewSlider = (UISlider *)view;
+               //-------------------
+               // Volume Button Hack
+               //gsh
+               // Note: MediaPlayer framework required for this trick
+               //create a MPVolumeView to hack the volume button
+               CGRect frame = CGRectMake(0, -30, 180, 10);  //put this thing offscreen
+               volumeView = [[[MPVolumeView alloc] initWithFrame:frame] autorelease];
+               [volumeView sizeToFit];
+               [self addSubview:volumeView];
+               
+               // Find the volume view slider 
+               for (UIView *view in [volumeView subviews]){
+                       if ([[[view class] description] isEqualToString:@"MPVolumeSlider"]) {
+                               volumeViewSlider = (UISlider *)view;
+                       }
                }
-       }
-       
-       //listen for volume changes
-       [[NSNotificationCenter defaultCenter] addObserver:self 
-                                                                                        selector:@selector(volumeListener:) 
-                                                                                                name:@"AVSystemController_SystemVolumeDidChangeNotification" 
-                                                                                          object:nil];
+               
+               //listen for volume changes
+               [[NSNotificationCenter defaultCenter] addObserver:self 
+                                                                                                selector:@selector(volumeListener:) 
+                                                                                                        name:@"AVSystemController_SystemVolumeDidChangeNotification" 
+                                                                                                  object:nil];
        
        //---------------------
 #endif
        
 #ifdef NOTIFYLISTEN    //gsh
-       //this is a general purpose listener
-       [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notificationListener:)
-                                                                                                name:nil
-                                                                                          object:nil];
+               //this is a general purpose listener
+               [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notificationListener:)
+                                                                                                        name:nil
+                                                                                                  object:nil];
 #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;
 }
 
-//gsh
-- (void)viewDidLoad {
-
-       Com_Printf("\n---------------\nviewDidLoad() called\n---------------\n\n");
+- (void)setContext:(EAGLContext *)newContext
+{
+    if (context != newContext)
+    {
+        [self deleteFramebuffer];
+        
+        [context release];
+        context = [newContext retain];
+        
+        [EAGLContext setCurrentContext:nil];
+    }
 }
 
-- (void)drawView {
+- (void)createFramebuffer
+{
+    if (context && !defaultFramebuffer)
+    {
+        [EAGLContext setCurrentContext:context];
                
-       [ (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() );
-                               }
-                       }
+        // Create default framebuffer object.
+        glGenFramebuffersOES(1, &defaultFramebuffer);
+        glBindFramebufferOES(GL_FRAMEBUFFER_OES, defaultFramebuffer);
+        
+        // Create color render buffer and allocate backing store.
+        glGenRenderbuffersOES(1, &colorRenderbuffer);
+        glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer);
+                       
+        [context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(CAEAGLLayer *)self.layer];
+        glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_WIDTH_OES, &framebufferWidth);
+        glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_HEIGHT_OES, &framebufferHeight);
+        
+               glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, colorRenderbuffer);
+               
+               // Create the depth render buffer and allocate backing store.
+               glGenRenderbuffersOES(1, &depthRenderbuffer);
+               glBindRenderbufferOES(GL_RENDERBUFFER_OES, depthRenderbuffer);
+               glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT16_OES, framebufferWidth, framebufferHeight);
+               
+               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));
                }
-       }
-#endif 
-       
-#ifdef VOLUMEHACK
-       //------------------
-       // volume hack
+               
+               // We can bind the color buffer here to avoid doing it every frame.
+               glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer);
+    }
+}
 
-       
-       //check for volume adjustments   gsh
-       if ( menuState == IPM_CONTROLS)
-       {
-               if (lastFramesVolume != s_masterVolume->value)
+- (void)deleteFramebuffer
+{
+    if (context)
+    {
+        [EAGLContext setCurrentContext:context];
+        
+        if (defaultFramebuffer)
+        {
+            glDeleteFramebuffersOES(1, &defaultFramebuffer);
+            defaultFramebuffer = 0;
+        }
+        
+        if (colorRenderbuffer)
+        {
+            glDeleteRenderbuffersOES(1, &colorRenderbuffer);
+            colorRenderbuffer = 0;
+        }
+               
+               if (depthRenderbuffer)
                {
-                       lastFramesVolume = s_masterVolume->value;
-                       [volumeViewSlider setValue:lastFramesVolume animated:NO];
-                       [volumeViewSlider _commitVolumeChange];
+                       glDeleteFramebuffersOES(1, &depthRenderbuffer);
+                       depthRenderbuffer = 0;
                }
-       }
-#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)setFramebuffer
+{
+    if (context)
+    {
+        [EAGLContext setCurrentContext:context];
+        
+        if (!defaultFramebuffer)
+            [self createFramebuffer];
+        
+               //glBindFramebufferOES(GL_FRAMEBUFFER_OES, defaultFramebuffer);
+        
+        //glViewport(0, 0, framebufferWidth, framebufferHeight);
+    }
 }
 
-- (void)layoutSubviews {
-    [self drawView];
+- (BOOL)presentFramebuffer
+{
+    BOOL success = FALSE;
+    
+    if (context)
+    {
+        [EAGLContext setCurrentContext:context];
+               
+               //glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer);
+               
+               if ( gl_config.framebuffer_discard ) {
+                       const GLenum discards[]  = {GL_DEPTH_ATTACHMENT_OES};
+                       glDiscardFramebufferEXT(GL_FRAMEBUFFER_OES,1,discards);
+               }
+               
+        
+               loggedTimes[iphoneFrameNum&(MAX_LOGGED_TIMES-1)].beforeSwap = Sys_Milliseconds();
+        success = [context presentRenderbuffer:GL_RENDERBUFFER_OES];
+               loggedTimes[iphoneFrameNum&(MAX_LOGGED_TIMES-1)].afterSwap = Sys_Milliseconds();
+    }
+    
+    return success;
 }
 
 
-
-- (void)destroyFramebuffer {
-    glDeleteFramebuffersOES(1, &viewFramebuffer);
-    viewFramebuffer = 0;
-    glDeleteRenderbuffersOES(1, &viewRenderbuffer);
-    viewRenderbuffer = 0;
-       glDeleteRenderbuffersOES(1, &depthRenderbuffer);
-       depthRenderbuffer = 0;
+- (void)layoutSubviews {
+       //float widthRatio = ( self.bounds.size.width * deviceScale ) / REFERENCE_WIDTH;
+       //float heightRatio = ( self.bounds.size.height * deviceScale ) / REFERENCE_HEIGHT;
+       
+       [self deleteFramebuffer];
+       
+       /*
+       if ( widthRatio < heightRatio ) {
+               screenScale = widthRatio;
+       } else {
+               screenScale = heightRatio; 
+       }
+       
+       // Set the global width and height so the game code can access it.
+       // since the game runs in landscape, we must switch width and height.
+       viddef.width = self.bounds.size.width * deviceScale;
+       viddef.height = self.bounds.size.height * deviceScale;
+       */
+       // Need to re-arrange the HUD now that the screen changed.
+       if ( controlScheme ) {
+               HudSetForScheme( controlScheme->value );
+       }
 }
 
 
-- (void)dealloc {
-    if ([EAGLContext currentContext] == context) {
-        [EAGLContext setCurrentContext:nil];
-    }
-    
-    [context release];  
+- (void)dealloc {    
+       [self deleteFramebuffer];
+    [context release];
+       
     [super dealloc];
 }
 
@@ -287,7 +316,7 @@ EAGLView *eaglview;
        NSSet *t = [event allTouches];
     for (UITouch *myTouch in t)
     {
-        CGPoint touchLocation = [myTouch locationInView:nil];
+        CGPoint touchLocation = [myTouch locationInView:self];
 
                points[ 2 * touchCount + 0 ] = touchLocation.x;
                points[ 2 * touchCount + 1 ] = touchLocation.y; // ( h - 1 ) - touchLocation.y;
@@ -434,10 +463,6 @@ void SysIPhoneSetConsoleTextField( const char * str) {
        eaglview->textField.text = [ NSString stringWithUTF8String: str ];
 }
 
-void SysIPhoneSwapBuffers() {
-       [eaglview swapBuffers];
-}
-
 void SysIPhoneOpenURL( const char *url ) {
        Com_Printf( "OpenURL char *: %s\n", url );
        
@@ -445,14 +470,6 @@ void SysIPhoneOpenURL( const char *url ) {
        [[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;
diff --git a/wolf3d/code/iphone/EpisodeCell.xib b/wolf3d/code/iphone/EpisodeCell.xib
new file mode 100644 (file)
index 0000000..cedbbab
--- /dev/null
@@ -0,0 +1,698 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+       <data>
+               <int key="IBDocument.SystemTarget">1056</int>
+               <string key="IBDocument.SystemVersion">10K540</string>
+               <string key="IBDocument.InterfaceBuilderVersion">851</string>
+               <string key="IBDocument.AppKitVersion">1038.36</string>
+               <string key="IBDocument.HIToolboxVersion">461.00</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+