interfacePrint is no longer directly called in non-interface contexts, but rather is handled by a messaging system. When one tile wishes to tell another tile a message, whether that be for descriptive purposes such as opening a door or otherwise, messageTile(Tile *sender, Tile *recipient, const char *message) is called. Within that, if the recipient->tid is PLAYER, then it calls interfacePrint. This will later be modified to check if the recipient->data->controller matches the actual user's controller (thus tying messages to particular users only). Also added was the basic struct for controller, but it is thus far unused in actual game code. The Controller will be used once a basic network/game structure is in order.
parent
1f641bb92e
commit
5edcc76a86
7
Makefile
7
Makefile
|
@ -1,7 +1,7 @@
|
|||
CC = gcc
|
||||
PREFIX = ./
|
||||
BINARY=timesynk
|
||||
OBJS = main.o game.o context.o player.o npc.o console.o tile.o map.o wall.o net/sockets.o helper.o
|
||||
OBJS = main.o game.o context.o player.o npc.o message.o console.o tile.o map.o wall.o net/sockets.o helper.o
|
||||
CURSES_OBJS = interface/curses.o tiles/curses_tiles.o
|
||||
SDL_OBJS = interface/sdl.o tiles/tiles.o
|
||||
DEBUG = -g
|
||||
|
@ -47,7 +47,7 @@ main.o: main.c stubs.h wall.h wall.c context.h interface/curses.c net/sockets.c
|
|||
helper.o: helper.c helper.h
|
||||
$(CC) $(CFLAGS) -c helper.c
|
||||
|
||||
tile.o: tile.c tile.h
|
||||
tile.o: tile.c tile.h controller.h
|
||||
$(CC) $(CFLAGS) -c tile.c
|
||||
|
||||
map.o: map.h map.c tile.h
|
||||
|
@ -68,6 +68,9 @@ player.o: game.h player.h player.c
|
|||
npc.o: game.h tile.h npc.h npc.c
|
||||
$(CC) $(CFLAGS) -c npc.c
|
||||
|
||||
message.o: tile.h message.h message.c
|
||||
$(CC) $(CFLAGS) -c message.c
|
||||
|
||||
console.o: console.h console.c
|
||||
$(CC) $(CFLAGS) -c console.c
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
/* controller.h - defines the data types and functions for controllers
|
||||
|
||||
While the PlayerTile represents the PC, the Controller represents the Player. The Controller contains a pointer to the tile it is currently controlling, and in the case of a Player Controller, the Tile(PlayerTile) that is currently being controlled. Also included is the player name.
|
||||
*/
|
||||
|
||||
struct Controller {
|
||||
int id;
|
||||
int fd; // file descriptor / socket number
|
||||
char name[16];
|
||||
struct Tile *tile;
|
||||
};
|
4
game.c
4
game.c
|
@ -13,6 +13,7 @@
|
|||
#include "player.h"
|
||||
#include "npc.h"
|
||||
#include "console.h"
|
||||
#include "controller.h"
|
||||
|
||||
int gameInit() {
|
||||
consoleLog("gameInit()");
|
||||
|
@ -152,6 +153,9 @@ void gameMoveTile(struct Tile *tile, int target_x, int target_y) {
|
|||
}
|
||||
target_loc = target_loc->next;
|
||||
}
|
||||
// mark the tiles to be visually updated
|
||||
gameUpdateTile(tile->x, tile->y);
|
||||
gameUpdateTile(target_x, target_y);
|
||||
// finally, update tile's x and y props
|
||||
tile->x = target_x;
|
||||
tile->y = target_y;
|
||||
|
|
2
game.h
2
game.h
|
@ -22,6 +22,8 @@ void gameClose();
|
|||
|
||||
int gameCollision(int target_x, int target_y);
|
||||
void gameMoveTile(struct Tile *tile, int target_x, int target_y);
|
||||
/* marks a tile to be updated visually */
|
||||
void gameUpdateTile(int x, int y);
|
||||
|
||||
int isCellVisible(int target_x, int target_y);
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#include "message.h"
|
||||
#include "tile.h"
|
||||
void messageTile(struct Tile *sender, struct Tile *recipient, const char *message) {
|
||||
if (recipient->tid == PLAYER) {
|
||||
// if Tile == this_player, interfacePrint
|
||||
interfacePrint(message);
|
||||
}
|
||||
}
|
||||
|
||||
void messageTiles(struct Tile *sender, struct Tile **recipients, const char *message) {
|
||||
int i;
|
||||
int length = sizeof(recipients) / sizeof(recipients[0]);
|
||||
for (i=0;i < length;i++) {
|
||||
messageTile(sender, recipients[i], message);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef MESSAGE_H
|
||||
#define MESSAGE_H
|
||||
#include "tile.h"
|
||||
/* message.h - defines the entire messaging system.
|
||||
|
||||
Basically, instead of calling printl or something similar to what nethack does, messages are transferred by sending a message to some Tile. If the tile is of an appropriate type to receive the message, such as PlayerTile/PLAYER, then calls to interfacePrint() are in order.
|
||||
|
||||
This is somewhat more similar to a real world, as every object "communicates" with every other object and has to run through their senses. So, basically, the eyes/ears = PlayerTile and the brain = interfacePrint. Kinda.
|
||||
*/
|
||||
/* messages! */
|
||||
#define MESSAGE_OPEN "You open the %s"
|
||||
#define MESSAGE_CLOSE "You close the %s"
|
||||
|
||||
void messageTile(struct Tile *sender, struct Tile *recipient, const char *message);
|
||||
|
||||
void messageTiles(struct Tile *sender, struct Tile **recipients, const char *message);
|
||||
#endif
|
4
player.h
4
player.h
|
@ -25,10 +25,6 @@
|
|||
#define CLASS_RANGER 4
|
||||
#define CLASS_BARBARIAN 5
|
||||
|
||||
typedef struct {
|
||||
char name[16];
|
||||
} PlayerTile;
|
||||
|
||||
struct Tile *player;
|
||||
|
||||
void (*player_commands[128]) (); // pointer to array of command functions
|
||||
|
|
22
tile.c
22
tile.c
|
@ -5,6 +5,8 @@
|
|||
#include "wall.h"
|
||||
#include "common.h"
|
||||
#include "npc.h"
|
||||
#include "message.h"
|
||||
#include "player.h"
|
||||
|
||||
int allocateTile(struct Tile** tile, unsigned int tid, short id) {
|
||||
*tile = (struct Tile *) malloc(sizeof(struct Tile));
|
||||
|
@ -67,37 +69,29 @@ struct Tile *newTile(unsigned int type_id, short id, short x, short y) {
|
|||
|
||||
int activateTile(struct Tile *target_tile, struct Tile *activator_tile) {
|
||||
char string[64];
|
||||
string[0] = '\0'; // FIXME: we need interfacePrintF
|
||||
// TODO: create a tellTile(string) instead of interfacePrintF
|
||||
switch (target_tile->tid) {
|
||||
case DOOR:
|
||||
switch (((struct DoorTile*)target_tile->data)->state) {
|
||||
case STATE_OPEN:
|
||||
((struct DoorTile*)target_tile->data)->state = STATE_CLOSED;
|
||||
strcat(string, "You close the ");
|
||||
strcat(string, ((struct BasicTile*)target_tile->data)->name);
|
||||
interfacePrint(string);
|
||||
sprintf(string, MESSAGE_CLOSE, ((struct BasicTile*)target_tile->data)->name);
|
||||
break;
|
||||
case STATE_CLOSED:
|
||||
((struct DoorTile*)target_tile->data)->state = STATE_OPEN;
|
||||
strcat(string, "You open the ");
|
||||
strcat(string, ((struct BasicTile*)target_tile->data)->name);
|
||||
interfacePrint(string);
|
||||
sprintf(string, MESSAGE_OPEN, ((struct BasicTile*)target_tile->data)->name);
|
||||
break;
|
||||
}
|
||||
messageTile(target_tile, activator_tile, string);
|
||||
return ((struct DoorTile*)target_tile->data)->state;
|
||||
break;
|
||||
case NPC:
|
||||
strcat(string, "You turn on the ");
|
||||
strcat(string, ((struct BasicTile*)target_tile->data)->name);
|
||||
strcat(string, " - how naughty.");
|
||||
interfacePrint(string);
|
||||
sprintf(string, "You turn on the %s - how naughty.", ((struct BasicTile*)target_tile->data)->name);
|
||||
break;
|
||||
default:
|
||||
strcat(string, "There is nothing there to activate.");
|
||||
interfacePrint(string);
|
||||
sprintf(string, "You see nothing to activate.");
|
||||
break;
|
||||
}
|
||||
messageTile(target_tile, activator_tile, string);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
1
tile.h
1
tile.h
|
@ -48,6 +48,7 @@ struct PlayerTile {
|
|||
int collision;
|
||||
char name[16];
|
||||
int vision;
|
||||
struct Controller *controller;
|
||||
};
|
||||
extern struct PlayerTile players[];
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -197,48 +197,7 @@
|
|||
<key>Notifications</key>
|
||||
<array/>
|
||||
<key>OpenEditors</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Content</key>
|
||||
<dict>
|
||||
<key>PBXProjectModuleGUID</key>
|
||||
<string>20F90AE7180E362100242709</string>
|
||||
<key>PBXProjectModuleLabel</key>
|
||||
<string>sdl.c</string>
|
||||
<key>PBXSplitModuleInNavigatorKey</key>
|
||||
<dict>
|
||||
<key>Split0</key>
|
||||
<dict>
|
||||
<key>PBXProjectModuleGUID</key>
|
||||
<string>20F90AE8180E362100242709</string>
|
||||
<key>PBXProjectModuleLabel</key>
|
||||
<string>sdl.c</string>
|
||||
<key>_historyCapacity</key>
|
||||
<integer>0</integer>
|
||||
<key>bookmark</key>
|
||||
<string>20E217E81818B5D0003112DE</string>
|
||||
<key>history</key>
|
||||
<array>
|
||||
<string>205AF3C81816805700F6F9FF</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>SplitCount</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
<key>StatusBarVisibility</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Geometry</key>
|
||||
<dict>
|
||||
<key>Frame</key>
|
||||
<string>{{0, 20}, {750, 461}}</string>
|
||||
<key>PBXModuleWindowStatusBarHidden2</key>
|
||||
<false/>
|
||||
<key>RubberWindowFrame</key>
|
||||
<string>174 128 750 502 0 0 1024 746 </string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
<array/>
|
||||
<key>PerspectiveWidths</key>
|
||||
<array>
|
||||
<integer>-1</integer>
|
||||
|
@ -371,7 +330,7 @@
|
|||
<key>_historyCapacity</key>
|
||||
<integer>0</integer>
|
||||
<key>bookmark</key>
|
||||
<string>20E217E71818B5D0003112DE</string>
|
||||
<string>209860B918277B00009D5BE0</string>
|
||||
<key>history</key>
|
||||
<array>
|
||||
<string>20568DE817EC16C60022F314</string>
|
||||
|
@ -403,7 +362,7 @@
|
|||
<string>20E217A118179A08003112DE</string>
|
||||
<string>20E217CB18186B4C003112DE</string>
|
||||
<string>20E217CC18186B4C003112DE</string>
|
||||
<string>20E2179C18179A08003112DE</string>
|
||||
<string>20E217E71818B5D0003112DE</string>
|
||||
</array>
|
||||
<key>prevStack</key>
|
||||
<array>
|
||||
|
@ -436,14 +395,7 @@
|
|||
<string>20CD05AE180FBCD8005A8231</string>
|
||||
<string>205AF2A3181662B000F6F9FF</string>
|
||||
<string>205AF3B11816778B00F6F9FF</string>
|
||||
<string>20E217A218179A08003112DE</string>
|
||||
<string>20E217A318179A08003112DE</string>
|
||||
<string>20E217A418179A08003112DE</string>
|
||||
<string>20E217A518179A08003112DE</string>
|
||||
<string>20E217A618179A08003112DE</string>
|
||||
<string>20E217A718179A08003112DE</string>
|
||||
<string>20E217CD18186B4C003112DE</string>
|
||||
<string>20E217CE18186B4C003112DE</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>SplitCount</key>
|
||||
|
@ -501,9 +453,9 @@
|
|||
</array>
|
||||
<key>TableOfContents</key>
|
||||
<array>
|
||||
<string>20E217941817220E003112DE</string>
|
||||
<string>209860A518277AA4009D5BE0</string>
|
||||
<string>1CE0B1FE06471DED0097A5F4</string>
|
||||
<string>20E217951817220E003112DE</string>
|
||||
<string>209860A618277AA4009D5BE0</string>
|
||||
<string>1CE0B20306471E060097A5F4</string>
|
||||
<string>1CE0B20506471E060097A5F4</string>
|
||||
</array>
|
||||
|
@ -637,12 +589,9 @@
|
|||
<integer>5</integer>
|
||||
<key>WindowOrderList</key>
|
||||
<array>
|
||||
<string>20E217D118186B4C003112DE</string>
|
||||
<string>20E217D218186B4C003112DE</string>
|
||||
<string>1C78EAAD065D492600B07095</string>
|
||||
<string>1CD10A99069EF8BA00B06720</string>
|
||||
<string>20F6A1B417E95A6200BAD261</string>
|
||||
<string>20F90AE7180E362100242709</string>
|
||||
<string>1C78EAAD065D492600B07095</string>
|
||||
<string>/Users/kts/Devel/timesynk/xcode/timesynk.xcodeproj</string>
|
||||
</array>
|
||||
<key>WindowString</key>
|
||||
|
@ -723,7 +672,7 @@
|
|||
<key>TableOfContents</key>
|
||||
<array>
|
||||
<string>20F6A1B417E95A6200BAD261</string>
|
||||
<string>20E217AA18179A08003112DE</string>
|
||||
<string>209860A818277AA4009D5BE0</string>
|
||||
<string>1CD0528F0623707200166675</string>
|
||||
<string>XCMainBuildResultsModuleGUID</string>
|
||||
</array>
|
||||
|
@ -843,13 +792,13 @@
|
|||
<key>TableOfContents</key>
|
||||
<array>
|
||||
<string>1CD10A99069EF8BA00B06720</string>
|
||||
<string>20E217AB18179A08003112DE</string>
|
||||
<string>209860A918277AA4009D5BE0</string>
|
||||
<string>1C162984064C10D400B95A72</string>
|
||||
<string>20E217AC18179A08003112DE</string>
|
||||
<string>20E217AD18179A08003112DE</string>
|
||||
<string>20E217AE18179A08003112DE</string>
|
||||
<string>20E217AF18179A08003112DE</string>
|
||||
<string>20E217B018179A08003112DE</string>
|
||||
<string>209860AA18277AA4009D5BE0</string>
|
||||
<string>209860AB18277AA4009D5BE0</string>
|
||||
<string>209860AC18277AA4009D5BE0</string>
|
||||
<string>209860AD18277AA4009D5BE0</string>
|
||||
<string>209860AE18277AA4009D5BE0</string>
|
||||
</array>
|
||||
<key>ToolbarConfiguration</key>
|
||||
<string>xcode.toolbar.config.debugV3</string>
|
||||
|
@ -976,8 +925,6 @@
|
|||
<key>Dock</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>BecomeActive</key>
|
||||
<true/>
|
||||
<key>ContentConfiguration</key>
|
||||
<dict>
|
||||
<key>PBXProjectModuleGUID</key>
|
||||
|
@ -1013,7 +960,7 @@
|
|||
<key>TableOfContents</key>
|
||||
<array>
|
||||
<string>1C78EAAD065D492600B07095</string>
|
||||
<string>20E217B118179A08003112DE</string>
|
||||
<string>209860AF18277AA4009D5BE0</string>
|
||||
<string>1C78EAAC065D492600B07095</string>
|
||||
</array>
|
||||
<key>ToolbarConfiguration</key>
|
||||
|
@ -1023,7 +970,7 @@
|
|||
<key>WindowToolGUID</key>
|
||||
<string>1C78EAAD065D492600B07095</string>
|
||||
<key>WindowToolIsVisible</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Identifier</key>
|
||||
|
|
|
@ -346,16 +346,6 @@
|
|||
rLen = 0;
|
||||
rLoc = 2147483647;
|
||||
};
|
||||
205AF3C81816805700F6F9FF /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
name = "sdl.c: 343";
|
||||
rLen = 0;
|
||||
rLoc = 12171;
|
||||
rType = 0;
|
||||
vrLen = 1729;
|
||||
vrLoc = 612;
|
||||
};
|
||||
205CBE4718134A20009DA0FF /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20DE9D061804FE1A0047B2DD /* context.h */;
|
||||
|
@ -555,6 +545,16 @@
|
|||
vrLen = 175;
|
||||
vrLoc = 0;
|
||||
};
|
||||
209860B918277B00009D5BE0 /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
name = "sdl.c: 68";
|
||||
rLen = 0;
|
||||
rLoc = 2795;
|
||||
rType = 0;
|
||||
vrLen = 1937;
|
||||
vrLoc = 2195;
|
||||
};
|
||||
209A27C71812256F00B15CEC /* npc.h */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {755, 485}}";
|
||||
|
@ -606,16 +606,6 @@
|
|||
vrLen = 634;
|
||||
vrLoc = 2116;
|
||||
};
|
||||
20E2179C18179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
name = "sdl.c: 87";
|
||||
rLen = 0;
|
||||
rLoc = 3963;
|
||||
rType = 0;
|
||||
vrLen = 1975;
|
||||
vrLoc = 2999;
|
||||
};
|
||||
20E2179D18179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 205AEFC71814CAAE00F6F9FF /* console.c */;
|
||||
|
@ -656,36 +646,6 @@
|
|||
vrLen = 1207;
|
||||
vrLoc = 3641;
|
||||
};
|
||||
20E217A218179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
name = "sdl.c: 87";
|
||||
rLen = 0;
|
||||
rLoc = 3963;
|
||||
rType = 0;
|
||||
vrLen = 1975;
|
||||
vrLoc = 2999;
|
||||
};
|
||||
20E217A318179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 205AEFC71814CAAE00F6F9FF /* console.c */;
|
||||
name = "console.c: 63";
|
||||
rLen = 0;
|
||||
rLoc = 1751;
|
||||
rType = 0;
|
||||
vrLen = 1020;
|
||||
vrLoc = 1124;
|
||||
};
|
||||
20E217A418179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 204F942618005466007B4DAD /* tile.c */;
|
||||
name = "tile.c: 20";
|
||||
rLen = 0;
|
||||
rLoc = 448;
|
||||
rType = 0;
|
||||
vrLen = 802;
|
||||
vrLoc = 87;
|
||||
};
|
||||
20E217A518179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 204F942718005466007B4DAD /* tile.h */;
|
||||
|
@ -696,26 +656,6 @@
|
|||
vrLen = 942;
|
||||
vrLoc = 968;
|
||||
};
|
||||
20E217A618179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1C217E95AAA00BAD261 /* main.c */;
|
||||
name = "main.c: 36";
|
||||
rLen = 0;
|
||||
rLoc = 1005;
|
||||
rType = 0;
|
||||
vrLen = 1008;
|
||||
vrLoc = 38;
|
||||
};
|
||||
20E217A718179A08003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 204F942418005466007B4DAD /* map.c */;
|
||||
name = "map.c: 148";
|
||||
rLen = 0;
|
||||
rLoc = 4107;
|
||||
rType = 0;
|
||||
vrLen = 1207;
|
||||
vrLoc = 3641;
|
||||
};
|
||||
20E217CB18186B4C003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 204F942518005466007B4DAD /* map.h */;
|
||||
|
@ -736,26 +676,6 @@
|
|||
vrLen = 989;
|
||||
vrLoc = 57;
|
||||
};
|
||||
20E217CD18186B4C003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 204F942518005466007B4DAD /* map.h */;
|
||||
name = "map.h: 38";
|
||||
rLen = 0;
|
||||
rLoc = 1990;
|
||||
rType = 0;
|
||||
vrLen = 2309;
|
||||
vrLoc = 586;
|
||||
};
|
||||
20E217CE18186B4C003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1C217E95AAA00BAD261 /* main.c */;
|
||||
name = "main.c: 36";
|
||||
rLen = 0;
|
||||
rLoc = 1005;
|
||||
rType = 0;
|
||||
vrLen = 989;
|
||||
vrLoc = 57;
|
||||
};
|
||||
20E217E71818B5D0003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
|
@ -766,16 +686,6 @@
|
|||
vrLen = 1937;
|
||||
vrLoc = 2195;
|
||||
};
|
||||
20E217E81818B5D0003112DE /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20F6A1F017E95B6F00BAD261 /* sdl.c */;
|
||||
name = "sdl.c: 351";
|
||||
rLen = 0;
|
||||
rLoc = 12430;
|
||||
rType = 0;
|
||||
vrLen = 1638;
|
||||
vrLoc = 1398;
|
||||
};
|
||||
20EC59781808D7A100F759CD /* PBXTextBookmark */ = {
|
||||
isa = PBXTextBookmark;
|
||||
fRef = 20DE9D051804FE1A0047B2DD /* context.c */;
|
||||
|
@ -906,9 +816,9 @@
|
|||
};
|
||||
20F6A1F017E95B6F00BAD261 /* sdl.c */ = {
|
||||
uiCtxt = {
|
||||
sepNavIntBoundsRect = "{{0, 0}, {1224, 4746}}";
|
||||
sepNavSelRange = "{12430, 0}";
|
||||
sepNavVisRange = "{1398, 1638}";
|
||||
sepNavIntBoundsRect = "{{0, 0}, {1224, 4676}}";
|
||||
sepNavSelRange = "{2795, 0}";
|
||||
sepNavVisRange = "{2195, 1937}";
|
||||
sepNavWindowFrame = "{{174, 72}, {750, 558}}";
|
||||
};
|
||||
};
|
||||
|
@ -1034,8 +944,8 @@
|
|||
PBXFileDataSource_Warnings_ColumnID,
|
||||
);
|
||||
};
|
||||
PBXPerProjectTemplateStateSaveDate = 404169224;
|
||||
PBXWorkspaceStateSaveDate = 404169224;
|
||||
PBXPerProjectTemplateStateSaveDate = 405240454;
|
||||
PBXWorkspaceStateSaveDate = 405240454;
|
||||
};
|
||||
perUserProjectItems = {
|
||||
2007C93017ECF2EB00268653 /* PBXTextBookmark */ = 2007C93017ECF2EB00268653 /* PBXTextBookmark */;
|
||||
|
@ -1062,7 +972,6 @@
|
|||
205AF3B11816778B00F6F9FF /* PBXTextBookmark */ = 205AF3B11816778B00F6F9FF /* PBXTextBookmark */;
|
||||
205AF3B818167E1100F6F9FF /* PBXTextBookmark */ = 205AF3B818167E1100F6F9FF /* PBXTextBookmark */;
|
||||
205AF3B918167E1100F6F9FF /* PlistBookmark */ = 205AF3B918167E1100F6F9FF /* PlistBookmark */;
|
||||
205AF3C81816805700F6F9FF /* PBXTextBookmark */ = 205AF3C81816805700F6F9FF /* PBXTextBookmark */;
|
||||
205CBE4718134A20009DA0FF /* PBXTextBookmark */ = 205CBE4718134A20009DA0FF /* PBXTextBookmark */;
|
||||
20664C241808D0EF00942104 /* PBXTextBookmark */ = 20664C241808D0EF00942104 /* PBXTextBookmark */;
|
||||
20664C291808D0EF00942104 /* PBXTextBookmark */ = 20664C291808D0EF00942104 /* PBXTextBookmark */;
|
||||
|
@ -1080,26 +989,18 @@
|
|||
2090289E17E95F9E0051A253 /* PBXTextBookmark */ = 2090289E17E95F9E0051A253 /* PBXTextBookmark */;
|
||||
2090289F17E95F9E0051A253 /* PBXTextBookmark */ = 2090289F17E95F9E0051A253 /* PBXTextBookmark */;
|
||||
209028A517E95F9E0051A253 /* PBXTextBookmark */ = 209028A517E95F9E0051A253 /* PBXTextBookmark */;
|
||||
209860B918277B00009D5BE0 /* PBXTextBookmark */ = 209860B918277B00009D5BE0 /* PBXTextBookmark */;
|
||||
20CD05AE180FBCD8005A8231 /* PBXTextBookmark */ = 20CD05AE180FBCD8005A8231 /* PBXTextBookmark */;
|
||||
20DE9D35180500990047B2DD /* PBXTextBookmark */ = 20DE9D35180500990047B2DD /* PBXTextBookmark */;
|
||||
20DE9D36180500990047B2DD /* PBXTextBookmark */ = 20DE9D36180500990047B2DD /* PBXTextBookmark */;
|
||||
20E2179C18179A08003112DE /* PBXTextBookmark */ = 20E2179C18179A08003112DE /* PBXTextBookmark */;
|
||||
20E2179D18179A08003112DE /* PBXTextBookmark */ = 20E2179D18179A08003112DE /* PBXTextBookmark */;
|
||||
20E2179E18179A08003112DE /* PBXTextBookmark */ = 20E2179E18179A08003112DE /* PBXTextBookmark */;
|
||||
20E2179F18179A08003112DE /* PBXTextBookmark */ = 20E2179F18179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A118179A08003112DE /* PBXTextBookmark */ = 20E217A118179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A218179A08003112DE /* PBXTextBookmark */ = 20E217A218179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A318179A08003112DE /* PBXTextBookmark */ = 20E217A318179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A418179A08003112DE /* PBXTextBookmark */ = 20E217A418179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A518179A08003112DE /* PBXTextBookmark */ = 20E217A518179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A618179A08003112DE /* PBXTextBookmark */ = 20E217A618179A08003112DE /* PBXTextBookmark */;
|
||||
20E217A718179A08003112DE /* PBXTextBookmark */ = 20E217A718179A08003112DE /* PBXTextBookmark */;
|
||||
20E217CB18186B4C003112DE /* PBXTextBookmark */ = 20E217CB18186B4C003112DE /* PBXTextBookmark */;
|
||||
20E217CC18186B4C003112DE /* PBXTextBookmark */ = 20E217CC18186B4C003112DE /* PBXTextBookmark */;
|
||||
20E217CD18186B4C003112DE /* PBXTextBookmark */ = 20E217CD18186B4C003112DE /* PBXTextBookmark */;
|
||||
20E217CE18186B4C003112DE /* PBXTextBookmark */ = 20E217CE18186B4C003112DE /* PBXTextBookmark */;
|
||||
20E217E71818B5D0003112DE /* PBXTextBookmark */ = 20E217E71818B5D0003112DE /* PBXTextBookmark */;
|
||||
20E217E81818B5D0003112DE /* PBXTextBookmark */ = 20E217E81818B5D0003112DE /* PBXTextBookmark */;
|
||||
20EC59781808D7A100F759CD /* PBXTextBookmark */ = 20EC59781808D7A100F759CD /* PBXTextBookmark */;
|
||||
20F6A1AC17E95A6200BAD261 /* PBXTextBookmark */ = 20F6A1AC17E95A6200BAD261 /* PBXTextBookmark */;
|
||||
20F6A1AE17E95A6200BAD261 /* PBXTextBookmark */ = 20F6A1AE17E95A6200BAD261 /* PBXTextBookmark */;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
205AEFC91814CAAE00F6F9FF /* console.c in Sources */ = {isa = PBXBuildFile; fileRef = 205AEFC71814CAAE00F6F9FF /* console.c */; };
|
||||
206D60291808F0E200C0DE49 /* SDL_image.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 206D60281808F0E200C0DE49 /* SDL_image.framework */; };
|
||||
206D60451808F90700C0DE49 /* tiles.c in Sources */ = {isa = PBXBuildFile; fileRef = 206D60431808F90700C0DE49 /* tiles.c */; };
|
||||
208764551825B1E700F17207 /* message.c in Sources */ = {isa = PBXBuildFile; fileRef = 208764531825B1E700F17207 /* message.c */; };
|
||||
209A27C81812257000B15CEC /* npc.c in Sources */ = {isa = PBXBuildFile; fileRef = 209A27C61812256F00B15CEC /* npc.c */; };
|
||||
20DE9D071804FE1A0047B2DD /* context.c in Sources */ = {isa = PBXBuildFile; fileRef = 20DE9D051804FE1A0047B2DD /* context.c */; };
|
||||
20F6A1C317E95AAA00BAD261 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 20F6A1C217E95AAA00BAD261 /* main.c */; };
|
||||
|
@ -70,6 +71,8 @@
|
|||
206D60281808F0E200C0DE49 /* SDL_image.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL_image.framework; path = /Library/Frameworks/SDL_image.framework; sourceTree = "<absolute>"; };
|
||||
206D60431808F90700C0DE49 /* tiles.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tiles.c; path = ../tiles/tiles.c; sourceTree = SOURCE_ROOT; };
|
||||
206D60441808F90700C0DE49 /* tiles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tiles.h; path = ../tiles/tiles.h; sourceTree = SOURCE_ROOT; };
|
||||
208764531825B1E700F17207 /* message.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = message.c; path = ../message.c; sourceTree = SOURCE_ROOT; };
|
||||
208764541825B1E700F17207 /* message.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = message.h; path = ../message.h; sourceTree = SOURCE_ROOT; };
|
||||
2090287B17E95E780051A253 /* timesynk_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = timesynk_Prefix.pch; sourceTree = "<group>"; };
|
||||
209A27C61812256F00B15CEC /* npc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = npc.c; path = ../npc.c; sourceTree = SOURCE_ROOT; };
|
||||
209A27C71812256F00B15CEC /* npc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = npc.h; path = ../npc.h; sourceTree = SOURCE_ROOT; };
|
||||
|
@ -164,6 +167,8 @@
|
|||
20F6A1C217E95AAA00BAD261 /* main.c */,
|
||||
20F6A1C417E95AD300BAD261 /* common.h */,
|
||||
205AEFC71814CAAE00F6F9FF /* console.c */,
|
||||
208764531825B1E700F17207 /* message.c */,
|
||||
208764541825B1E700F17207 /* message.h */,
|
||||
205AEFC81814CAAE00F6F9FF /* console.h */,
|
||||
209A27C61812256F00B15CEC /* npc.c */,
|
||||
209A27C71812256F00B15CEC /* npc.h */,
|
||||
|
@ -281,6 +286,7 @@
|
|||
206D60451808F90700C0DE49 /* tiles.c in Sources */,
|
||||
209A27C81812257000B15CEC /* npc.c in Sources */,
|
||||
205AEFC91814CAAE00F6F9FF /* console.c in Sources */,
|
||||
208764551825B1E700F17207 /* message.c in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue