From ff16e95b38a1f21e2ac8fbc61d30b5b15ba8d7d5 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Mon, 25 Mar 2013 16:16:56 +1030 Subject: [PATCH] mac: hack together a basic app bundle target Import Kristian's Launcher.nib file, a basic info.plist and a png version of the icon to pull together the absolute basics needed for an OSX bundle. A better icon set would be nice... Signed-off-by: Kevin Shanahan --- Makefile | 66 +- icons/quake_32x32.png | Bin 0 -> 597 bytes .../English.lproj/Launcher.nib/designable.nib | 2705 +++++++++++++++++ launcher/osx/Info.plist | 37 + 4 files changed, 2803 insertions(+), 5 deletions(-) create mode 100644 icons/quake_32x32.png create mode 100644 launcher/osx/English.lproj/Launcher.nib/designable.nib create mode 100644 launcher/osx/Info.plist diff --git a/Makefile b/Makefile index 5ba1ea8..73d7576 100644 --- a/Makefile +++ b/Makefile @@ -729,6 +729,12 @@ COMMON_CPPFLAGS += -DELF COMMON_OBJS += net_udp.o sys_unix.o COMMON_LIBS += m NQCL_OBJS += net_bsd.o + +# FIXME - stupid hack +ifeq ($(APP_BUNDLE),Y) +COMMON_CPPFLAGS += -Dmain=SDL_main +endif + # If we are on OSX (Darwin) and this is not the GLX target, we will link with # "-framework OpenGL" instead. Otherwise, link with libGL as normal # => if ($TARGET_UNIX != darwin || $VID_TARGET == x11)... @@ -932,14 +938,15 @@ clean: # ---------------------------------------------------------------------------- # OSX Launcher (not yet working...) +# - hacking about to see if I can get at least the glquake target running... # ---------------------------------------------------------------------------- -LAUNCHER_DIR = $(BUILD_DIR)/launcher - LAUNCHER_CPPFLAGS := $(COMMON_CPPFLAGS) LAUNCHER_CPPFLAGS += $(shell sdl2-config --cflags) -LAUNCHER_LFLAGS := -lobjc -LAUNCHER_LFLAGS += $(shell sdl2-config --libs) +LAUNCHER_LFLAGS := $(ALL_NQGL_LFLAGS) -lobjc -framework Cocoa +LAUNCHER_DIR = $(BUILD_DIR)/launcher + +BUNDLE_CONTENTS = $(BIN_DIR)/tyr-glquake.app/Contents $(LAUNCHER_DIR)/%.o: CPPFLAGS = $(LAUNCHER_CPPFLAGS) $(LAUNCHER_DIR)/%.o: launcher/osx/%.m ; $(do_cc_o_m) @@ -952,6 +959,55 @@ LAUNCHER_OBJS = \ SDLMain.o \ ScreenInfo.o -$(BIN_DIR)/launcher: $(patsubst %,$(LAUNCHER_DIR)/%,$(LAUNCHER_OBJS)) +ALL_LAUNCHER_OBJS = \ + $(patsubst %,$(LAUNCHER_DIR)/%,$(LAUNCHER_OBJS)) \ + $(patsubst %,$(NQGLDIR)/%,$(ALL_NQGL_OBJS)) + +PLIST=/usr/libexec/PlistBuddy + +$(BUNDLE_CONTENTS)/Info.plist: launcher/osx/Info.plist Makefile + @$(do_mkdir) + cp launcher/osx/Info.plist $(LAUNCHER_DIR)/.Info.plist.tmp + $(PLIST) -c "Set :CFBundleName TyrQuake" $(LAUNCHER_DIR)/.Info.plist.tmp + $(PLIST) -c "Set :CFBundleExecutable Launcher" $(LAUNCHER_DIR)/.Info.plist.tmp + $(PLIST) -c "Set :CFBundleShortVersionString $(TYR_VERSION)" $(LAUNCHER_DIR)/.Info.plist.tmp + $(PLIST) -c "Set :CFBundleIconFile TyrQuake" $(LAUNCHER_DIR)/.Info.plist.tmp + $(PLIST) -c "Set :NSMainNibFile Launcher" $(LAUNCHER_DIR)/.Info.plist.tmp + mv $(LAUNCHER_DIR)/.Info.plist.tmp $@ + +$(BUNDLE_CONTENTS)/Resources/English.lproj/Launcher.nib: launcher/osx/English.lproj/Launcher.nib/designable.nib + @$(do_mkdir) + ibtool --compile $@ $( $@ + +$(LAUNCHER_DIR)/TyrQuake.iconset/icon_%.png: icons/quake_%.png + @$(do_mkdir) + cp $< $@ + +ICNS_FILES = $(LAUNCHER_DIR)/TyrQuake.iconset/icon_32x32.png + +$(BUNDLE_CONTENTS)/Resources/TyrQuake.icns: $(ICNS_FILES) + @$(do_mkdir) + iconutil -c icns -o $@ $(IqP)UgAQZWEhQUFp?Qe$IdYinzBN&tI%dxV69lw$ytl$4yD zoV|Mh#>U3plmP#8O8<;&|BQ_Pts(!djQ_n#|Nqv@yEbwF000SaNLh0L01FcU01FcV z0GgZ_00007bV*G`2i*f11r-1}yW?vB00EInL_t(I%e|6ed*dJofDI~PDk&{9Uef#j zzw;pL_FS*oJ{|@VhyLXMk$3_C5McTTxS99nK*EC9OffwZE+Ld!YiXDL z+G>44+~iggp;1Woq9@?y262vf07!GjSAYO=E~V9yGXT9-6T!x(oBatj; z6Oj6*VZfen65Ujsfcc@M+on_84Y;O6y>GTbnVBG(W$oP-0G1lco}={bQ<%sn-Nx4E zxL_!k45E4<_xoK$`u*;Rs?PCRLTwe;cXNQ0%={sQd(s5sdxr%Ol{g#6wq_P zlG*Y8k-{{S#qZ*4P+JU`9S}dj61NK{=`QMhXeEXm3m%7>lj+ET?2kCIijreU*>iBf jN)viBVLfVKjYZQRJ8>T}E@_2900000NkvXXu0mjfH_rsN literal 0 HcmV?d00001 diff --git a/launcher/osx/English.lproj/Launcher.nib/designable.nib b/launcher/osx/English.lproj/Launcher.nib/designable.nib new file mode 100644 index 0000000..d6fc1f0 --- /dev/null +++ b/launcher/osx/English.lproj/Launcher.nib/designable.nib @@ -0,0 +1,2705 @@ + + + + 1040 + 11C74 + 1938 + 1138.23 + 567.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + YES + NSUserDefaultsController + NSPopUpButton + NSMenuItem + NSMenu + NSButtonCell + NSButton + NSTextFieldCell + NSBox + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSPopUpButtonCell + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SDLMain + + + FirstResponder + + + NSApplication + + + AMainMenu + + YES + + + TyrQuake + + 1048576 + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + submenuAction: + + TyrQuake + + YES + + + YES + About TyrQuake + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Preferences… + , + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Services + + 1048576 + 2147483647 + + + submenuAction: + + Services + + YES + + _NSServicesMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Hide TyrQuake + h + 1048576 + 2147483647 + + + + + + Hide Others + h + 1572864 + 2147483647 + + + + + + Show All + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Quit TyrQuake + q + 1048576 + 2147483647 + + + + + _NSAppleMenu + + + + + File + + 1048576 + 2147483647 + + + submenuAction: + + File + + YES + + + New + n + 1048576 + 2147483647 + + + + + + Open… + o + 1048576 + 2147483647 + + + + + + Open Recent + + 1048576 + 2147483647 + + + submenuAction: + + Open Recent + + YES + + + Clear Menu + + 1048576 + 2147483647 + + + + + _NSRecentDocumentsMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Close + w + 1048576 + 2147483647 + + + + + + Save + s + 1048576 + 2147483647 + + + + + + Save As… + S + 1179648 + 2147483647 + + + + + + Revert to Saved + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Page Setup... + P + 1179648 + 2147483647 + + + + + + + Print… + p + 1048576 + 2147483647 + + + + + + + + + Edit + + 1048576 + 2147483647 + + + submenuAction: + + Edit + + YES + + + Undo + z + 1048576 + 2147483647 + + + + + + Redo + Z + 1179648 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Cut + x + 1048576 + 2147483647 + + + + + + Copy + c + 1048576 + 2147483647 + + + + + + Paste + v + 1048576 + 2147483647 + + + + + + Delete + + 1048576 + 2147483647 + + + + + + Select All + a + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Find + + 1048576 + 2147483647 + + + submenuAction: + + Find + + YES + + + Find… + f + 1048576 + 2147483647 + + + 1 + + + + Find Next + g + 1048576 + 2147483647 + + + 2 + + + + Find Previous + G + 1179648 + 2147483647 + + + 3 + + + + Use Selection for Find + e + 1048576 + 2147483647 + + + 7 + + + + Jump to Selection + j + 1048576 + 2147483647 + + + + + + + + + Spelling and Grammar + + 1048576 + 2147483647 + + + submenuAction: + + Spelling and Grammar + + YES + + + Show Spelling… + : + 1048576 + 2147483647 + + + + + + Check Spelling + ; + 1048576 + 2147483647 + + + + + + Check Spelling While Typing + + 1048576 + 2147483647 + + + + + + Check Grammar With Spelling + + 1048576 + 2147483647 + + + + + + + + + Substitutions + + 1048576 + 2147483647 + + + submenuAction: + + Substitutions + + YES + + + Smart Copy/Paste + f + 1048576 + 2147483647 + + + 1 + + + + Smart Quotes + g + 1048576 + 2147483647 + + + 2 + + + + Smart Links + G + 1179648 + 2147483647 + + + 3 + + + + + + + Speech + + 1048576 + 2147483647 + + + submenuAction: + + Speech + + YES + + + Start Speaking + + 1048576 + 2147483647 + + + + + + Stop Speaking + + 1048576 + 2147483647 + + + + + + + + + + + + Format + + 1048576 + 2147483647 + + + submenuAction: + + Format + + YES + + + Show Fonts + t + 1048576 + 2147483647 + + + + + + Show Colors + C + 1179648 + 2147483647 + + + + + + + + + View + + 1048576 + 2147483647 + + + submenuAction: + + View + + YES + + + Show Toolbar + t + 1572864 + 2147483647 + + + + + + Customize Toolbar… + + 1048576 + 2147483647 + + + + + + + + + Window + + 1048576 + 2147483647 + + + submenuAction: + + Window + + YES + + + Minimize + m + 1048576 + 2147483647 + + + + + + Zoom + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Bring All to Front + + 1048576 + 2147483647 + + + + + _NSWindowsMenu + + + + + Help + + 1048576 + 2147483647 + + + submenuAction: + + Help + + YES + + + NewApplication Help + ? + 1048576 + 2147483647 + + + + + + + + _NSMainMenu + + + 3 + 2 + {{772, 577}, {511, 251}} + 1954022400 + TyrQuake + NSWindow + + + + + 256 + + YES + + + 268 + {{378, 12}, {124, 32}} + + + + 2 + YES + + 67239424 + 134217728 + Start + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + DQ + 200 + 25 + + + + + 12 + + YES + + + 274 + + YES + + + 268 + {{15, 127}, {172, 17}} + + + + 2 + YES + + 67239488 + 272630784 + Command line parameters + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{18, 97}, {440, 22}} + + + + 2 + YES + + -1804468671 + 272630784 + + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + + + + + + 268 + {{15, 54}, {175, 17}} + + + + 2 + YES + + 67239488 + 272630784 + Resolution and color depth + + + + + + + + + 268 + {{15, 22}, {446, 26}} + + + + 2 + YES + + -2076049856 + 2048 + + + 109199615 + 1 + + + 400 + 75 + + + YES + Item 1 + + 1048576 + 2147483647 + 1 + + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + Item 2 + + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + Item 3 + + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + 1 + YES + YES + 2 + + + + + 268 + {{374, 52}, {86, 18}} + + + + 2 + YES + + -2080244224 + 0 + Fullscreen + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {{1, 1}, {480, 159}} + + + + 2 + + + {{17, 56}, {482, 175}} + + + + 2 + {0, 0} + + 67239424 + 0 + Settings + + LucidaGrande + 11 + 3100 + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 0 + 2 + NO + + + + 268 + {{254, 12}, {124, 32}} + + + + 2 + YES + + 67239424 + 134217728 + Cancel + + + -2038284033 + 129 + + Gw + 200 + 25 + + + + {511, 251} + + + + 2 + + {{0, 0}, {2560, 1418}} + {10000000000000, 10000000000000} + YES + + + AppController + + + YES + + + + + YES + + + delegate + + + + 464 + + + + performMiniaturize: + + + + 37 + + + + arrangeInFront: + + + + 39 + + + + print: + + + + 86 + + + + runPageLayout: + + + + 87 + + + + clearRecentDocuments: + + + + 127 + + + + performClose: + + + + 193 + + + + toggleContinuousSpellChecking: + + + + 222 + + + + undo: + + + + 223 + + + + copy: + + + + 224 + + + + checkSpelling: + + + + 225 + + + + paste: + + + + 226 + + + + stopSpeaking: + + + + 227 + + + + cut: + + + + 228 + + + + showGuessPanel: + + + + 230 + + + + redo: + + + + 231 + + + + selectAll: + + + + 232 + + + + startSpeaking: + + + + 233 + + + + delete: + + + + 235 + + + + performZoom: + + + + 240 + + + + performFindPanelAction: + + + + 241 + + + + centerSelectionInVisibleArea: + + + + 245 + + + + toggleGrammarChecking: + + + + 347 + + + + toggleSmartInsertDelete: + + + + 355 + + + + toggleAutomaticQuoteSubstitution: + + + + 356 + + + + toggleAutomaticLinkDetection: + + + + 357 + + + + showHelp: + + + + 360 + + + + orderFrontColorPanel: + + + + 361 + + + + saveDocument: + + + + 362 + + + + saveDocumentAs: + + + + 363 + + + + revertDocumentToSaved: + + + + 364 + + + + runToolbarCustomizationPalette: + + + + 365 + + + + toggleToolbarShown: + + + + 366 + + + + hide: + + + + 367 + + + + hideOtherApplications: + + + + 368 + + + + terminate: + + + + 369 + + + + unhideAllApplications: + + + + 370 + + + + newDocument: + + + + 373 + + + + openDocument: + + + + 374 + + + + delegate + + + + 415 + + + + launchQuake: + + + + 378 + + + + paramTextField + + + + 412 + + + + launcherWindow + + + + 414 + + + + cancel: + + + + 418 + + + + screenModePopUp + + + + 452 + + + + fullscreenCheckBox + + + + 453 + + + + changeScreenMode: + + + + 455 + + + + content: screenModes + + + + + + content: screenModes + content + screenModes + 2 + + + 449 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 29 + + + YES + + + + + + + + + + MainMenu + + + 19 + + + YES + + + + + + 56 + + + YES + + + + + + 103 + + + YES + + + + 1 + + + 217 + + + YES + + + + + + 83 + + + YES + + + + + + 81 + + + YES + + + + + + + + + + + + + + + + 75 + + + 3 + + + 80 + + + 8 + + + 78 + + + 6 + + + 72 + + + + + 82 + + + 9 + + + 124 + + + YES + + + + + + 77 + + + 5 + + + 73 + + + 1 + + + 79 + + + 7 + + + 112 + + + 10 + + + 74 + + + 2 + + + 125 + + + YES + + + + + + 126 + + + + + 205 + + + YES + + + + + + + + + + + + + + + + + + 202 + + + + + 198 + + + + + 207 + + + + + 214 + + + + + 199 + + + + + 203 + + + + + 197 + + + + + 206 + + + + + 215 + + + + + 218 + + + YES + + + + + + 216 + + + YES + + + + + + 200 + + + YES + + + + + + + + + 219 + + + + + 201 + + + + + 204 + + + + + 220 + + + YES + + + + + + + + + + 213 + + + + + 210 + + + + + 221 + + + + + 208 + + + + + 209 + + + + + 106 + + + YES + + + + 2 + + + 111 + + + + + 57 + + + YES + + + + + + + + + + + + + + + + 58 + + + + + 134 + + + + + 150 + + + + + 136 + + + 1111 + + + 144 + + + + + 129 + + + 121 + + + 143 + + + + + 236 + + + + + 131 + + + YES + + + + + + 149 + + + + + 145 + + + + + 130 + + + + + 24 + + + YES + + + + + + + + + 92 + + + + + 5 + + + + + 239 + + + + + 23 + + + + + 295 + + + YES + + + + + + 296 + + + YES + + + + + + + 297 + + + + + 298 + + + + + 299 + + + YES + + + + + + 300 + + + YES + + + + + + + 344 + + + + + 345 + + + + + 211 + + + YES + + + + + + 212 + + + YES + + + + + + + 195 + + + + + 196 + + + + + 346 + + + + + 348 + + + YES + + + + + + 349 + + + YES + + + + + + + + 350 + + + + + 351 + + + + + 354 + + + + + 371 + + + YES + + + + + + 372 + + + YES + + + + + + + + 375 + + + + + 376 + + + YES + + + + + + 377 + + + + + 395 + + + YES + + + + + + + + + + 397 + + + YES + + + + + + 398 + + + YES + + + + + + 399 + + + YES + + + + + + 400 + + + YES + + + + + + 401 + + + YES + + + + + + 402 + + + YES + + + + + + + + 403 + + + + + 404 + + + + + 405 + + + + + 406 + + + + + 407 + + + + + 408 + + + + + 410 + + + YES + + + + + + 411 + + + + + 419 + + + + + 450 + + + YES + + + + + + 451 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 103.IBPluginDependency + 106.IBPluginDependency + 111.IBPluginDependency + 112.IBPluginDependency + 124.IBPluginDependency + 125.IBPluginDependency + 126.IBPluginDependency + 129.IBPluginDependency + 130.IBPluginDependency + 131.IBPluginDependency + 134.IBPluginDependency + 136.IBPluginDependency + 143.IBPluginDependency + 144.IBPluginDependency + 145.IBPluginDependency + 149.IBPluginDependency + 150.IBPluginDependency + 19.IBPluginDependency + 195.IBPluginDependency + 196.IBPluginDependency + 197.IBPluginDependency + 198.IBPluginDependency + 199.IBPluginDependency + 200.IBPluginDependency + 201.IBPluginDependency + 202.IBPluginDependency + 203.IBPluginDependency + 204.IBPluginDependency + 205.IBPluginDependency + 206.IBPluginDependency + 207.IBPluginDependency + 208.IBPluginDependency + 209.IBPluginDependency + 210.IBPluginDependency + 211.IBPluginDependency + 212.IBPluginDependency + 213.IBPluginDependency + 214.IBPluginDependency + 215.IBPluginDependency + 216.IBPluginDependency + 217.IBPluginDependency + 218.IBPluginDependency + 219.IBPluginDependency + 220.IBPluginDependency + 221.IBPluginDependency + 23.IBPluginDependency + 236.IBPluginDependency + 239.IBPluginDependency + 24.IBPluginDependency + 29.IBPluginDependency + 295.IBPluginDependency + 296.IBPluginDependency + 297.IBPluginDependency + 298.IBPluginDependency + 299.IBPluginDependency + 300.IBPluginDependency + 344.IBPluginDependency + 345.IBPluginDependency + 346.IBPluginDependency + 348.IBPluginDependency + 349.IBPluginDependency + 350.IBPluginDependency + 351.IBPluginDependency + 354.IBPluginDependency + 371.IBPluginDependency + 371.IBWindowTemplateEditedContentRect + 371.NSWindowTemplate.visibleAtLaunch + 372.IBPluginDependency + 375.IBPluginDependency + 376.IBPluginDependency + 377.IBPluginDependency + 395.IBPluginDependency + 395.IBUserGuides + 397.IBPluginDependency + 398.IBPluginDependency + 399.IBPluginDependency + 400.IBPluginDependency + 401.IBPluginDependency + 402.IBPluginDependency + 403.IBPluginDependency + 404.IBPluginDependency + 405.IBPluginDependency + 406.IBPluginDependency + 407.IBPluginDependency + 408.IBPluginDependency + 410.IBPluginDependency + 411.IBPluginDependency + 419.IBPluginDependency + 450.IBPluginDependency + 451.IBPluginDependency + 5.IBPluginDependency + 56.IBPluginDependency + 57.IBPluginDependency + 58.IBPluginDependency + 72.IBPluginDependency + 73.IBPluginDependency + 74.IBPluginDependency + 75.IBPluginDependency + 77.IBPluginDependency + 78.IBPluginDependency + 79.IBPluginDependency + 80.IBPluginDependency + 81.IBPluginDependency + 82.IBPluginDependency + 83.IBPluginDependency + 92.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{888, 364}, {511, 251}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + YES + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 519 + + + + YES + + AppController + NSObject + + YES + + YES + cancel: + changeScreenMode: + launchQuake: + + + YES + id + id + id + + + + YES + + YES + cancel: + changeScreenMode: + launchQuake: + + + YES + + cancel: + id + + + changeScreenMode: + id + + + launchQuake: + id + + + + + YES + + YES + fullscreenCheckBox + launcherWindow + paramTextField + screenModePopUp + + + YES + NSButton + NSWindow + NSTextField + NSPopUpButton + + + + YES + + YES + fullscreenCheckBox + launcherWindow + paramTextField + screenModePopUp + + + YES + + fullscreenCheckBox + NSButton + + + launcherWindow + NSWindow + + + paramTextField + NSTextField + + + screenModePopUp + NSPopUpButton + + + + + IBProjectSource + ./Classes/AppController.h + + + + NSDocument + + YES + + YES + printDocument: + revertDocumentToSaved: + runPageLayout: + saveDocument: + saveDocumentAs: + saveDocumentTo: + + + YES + id + id + id + id + id + id + + + + YES + + YES + printDocument: + revertDocumentToSaved: + runPageLayout: + saveDocument: + saveDocumentAs: + saveDocumentTo: + + + YES + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + + IBProjectSource + ./Classes/NSDocument.h + + + + SDLMain + NSObject + + IBProjectSource + ./Classes/SDLMain.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSMenuCheckmark + NSMenuMixedState + NSSwitch + + + YES + {9, 8} + {7, 2} + {15, 15} + + + + diff --git a/launcher/osx/Info.plist b/launcher/osx/Info.plist new file mode 100644 index 0000000..68b7fda --- /dev/null +++ b/launcher/osx/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + TyrQuake + CFBundleIdentifier + net.disenchant.TyrQuake + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + ${TYR_VERSION} + CFBundleSignature + ???? + LSApplicationCategoryType + public.app-category.action-games + LSMinimumSystemVersionByArchitecture + + i386 + 10.4.0 + x86_64 + 10.6.0 + + NSMainNibFile + Launcher + NSPrincipalClass + SDLApplication + +