Initial commit, contains a barebones structure with the interface for both (x)curses and SDL. Can be built via the Makefile or via the XCode project in the xcode/ subdirectory

netcode
kts 2013-09-17 22:37:36 -07:00
commit 0c5dc4c822
43 changed files with 2957 additions and 0 deletions

BIN
.DS_Store vendored 100644

Binary file not shown.

12
COMPILING.txt 100644
View File

@ -0,0 +1,12 @@
From the console using GNU CC and make:
make // compiles default(curses) client
make curses // compiles curses client, linking to curses (-lcurses)
make xcurses // compiles curses client, linking to xcurses/PDCurses library
make sdl // compile sdl client
From XCode:
open xcode/timesynk.xcodeproj
Build & Go
From Dev-Cpp:
???

41
Makefile 100644
View File

@ -0,0 +1,41 @@
CC = gcc
PREFIX = ./
BINARY=timesynk
OBJS = main.o net/sockets.o
CURSES_OBJS = interface/curses.o
SDL_OBJS = interface/sdl.o
DEBUG = -g
CFLAGS = -Wall -c $(DEBUG)
CURSES_LFLAGS = -lcurses
XCURSES_LFLAGS = -lxcurses
SDL_LFLAGS = -lsdl
LFLAGS = -Wall $(DEBUG)
$(BINARY): $(OBJS) $(CURSES_OBJS)
$(CC) $(OBJS) $(CURSES_OBJS) $(CURSES_LFLAGS) -o $(BINARY)
sdl: $(OBJS) $(SDL_OBJS)
$(CC) $(OBJS) $(SDL_OBJS) $(SDL_LFLAGS) -o $(BINARY)
curses: $(OBJS) $(CURSES_OBJS)
$(CC) $(OBJS) $(CURSES_OBJS) $(CURSES_LFLAGS) -o $(BINARY)
xcurses: $(OBJS) $(CURSES_OBJS)
$(CC) $(OBJS) $(CURSES_OBJS) $(XCURSES_LFLAGS) -o $(BINARY)
all: $(BINARY)
clean:
rm -f $(OBJS) $(CURSES_OBJS) $(SDL_OBJS) $(BINARY)
main.o: main.c stubs.h interface/curses.c net/sockets.c
$(CC) $(CFLAGS) -c main.c
sockets.o: net/sockets.c stubs.h
$(CC) $(CFLAGS) -c net/sockets.c
curses.o: interface/curses.c stubs.h
$(CC) $(CFLAGS) -c interface/curses.c

13
common.h 100644
View File

@ -0,0 +1,13 @@
#ifndef COMMON_H
#define COMMON_H
/**** common.h
Contains common variables, such as return codes.
****/
#define LOGO_STRING_A " Welcome "
#define LOGO_STRING_B " to "
#define LOGO_STRING_C " timesynk"
#define NAME "timesynk"
#define ERROR 1
#define SUCCESS 0
#endif

48
interface/curses.c 100644
View File

@ -0,0 +1,48 @@
#include <ncurses.h>
#include "curses.h"
#include "../main.h"
#include "../common.h"
int interfaceInit() {
// initialize ncurses library
if ((screen = initscr()) == NULL) {
perror("initscr() error'd");
return ERROR;
}
original_cursor = curs_set(0); // store original cursor position for restore
keypad(screen, TRUE); // enable arrow keys/keypad
noecho(); // turn off key echoing
nonl(); // do not do NL->CR/NL on output
cbreak(); // Handle char presses immediately, do not wait for \n
// draw a border for fun
box(screen, 0, 0);
mvwaddstr(screen, LINES/2-1, COLS/2-4, LOGO_STRING_A);
mvwaddstr(screen, LINES/2, COLS/2-4, LOGO_STRING_B);
mvwaddstr(screen, LINES/2+1, COLS/2-4, LOGO_STRING_C);
mvwaddstr(screen, LINES/2+3, COLS/2-5, "Q/q to quit");
return SUCCESS;
}
void interfaceLoop() {
int key = getch();
switch (key) {
case 'q':
case 'Q':
is_running = false;
break;
}
}
void interfaceDraw() {
}
void interfaceClose() {
delwin(screen);
endwin();
refresh();
}

View File

@ -0,0 +1,8 @@
#ifndef NCURSES_H
#define NCURSES_H
WINDOW * screen;
int cols;
int rows;
int original_cursor;
#endif

46
interface/sdl.c 100644
View File

@ -0,0 +1,46 @@
//#if !defined (__APPLE__)
#include <SDL/SDL.h>
//#endif
#include "sdl.h"
#include "../main.h"
#include "../common.h"
int interfaceInit() {
// Load it up!
SDL_Init(SDL_INIT_EVERYTHING);
// Set up our SDL Window
if ((screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE)) == NULL) {
return ERROR;
}
SDL_WM_SetCaption(NAME, NULL);
// Fill our screen w/ black
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
// Update!
SDL_Flip(screen);
return SUCCESS;
}
void interfaceLoop() {
while (SDL_PollEvent(&event)) {
switch(event.type) {
case SDL_QUIT:
is_running = 0;
break;
case SDL_KEYDOWN:
if (event.key.keysym.sym == SDLK_q)
is_running = 0;
break;
}
}
}
void interfaceDraw() {
}
void interfaceClose() {
SDL_Quit();
}

6
interface/sdl.h 100644
View File

@ -0,0 +1,6 @@
#ifndef SDL_H
#define SDL_H
SDL_Surface* screen;
SDL_Event event;
#endif

26
main.c 100644
View File

@ -0,0 +1,26 @@
#include "main.h"
#include "common.h"
#include "stubs.h"
// TODO: add arguments, so user can connect to server via cmdline option
int main(int argc, char *argv[]) {
// initialize our interface system (ncurses, SDL, etc.)
if (interfaceInit() == ERROR) {
return ERROR;
}
// initialize our network system (sockets, winsock, etc.)
if (netInit() == ERROR) {
return ERROR;
}
is_running = 1;
// start our program loop!
while(is_running) {
if (is_networking)
netLoop(); // handle new network input
//worldLoop();
interfaceDraw();
interfaceLoop(); // handle new user input, redraw screen, etc.
}
interfaceClose();
return SUCCESS;
}

6
main.h 100644
View File

@ -0,0 +1,6 @@
#ifndef MAIN_H
#define MAIN_H
int is_running;
int is_networking;
#endif

11
net/sockets.c 100644
View File

@ -0,0 +1,11 @@
#include "../common.h"
#include "../stubs.h"
int netInit() {
return SUCCESS;
}
void netLoop() {
}

14
stubs.h 100644
View File

@ -0,0 +1,14 @@
#ifndef STUBS_H
#define STUBS_H
/**** stubs.h
This file defines the interface, and network stubs. During linking, the functions declared in this file will be linked to their compiled interface, or network functions.
****/
int interfaceInit();
void interfaceLoop();
void interfaceDraw();
void interfaceClose();
int netInit();
void netLoop();
#endif

BIN
xcode/.DS_Store vendored 100644

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
ACTIONS = {
help = id;
newGame = id;
openGame = id;
prefsMenu = id;
saveGame = id;
saveGameAs = id;
};
CLASS = SDLMain;
LANGUAGE = ObjC;
SUPERCLASS = NSObject;
}
);
IBVersion = 1;
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>62 117 356 240 0 0 1152 848 </string>
<key>IBEditorPositions</key>
<dict>
<key>29</key>
<string>62 362 195 44 0 0 1152 848 </string>
</dict>
<key>IBFramework Version</key>
<string>291.0</string>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>6L60</string>
</dict>
</plist>

Binary file not shown.

37
xcode/Info.plist 100644
View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.timesynk</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSMainNibFile</key>
<string>SDLMain</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSMinimumSystemVersionByArchitecture</key>
<dict>
<key>x86_64</key>
<string>10.6.0</string>
<key>i386</key>
<string>10.4.0</string>
<key>ppc</key>
<string>10.4.0</string>
</dict>
</dict>
</plist>

16
xcode/SDLMain.h 100644
View File

@ -0,0 +1,16 @@
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#ifndef _SDLMain_h_
#define _SDLMain_h_
#import <Cocoa/Cocoa.h>
@interface SDLMain : NSObject
@end
#endif /* _SDLMain_h_ */

383
xcode/SDLMain.m 100644
View File

@ -0,0 +1,383 @@
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#include "SDL.h"
#include "SDLMain.h"
#include <sys/param.h> /* for MAXPATHLEN */
#include <unistd.h>
/* For some reaon, Apple removed setAppleMenu from the headers in 10.4,
but the method still is there and works. To avoid warnings, we declare
it ourselves here. */
@interface NSApplication(SDL_Missing_Methods)
- (void)setAppleMenu:(NSMenu *)menu;
@end
/* Use this flag to determine whether we use SDLMain.nib or not */
#define SDL_USE_NIB_FILE 0
/* Use this flag to determine whether we use CPS (docking) or not */
#define SDL_USE_CPS 1
#ifdef SDL_USE_CPS
/* Portions of CPS.h */
typedef struct CPSProcessSerNum
{
UInt32 lo;
UInt32 hi;
} CPSProcessSerNum;
extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn);
extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);
extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn);
#endif /* SDL_USE_CPS */
static int gArgc;
static char **gArgv;
static BOOL gFinderLaunch;
static BOOL gCalledAppMainline = FALSE;
static NSString *getApplicationName(void)
{
const NSDictionary *dict;
NSString *appName = 0;
/* Determine the application name */
dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle());
if (dict)
appName = [dict objectForKey: @"CFBundleName"];
if (![appName length])
appName = [[NSProcessInfo processInfo] processName];
return appName;
}
#if SDL_USE_NIB_FILE
/* A helper category for NSString */
@interface NSString (ReplaceSubString)
- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString;
@end
#endif
@interface SDLApplication : NSApplication
@end
@implementation SDLApplication
/* Invoked from the Quit menu item */
- (void)terminate:(id)sender
{
/* Post a SDL_QUIT event */
SDL_Event event;
event.type = SDL_QUIT;
SDL_PushEvent(&event);
}
@end
/* The main class of the application, the application's delegate */
@implementation SDLMain
/* Set the working directory to the .app's parent directory */
- (void) setupWorkingDirectory:(BOOL)shouldChdir
{
if (shouldChdir)
{
char parentdir[MAXPATHLEN];
CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle());
CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url);
if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) {
chdir(parentdir); /* chdir to the binary app's parent */
}
CFRelease(url);
CFRelease(url2);
}
}
#if SDL_USE_NIB_FILE
/* Fix menu to contain the real app name instead of "SDL App" */
- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName
{
NSRange aRange;
NSEnumerator *enumerator;
NSMenuItem *menuItem;
aRange = [[aMenu title] rangeOfString:@"SDL App"];
if (aRange.length != 0)
[aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]];
enumerator = [[aMenu itemArray] objectEnumerator];
while ((menuItem = [enumerator nextObject]))
{
aRange = [[menuItem title] rangeOfString:@"SDL App"];
if (aRange.length != 0)
[menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]];
if ([menuItem hasSubmenu])
[self fixMenu:[menuItem submenu] withAppName:appName];
}
[ aMenu sizeToFit ];
}
#else
static void setApplicationMenu(void)
{
/* warning: this code is very odd */
NSMenu *appleMenu;
NSMenuItem *menuItem;
NSString *title;
NSString *appName;
appName = getApplicationName();
appleMenu = [[NSMenu alloc] initWithTitle:@""];
/* Add menu items */
title = [@"About " stringByAppendingString:appName];
[appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""];
[appleMenu addItem:[NSMenuItem separatorItem]];
title = [@"Hide " stringByAppendingString:appName];
[appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"];
menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"];
[menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)];
[appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""];
[appleMenu addItem:[NSMenuItem separatorItem]];
title = [@"Quit " stringByAppendingString:appName];
[appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"];
/* Put menu into the menubar */
menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""];
[menuItem setSubmenu:appleMenu];
[[NSApp mainMenu] addItem:menuItem];
/* Tell the application object that this is now the application menu */
[NSApp setAppleMenu:appleMenu];
/* Finally give up our references to the objects */
[appleMenu release];
[menuItem release];
}
/* Create a window menu */
static void setupWindowMenu(void)
{
NSMenu *windowMenu;
NSMenuItem *windowMenuItem;
NSMenuItem *menuItem;
windowMenu = [[NSMenu alloc] initWithTitle:@"Window"];
/* "Minimize" item */
menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"];
[windowMenu addItem:menuItem];
[menuItem release];
/* Put menu into the menubar */
windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""];
[windowMenuItem setSubmenu:windowMenu];
[[NSApp mainMenu] addItem:windowMenuItem];
/* Tell the application object that this is now the window menu */
[NSApp setWindowsMenu:windowMenu];
/* Finally give up our references to the objects */
[windowMenu release];
[windowMenuItem release];
}
/* Replacement for NSApplicationMain */
static void CustomApplicationMain (int argc, char **argv)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
SDLMain *sdlMain;
/* Ensure the application object is initialised */
[SDLApplication sharedApplication];
#ifdef SDL_USE_CPS
{
CPSProcessSerNum PSN;
/* Tell the dock about us */
if (!CPSGetCurrentProcess(&PSN))
if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103))
if (!CPSSetFrontProcess(&PSN))
[SDLApplication sharedApplication];
}
#endif /* SDL_USE_CPS */
/* Set up the menubar */
[NSApp setMainMenu:[[NSMenu alloc] init]];
setApplicationMenu();
setupWindowMenu();
/* Create SDLMain and make it the app delegate */
sdlMain = [[SDLMain alloc] init];
[NSApp setDelegate:sdlMain];
/* Start the main event loop */
[NSApp run];
[sdlMain release];
[pool release];
}
#endif
/*
* Catch document open requests...this lets us notice files when the app
* was launched by double-clicking a document, or when a document was
* dragged/dropped on the app's icon. You need to have a
* CFBundleDocumentsType section in your Info.plist to get this message,
* apparently.
*
* Files are added to gArgv, so to the app, they'll look like command line
* arguments. Previously, apps launched from the finder had nothing but
* an argv[0].
*
* This message may be received multiple times to open several docs on launch.
*
* This message is ignored once the app's mainline has been called.
*/
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename
{
const char *temparg;
size_t arglen;
char *arg;
char **newargv;
if (!gFinderLaunch) /* MacOS is passing command line args. */
return FALSE;
if (gCalledAppMainline) /* app has started, ignore this document. */
return FALSE;
temparg = [filename UTF8String];
arglen = SDL_strlen(temparg) + 1;
arg = (char *) SDL_malloc(arglen);
if (arg == NULL)
return FALSE;
newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2));
if (newargv == NULL)
{
SDL_free(arg);
return FALSE;
}
gArgv = newargv;
SDL_strlcpy(arg, temparg, arglen);
gArgv[gArgc++] = arg;
gArgv[gArgc] = NULL;
return TRUE;
}
/* Called when the internal event loop has just started running */
- (void) applicationDidFinishLaunching: (NSNotification *) note
{
int status;
/* Set the working directory to the .app's parent directory */
[self setupWorkingDirectory:gFinderLaunch];
#if SDL_USE_NIB_FILE
/* Set the main menu to contain the real app name instead of "SDL App" */
[self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()];
#endif
/* Hand off to main application code */
gCalledAppMainline = TRUE;
status = SDL_main (gArgc, gArgv);
/* We're done, thank you for playing */
exit(status);
}
@end
@implementation NSString (ReplaceSubString)
- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
{
unsigned int bufferSize;
unsigned int selfLen = [self length];
unsigned int aStringLen = [aString length];
unichar *buffer;
NSRange localRange;
NSString *result;
bufferSize = selfLen + aStringLen - aRange.length;
buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar));
/* Get first part into buffer */
localRange.location = 0;
localRange.length = aRange.location;
[self getCharacters:buffer range:localRange];
/* Get middle part into buffer */
localRange.location = 0;
localRange.length = aStringLen;
[aString getCharacters:(buffer+aRange.location) range:localRange];
/* Get last part into buffer */
localRange.location = aRange.location + aRange.length;
localRange.length = selfLen - localRange.location;
[self getCharacters:(buffer+aRange.location+aStringLen) range:localRange];
/* Build output string */
result = [NSString stringWithCharacters:buffer length:bufferSize];
NSDeallocateMemoryPages(buffer, bufferSize);
return result;
}
@end
#ifdef main
# undef main
#endif
/* Main entry point to executable - should *not* be SDL_main! */
int main (int argc, char **argv)
{
/* Copy the arguments into a global variable */
/* This is passed if we are launched by double-clicking */
if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) {
gArgv = (char **) SDL_malloc(sizeof (char *) * 2);
gArgv[0] = argv[0];
gArgv[1] = NULL;
gArgc = 1;
gFinderLaunch = YES;
} else {
int i;
gArgc = argc;
gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1));
for (i = 0; i <= argc; i++)
gArgv[i] = argv[i];
gFinderLaunch = NO;
}
#if SDL_USE_NIB_FILE
[SDLApplication poseAsClass:[NSApplication class]];
NSApplicationMain (argc, argv);
#else
CustomApplicationMain (argc, argv);
#endif
return 0;
}

BIN
xcode/build/.DS_Store vendored 100644

Binary file not shown.

BIN
xcode/build/Debug/.DS_Store vendored 100644

Binary file not shown.

BIN
xcode/build/Release/.DS_Store vendored 100644

Binary file not shown.

View File

@ -0,0 +1,4 @@
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/SDLMain.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/main.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/sdl.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/sockets.o

View File

@ -0,0 +1,4 @@
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/SDLMain.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/main.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/sdl.o
/Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/sockets.o

View File

@ -0,0 +1,23 @@
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/sockets.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/sockets.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/sdl.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/sdl.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/main.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/main.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/SDLMain.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/SDLMain.o
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 102 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app
000000004f17b02000000000000000cc 32d230ebc4a300563589350f1176d73f ffffffffffffffffffffffffffffffff 204 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Frameworks/SDL.framework
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/MacOS/SDL_test
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/ppc/SDL_test
00000000000000000000000000000000 33181b642f3c32177ac36f537208af6d ffffffffffffffffffffffffffffffff 0 /var/folders/Vw/VwMi9v-7GIG3cC9s5Fg2UE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SDL_test_Prefix-cijywyzvtdyfchaprznpfryebblg/SDL_test_Prefix.pch.gch
00000000000000000000000000000000 0678abe5dbf993d1499c8ecb7a557ffe ffffffffffffffffffffffffffffffff 0 /var/folders/Vw/VwMi9v-7GIG3cC9s5Fg2UE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SDL_test_Prefix-dtpgnmgzsyjhhobtgieyxuywrydc/SDL_test_Prefix.pch.gch
ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffff 0 /Users/kts/Devel/timesynk/xcode/build/timesynk.build/Release/timesynk.build/Objects-normal/i386/SDL_test
00000000000000000000000000000000 d921e11a03a30eefcfd65c6ae9117cdf ffffffffffffffffffffffffffffffff 0 /var/folders/Vw/VwMi9v-7GIG3cC9s5Fg2UE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SDL_test_Prefix-clfksmpevntxnufcdrenpcykdyjn/SDL_test_Prefix.pch.gch
00000000000000000000000000000000 7b3d40a30ff401c56fb0067adb1e79d9 ffffffffffffffffffffffffffffffff 0 /var/folders/Vw/VwMi9v-7GIG3cC9s5Fg2UE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SDL_test_Prefix-fskhsvbemgddoiajrgxezoxjbzuw/SDL_test_Prefix.pch.gch
00000000000000000000000000000000 56bb526a74c875108adf7a36583fb61e ffffffffffffffffffffffffffffffff 136 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Resources/net
00000000000000000000000000000000 58691fb2c85153c8c0669dc8dd64d41e ffffffffffffffffffffffffffffffff 340 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Resources/interface
00000000000000000000000000000000 74f7baf0ea8cbe3c030330b86d22c5e6 ffffffffffffffffffffffffffffffff 170 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Resources/English.lproj/SDLMain.nib
00000000523926d60000000000000222 16bc48af721c5b8388ddfac95d2d2ea0 ffffffffffffffffffffffffffffffff 546 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Resources/English.lproj/InfoPlist.strings
00000000000000000000000000000000 e7dd6736e585bcc5ea96e1a9aa73a38e ffffffffffffffffffffffffffffffff 8 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/PkgInfo
00000000000000000000000000000000 e7dd6736e585bcc5ea96e1a9aa73a38e ffffffffffffffffffffffffffffffff 970 /Users/kts/Devel/timesynk/xcode/build/Release/SDL_test.app/Contents/Info.plist

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,452 @@
// !$*UTF8*$!
{
002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 374}";
};
};
002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 5418}}";
sepNavSelRange = "{413, 0}";
sepNavVisRange = "{0, 600}";
};
};
089C165DFE840E0CC02AAC07 /* English */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{272, 0}";
sepNavVisRange = "{0, 272}";
};
};
2002F0D417E972A4003CF277 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
comments = "error: false undeclared (first use in this function)";
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
rLen = 1;
rLoc = 29;
rType = 1;
};
2002F0D917E972B3003CF277 /* PlistBookmark */ = {
isa = PlistBookmark;
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
fallbackIsa = PBXBookmark;
isK = 0;
kPath = (
);
name = /Users/kts/Devel/timesynk/xcode/Info.plist;
rLen = 0;
rLoc = 2147483647;
};
2002F0DA17E972B3003CF277 /* PlistBookmark */ = {
isa = PlistBookmark;
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
fallbackIsa = PBXBookmark;
isK = 0;
kPath = (
);
name = /Users/kts/Devel/timesynk/xcode/Info.plist;
rLen = 0;
rLoc = 2147483647;
};
2002F0DC17E972B3003CF277 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
name = "sdl.c: 47";
rLen = 0;
rLoc = 833;
rType = 0;
vrLen = 422;
vrLoc = 314;
};
20567ECA17E95DEC0002B1A9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1C417E95AD300BAD261 /* common.h */;
name = "common.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 238;
vrLoc = 0;
};
20567ECF17E95DEC0002B1A9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A20217E95BC400BAD261 /* sockets.c */;
name = "sockets.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 62;
vrLoc = 0;
};
20567ED217E95DEC0002B1A9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
name = "sdl.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 372;
vrLoc = 0;
};
20567ED517E95DEC0002B1A9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A20217E95BC400BAD261 /* sockets.c */;
name = "sockets.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 62;
vrLoc = 0;
};
20567EE317E95E0D0002B1A9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1D417E95AD300BAD261 /* stubs.h */;
name = "stubs.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 332;
vrLoc = 0;
};
2090287B17E95E780051A253 /* timesynk_Prefix.pch */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {600, 163}}";
sepNavSelRange = "{126, 0}";
sepNavVisRange = "{0, 179}";
sepNavWindowFrame = "{{15, 183}, {750, 558}}";
};
};
2090289817E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 089C165DFE840E0CC02AAC07 /* English */;
name = "InfoPlist.strings: 7";
rLen = 0;
rLoc = 272;
rType = 0;
vrLen = 272;
vrLoc = 0;
};
2090289B17E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 002F3A2B09D0888800EBEB88 /* SDLMain.h */;
name = "SDLMain.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 374;
vrLoc = 0;
};
2090289C17E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 2090287B17E95E780051A253 /* timesynk_Prefix.pch */;
name = "timesynk_Prefix.pch: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 175;
vrLoc = 0;
};
2090289D17E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1F117E95B6F00BAD261 /* sdl.h */;
name = "sdl.h: 3";
rLen = 23;
rLoc = 28;
rType = 0;
vrLen = 78;
vrLoc = 0;
};
2090289E17E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1F117E95B6F00BAD261 /* sdl.h */;
name = "sdl.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 78;
vrLoc = 0;
};
2090289F17E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 089C165DFE840E0CC02AAC07 /* English */;
name = "InfoPlist.strings: 2";
rLen = 0;
rLoc = 44;
rType = 0;
vrLen = 272;
vrLoc = 0;
};
209028A517E95F9E0051A253 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 2090287B17E95E780051A253 /* timesynk_Prefix.pch */;
name = "timesynk_Prefix.pch: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 175;
vrLoc = 0;
};
20D2707917E962A1005B3EA0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */;
name = "SDLMain.m: 13";
rLen = 0;
rLoc = 413;
rType = 0;
vrLen = 600;
vrLoc = 0;
};
20D2707A17E962A1005B3EA0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1C217E95AAA00BAD261 /* main.c */;
name = "main.c: 24";
rLen = 2;
rLoc = 637;
rType = 0;
vrLen = 292;
vrLoc = 347;
};
20F6A19417E9598B00BAD261 /* timesynk */ = {
isa = PBXExecutable;
activeArgIndices = (
);
argumentStrings = (
);
autoAttachOnCrash = 1;
breakpointsEnabled = 0;
configStateDict = {
};
customDataFormattersEnabled = 1;
debuggerPlugin = GDBDebugging;
disassemblyDisplayState = 0;
dylibVariantSuffix = "";
enableDebugStr = 1;
environmentEntries = (
);
executableSystemSymbolLevel = 0;
executableUserSymbolLevel = 0;
libgmallocEnabled = 0;
name = timesynk;
sourceDirectories = (
);
};
20F6A1A517E959A000BAD261 /* Source Control */ = {
isa = PBXSourceControlManager;
fallbackIsa = XCSourceControlManager;
isSCMEnabled = 0;
scmConfiguration = {
};
};
20F6A1A617E959A000BAD261 /* Code sense */ = {
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
20F6A1AC17E95A6200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */;
name = "SDLMain.m: 13";
rLen = 0;
rLoc = 413;
rType = 0;
vrLen = 402;
vrLoc = 10862;
};
20F6A1AE17E95A6200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 002F3A2B09D0888800EBEB88 /* SDLMain.h */;
name = "SDLMain.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 374;
vrLoc = 0;
};
20F6A1B117E95A6200BAD261 /* PlistBookmark */ = {
isa = PlistBookmark;
fRef = 8D1107310486CEB800E47090 /* Info.plist */;
fallbackIsa = PBXBookmark;
isK = 0;
kPath = (
);
name = /Users/kts/Devel/SDL_test/Info.plist;
rLen = 0;
rLoc = 2147483647;
};
20F6A1C217E95AAA00BAD261 /* main.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {444, 378}}";
sepNavSelRange = "{677, 0}";
sepNavVisRange = "{389, 288}";
};
};
20F6A1C417E95AD300BAD261 /* common.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 238}";
};
};
20F6A1CF17E95AD300BAD261 /* main.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 107}";
};
};
20F6A1D417E95AD300BAD261 /* stubs.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1026, 230}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 332}";
};
};
20F6A1E917E95B5200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1C217E95AAA00BAD261 /* main.c */;
name = "main.c: 25";
rLen = 0;
rLoc = 639;
rType = 0;
vrLen = 525;
vrLoc = 0;
};
20F6A1EA17E95B5200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1CF17E95AD300BAD261 /* main.h */;
name = "main.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 107;
vrLoc = 0;
};
20F6A1F017E95B6F00BAD261 /* sdl.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {450, 588}}";
sepNavSelRange = "{833, 0}";
sepNavVisRange = "{378, 332}";
};
};
20F6A1F117E95B6F00BAD261 /* sdl.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{28, 23}";
sepNavVisRange = "{0, 78}";
};
};
20F6A20217E95BC400BAD261 /* sockets.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {519, 253}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 62}";
};
};
20F6A21417E95C1200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1CF17E95AD300BAD261 /* main.h */;
name = "main.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 107;
vrLoc = 0;
};
20F6A21A17E95C1200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1D417E95AD300BAD261 /* stubs.h */;
name = "stubs.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 332;
vrLoc = 0;
};
20F6A21E17E95C1200BAD261 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 20F6A1C417E95AD300BAD261 /* common.h */;
name = "common.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 238;
vrLoc = 0;
};
29B97313FDCFA39411CA2CEA /* Project object */ = {
activeBuildConfigurationName = Debug;
activeExecutable = 20F6A19417E9598B00BAD261 /* timesynk */;
activeTarget = 8D1107260486CEB800E47090 /* timesynk */;
addToTargets = (
8D1107260486CEB800E47090 /* timesynk */,
);
codeSenseManager = 20F6A1A617E959A000BAD261 /* Code sense */;
executables = (
20F6A19417E9598B00BAD261 /* timesynk */,
);
perUserDictionary = {
PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = {
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
PBXFileTableDataSourceColumnWidthsKey = (
20,
341,
20,
48,
43,
43,
20,
);
PBXFileTableDataSourceColumnsKey = (
PBXFileDataSource_FiletypeID,
PBXFileDataSource_Filename_ColumnID,
PBXFileDataSource_Built_ColumnID,
PBXFileDataSource_ObjectSize_ColumnID,
PBXFileDataSource_Errors_ColumnID,
PBXFileDataSource_Warnings_ColumnID,
PBXFileDataSource_Target_ColumnID,
);
};
PBXPerProjectTemplateStateSaveDate = 401174600;
PBXWorkspaceStateSaveDate = 401174600;
};
perUserProjectItems = {
2002F0D417E972A4003CF277 /* PBXTextBookmark */ = 2002F0D417E972A4003CF277 /* PBXTextBookmark */;
2002F0D917E972B3003CF277 /* PlistBookmark */ = 2002F0D917E972B3003CF277 /* PlistBookmark */;
2002F0DA17E972B3003CF277 /* PlistBookmark */ = 2002F0DA17E972B3003CF277 /* PlistBookmark */;
2002F0DC17E972B3003CF277 /* PBXTextBookmark */ = 2002F0DC17E972B3003CF277 /* PBXTextBookmark */;
20567ECA17E95DEC0002B1A9 /* PBXTextBookmark */ = 20567ECA17E95DEC0002B1A9 /* PBXTextBookmark */;
20567ECF17E95DEC0002B1A9 /* PBXTextBookmark */ = 20567ECF17E95DEC0002B1A9 /* PBXTextBookmark */;
20567ED217E95DEC0002B1A9 /* PBXTextBookmark */ = 20567ED217E95DEC0002B1A9 /* PBXTextBookmark */;
20567ED517E95DEC0002B1A9 /* PBXTextBookmark */ = 20567ED517E95DEC0002B1A9 /* PBXTextBookmark */;
20567EE317E95E0D0002B1A9 /* PBXTextBookmark */ = 20567EE317E95E0D0002B1A9 /* PBXTextBookmark */;
2090289817E95F9E0051A253 /* PBXTextBookmark */ = 2090289817E95F9E0051A253 /* PBXTextBookmark */;
2090289B17E95F9E0051A253 /* PBXTextBookmark */ = 2090289B17E95F9E0051A253 /* PBXTextBookmark */;
2090289C17E95F9E0051A253 /* PBXTextBookmark */ = 2090289C17E95F9E0051A253 /* PBXTextBookmark */;
2090289D17E95F9E0051A253 /* PBXTextBookmark */ = 2090289D17E95F9E0051A253 /* PBXTextBookmark */;
2090289E17E95F9E0051A253 /* PBXTextBookmark */ = 2090289E17E95F9E0051A253 /* PBXTextBookmark */;
2090289F17E95F9E0051A253 /* PBXTextBookmark */ = 2090289F17E95F9E0051A253 /* PBXTextBookmark */;
209028A517E95F9E0051A253 /* PBXTextBookmark */ = 209028A517E95F9E0051A253 /* PBXTextBookmark */;
20D2707917E962A1005B3EA0 /* PBXTextBookmark */ = 20D2707917E962A1005B3EA0 /* PBXTextBookmark */;
20D2707A17E962A1005B3EA0 /* PBXTextBookmark */ = 20D2707A17E962A1005B3EA0 /* PBXTextBookmark */;
20F6A1AC17E95A6200BAD261 /* PBXTextBookmark */ = 20F6A1AC17E95A6200BAD261 /* PBXTextBookmark */;
20F6A1AE17E95A6200BAD261 /* PBXTextBookmark */ = 20F6A1AE17E95A6200BAD261 /* PBXTextBookmark */;
20F6A1B117E95A6200BAD261 /* PlistBookmark */ = 20F6A1B117E95A6200BAD261 /* PlistBookmark */;
20F6A1E917E95B5200BAD261 /* PBXTextBookmark */ = 20F6A1E917E95B5200BAD261 /* PBXTextBookmark */;
20F6A1EA17E95B5200BAD261 /* PBXTextBookmark */ = 20F6A1EA17E95B5200BAD261 /* PBXTextBookmark */;
20F6A21417E95C1200BAD261 /* PBXTextBookmark */ = 20F6A21417E95C1200BAD261 /* PBXTextBookmark */;
20F6A21A17E95C1200BAD261 /* PBXTextBookmark */ = 20F6A21A17E95C1200BAD261 /* PBXTextBookmark */;
20F6A21E17E95C1200BAD261 /* PBXTextBookmark */ = 20F6A21E17E95C1200BAD261 /* PBXTextBookmark */;
};
sourceControlManager = 20F6A1A517E959A000BAD261 /* Source Control */;
userBuildSettings = {
};
};
8D1107260486CEB800E47090 /* timesynk */ = {
activeExec = 0;
executables = (
20F6A19417E9598B00BAD261 /* timesynk */,
);
};
}

View File

@ -0,0 +1,344 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXBuildFile section */
002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; };
002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; };
20F6A1C317E95AAA00BAD261 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 20F6A1C217E95AAA00BAD261 /* main.c */; };
20F6A1D517E95AD300BAD261 /* interface in Resources */ = {isa = PBXBuildFile; fileRef = 20F6A1C517E95AD300BAD261 /* interface */; };
20F6A1D617E95AD300BAD261 /* net in Resources */ = {isa = PBXBuildFile; fileRef = 20F6A1D017E95AD300BAD261 /* net */; };
20F6A1F317E95B6F00BAD261 /* sdl.c in Sources */ = {isa = PBXBuildFile; fileRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */; };
20F6A20317E95BC400BAD261 /* sockets.c in Sources */ = {isa = PBXBuildFile; fileRef = 20F6A20217E95BC400BAD261 /* sockets.c */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */,
);
name = "Copy Frameworks into .app bundle";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = "<absolute>"; };
002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; };
002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; };
002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = "<group>"; };
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
2090287B17E95E780051A253 /* timesynk_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = timesynk_Prefix.pch; sourceTree = "<group>"; };
20F6A1C217E95AAA00BAD261 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main.c; path = ../main.c; sourceTree = SOURCE_ROOT; };
20F6A1C417E95AD300BAD261 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../common.h; sourceTree = SOURCE_ROOT; };
20F6A1C517E95AD300BAD261 /* interface */ = {isa = PBXFileReference; lastKnownFileType = folder; name = interface; path = ../interface; sourceTree = SOURCE_ROOT; };
20F6A1CF17E95AD300BAD261 /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = main.h; path = ../main.h; sourceTree = SOURCE_ROOT; };
20F6A1D017E95AD300BAD261 /* net */ = {isa = PBXFileReference; lastKnownFileType = folder; name = net; path = ../net; sourceTree = SOURCE_ROOT; };
20F6A1D417E95AD300BAD261 /* stubs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stubs.h; path = ../stubs.h; sourceTree = SOURCE_ROOT; };
20F6A1F017E95B6F00BAD261 /* sdl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sdl.c; path = ../interface/sdl.c; sourceTree = SOURCE_ROOT; };
20F6A1F117E95B6F00BAD261 /* sdl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sdl.h; path = ../interface/sdl.h; sourceTree = SOURCE_ROOT; };
20F6A20217E95BC400BAD261 /* sockets.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sockets.c; path = ../net/sockets.c; sourceTree = SOURCE_ROOT; };
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8D1107320486CEB800E47090 /* timesynk.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = timesynk.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8D11072E0486CEB800E47090 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */,
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
080E96DDFE201D6D7F000001 /* Classes */ = {
isa = PBXGroup;
children = (
002F3A2B09D0888800EBEB88 /* SDLMain.h */,
002F3A2C09D0888800EBEB88 /* SDLMain.m */,
);
name = Classes;
sourceTree = "<group>";
};
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
isa = PBXGroup;
children = (
002F39F909D0881F00EBEB88 /* SDL.framework */,
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
);
name = "Linked Frameworks";
sourceTree = "<group>";
};
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
isa = PBXGroup;
children = (
29B97324FDCFA39411CA2CEA /* AppKit.framework */,
29B97325FDCFA39411CA2CEA /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
19C28FACFE9D520D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8D1107320486CEB800E47090 /* timesynk.app */,
);
name = Products;
sourceTree = "<group>";
};
29B97314FDCFA39411CA2CEA /* SDL_test */ = {
isa = PBXGroup;
children = (
080E96DDFE201D6D7F000001 /* Classes */,
29B97315FDCFA39411CA2CEA /* Other Sources */,
29B97317FDCFA39411CA2CEA /* Resources */,
29B97323FDCFA39411CA2CEA /* Frameworks */,
19C28FACFE9D520D11CA2CBB /* Products */,
);
name = SDL_test;
sourceTree = "<group>";
};
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
2090287B17E95E780051A253 /* timesynk_Prefix.pch */,
20F6A1C217E95AAA00BAD261 /* main.c */,
20F6A1C417E95AD300BAD261 /* common.h */,
20F6A20217E95BC400BAD261 /* sockets.c */,
20F6A1C517E95AD300BAD261 /* interface */,
20F6A1F017E95B6F00BAD261 /* sdl.c */,
20F6A1F117E95B6F00BAD261 /* sdl.h */,
20F6A1CF17E95AD300BAD261 /* main.h */,
20F6A1D017E95AD300BAD261 /* net */,
20F6A1D417E95AD300BAD261 /* stubs.h */,
);
name = "Other Sources";
sourceTree = "<group>";
};
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
8D1107310486CEB800E47090 /* Info.plist */,
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
002F3AEF09D08F1000EBEB88 /* SDLMain.nib */,
);
name = Resources;
sourceTree = "<group>";
};
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
8D1107260486CEB800E47090 /* timesynk */ = {
isa = PBXNativeTarget;
buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "timesynk" */;
buildPhases = (
8D1107290486CEB800E47090 /* Resources */,
8D11072C0486CEB800E47090 /* Sources */,
8D11072E0486CEB800E47090 /* Frameworks */,
002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */,
);
buildRules = (
);
dependencies = (
);
name = timesynk;
productInstallPath = "$(HOME)/Applications";
productName = SDL_test;
productReference = 8D1107320486CEB800E47090 /* timesynk.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "timesynk" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 29B97314FDCFA39411CA2CEA /* SDL_test */;
projectDirPath = "";
projectRoot = "";
targets = (
8D1107260486CEB800E47090 /* timesynk */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
8D1107290486CEB800E47090 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */,
20F6A1D517E95AD300BAD261 /* interface in Resources */,
20F6A1D617E95AD300BAD261 /* net in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
8D11072C0486CEB800E47090 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */,
20F6A1C317E95AAA00BAD261 /* main.c in Sources */,
20F6A1F317E95B6F00BAD261 /* sdl.c in Sources */,
20F6A20317E95BC400BAD261 /* sockets.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = {
isa = PBXVariantGroup;
children = (
002F3AF009D08F1000EBEB88 /* English */,
);
name = SDLMain.nib;
sourceTree = "<group>";
};
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
089C165DFE840E0CC02AAC07 /* English */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
C01FCF4B08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = timesynk_Prefix.pch;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = timesynk;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
C01FCF4C08A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = SDL_test_Prefix.pch;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = SDL_test;
WRAPPER_EXTENSION = app;
};
name = Release;
};
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
FRAMEWORK_SEARCH_PATHS = (
"$(HOME)/Library/Frameworks",
/Library/Frameworks,
"$(FRAMEWORK_SEARCH_PATHS)",
);
GCC_VERSION = 4.0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"$(HOME)/Library/Frameworks/SDL.framework/Headers",
/Library/Frameworks/SDL.framework/Headers,
"$(HEADER_SEARCH_PATHS)",
);
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Debug;
};
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
FRAMEWORK_SEARCH_PATHS = (
"$(HOME)/Library/Frameworks",
/Library/Frameworks,
"$(FRAMEWORK_SEARCH_PATHS)",
);
GCC_VERSION = 4.0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"$(HOME)/Library/Frameworks/SDL.framework/Headers",
/Library/Frameworks/SDL.framework/Headers,
"$(HEADER_SEARCH_PATHS)",
);
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "timesynk" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C01FCF4B08A954540054247B /* Debug */,
C01FCF4C08A954540054247B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "timesynk" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C01FCF4F08A954540054247B /* Debug */,
C01FCF5008A954540054247B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
}

View File

@ -0,0 +1,9 @@
//
// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project
//
#include <SDL/SDL.h>
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif