summaryrefslogtreecommitdiff
path: root/os/macos
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-04-14 20:42:30 +0000
committerbjarni <bjarni@openttd.org>2005-04-14 20:42:30 +0000
commit9bd93a11480e7d972f787cb8c1aa5a3b4f40ca47 (patch)
tree92b685742435caea3a5e7e003dff99a79fc20dca /os/macos
parentdadec920a0b1b5071065c46302a4e49396e217e9 (diff)
downloadopenttd-9bd93a11480e7d972f787cb8c1aa5a3b4f40ca47.tar.xz
(svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself MacOSX porter as well as coder
Diffstat (limited to 'os/macos')
-rw-r--r--os/macos/Open_Transport_Tycoon_Forum.webloc0
-rw-r--r--os/macos/Open_Transport_Tycoon_Homepage.webloc0
-rw-r--r--os/macos/SourceForge_OpenTTD_project_homepage.webloc0
-rw-r--r--os/macos/openttd.icnsbin49800 -> 0 bytes
-rw-r--r--os/macos/openttdmidi.java55
-rwxr-xr-xos/macos/plistgen.sh46
-rwxr-xr-xos/macos/track_starter2
7 files changed, 0 insertions, 103 deletions
diff --git a/os/macos/Open_Transport_Tycoon_Forum.webloc b/os/macos/Open_Transport_Tycoon_Forum.webloc
deleted file mode 100644
index e69de29bb..000000000
--- a/os/macos/Open_Transport_Tycoon_Forum.webloc
+++ /dev/null
diff --git a/os/macos/Open_Transport_Tycoon_Homepage.webloc b/os/macos/Open_Transport_Tycoon_Homepage.webloc
deleted file mode 100644
index e69de29bb..000000000
--- a/os/macos/Open_Transport_Tycoon_Homepage.webloc
+++ /dev/null
diff --git a/os/macos/SourceForge_OpenTTD_project_homepage.webloc b/os/macos/SourceForge_OpenTTD_project_homepage.webloc
deleted file mode 100644
index e69de29bb..000000000
--- a/os/macos/SourceForge_OpenTTD_project_homepage.webloc
+++ /dev/null
diff --git a/os/macos/openttd.icns b/os/macos/openttd.icns
deleted file mode 100644
index 87fd15eae..000000000
--- a/os/macos/openttd.icns
+++ /dev/null
Binary files differ
diff --git a/os/macos/openttdmidi.java b/os/macos/openttdmidi.java
deleted file mode 100644
index fc4e0b5b8..000000000
--- a/os/macos/openttdmidi.java
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// OpenTTDMidi.java
-// OpenTTDMidi
-//
-// Created by Joshua King on Sun Apr 25 2004.
-// Copyright (c) 2004 __MyCompanyName__. All rights reserved.
-//
-import java.io.*;
-import java.util.*;
-import javax.sound.midi.*;
-
-public class OpenTTDMidi {
-
- public static void main (String args[]) {
- // Currently command line is the MIDI file
- if (args.length == 1) {
- Sequencer s2 = null;
-
- try {
- s2 = MidiSystem.getSequencer();
- s2.open();
- } catch (MidiUnavailableException mue) {
- System.exit(1);
- }
-
- Sequence s = null;
-
- try {
- s = MidiSystem.getSequence(new File(args[0]));
- } catch (InvalidMidiDataException imde) {
- System.exit(2);
- } catch (IOException ioe) {
- System.exit(3);
- }
-
- try {
- s2.setSequence(s);
- s2.setMicrosecondPosition(0);
- s2.start();
- for (long l = 0; l < (s.getMicrosecondLength() / 1000000); l++) {
- try {
- //System.out.print(".");
- Thread.currentThread().sleep(1000);
- } catch (InterruptedException ie) {}
- }
- System.out.println();
- } catch (InvalidMidiDataException imde) {
- }
-
- s2.stop();
- s2.close();
- System.exit(0);
- }
- }
-}
diff --git a/os/macos/plistgen.sh b/os/macos/plistgen.sh
deleted file mode 100755
index 0968f8dc7..000000000
--- a/os/macos/plistgen.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-# sets VERSION to the value if RELEASE if there are any,
-# otherwise it sets VERSION to revision number
-if [ "$3" ]; then
-VERSION="$3"
-else
-VERSION="$2"
-fi
-date=`date +%Y`
-
-# Generates Info.plist while applying $VERSION
-
-echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
-<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\"
-\"http://www.apple.com/DTDs/Prop$
-<plist version=\"1.0\">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleDisplayName</key>
- <string>Open Transport Tycoon</string>
- <key>CFBundleExecutable</key>
- <string>openttd</string>
- <key>CFBundleGetInfoString</key>
- <string>$VERSION, Copyright 2004-$date The Open Transport Tycoon team</string>
- <key>CFBundleIconFile</key>
- <string>openttd.icns</string>
- <key>CFBundleIdentifier</key>
- <string>org.ludde-ottd.ludde-ottd</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>ottd</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>$VERSION</string>
- <key>CFBundleVersion</key>
- <string>$VERSION</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2004-$date The Open Transport Tycoon team</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
-</dict>
-</plist>" > "$1"/contents/Info.plist
diff --git a/os/macos/track_starter b/os/macos/track_starter
deleted file mode 100755
index 809491181..000000000
--- a/os/macos/track_starter
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-exec /usr/bin/java -cp OpenTTD.app/contents/macos OpenTTDMidi "$1"