Source release for DOOM Classic for iOS version 2.1

This commit is contained in:
Travis Bradshaw
2012-01-31 16:40:40 -06:00
parent 0cdbbdf96e
commit 3bf2af22f3
371 changed files with 167116 additions and 776 deletions

79
doomtool/doomtool.1 Normal file
View File

@@ -0,0 +1,79 @@
.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
.\"See Also:
.\"man mdoc.samples for a complete listing of options
.\"man mdoc for the short list of editing options
.\"/usr/share/misc/mdoc.template
.Dd 4/6/09 \" DATE
.Dt doomtool 1 \" Program name and manual section number
.Os Darwin
.Sh NAME \" Section Header - required - don't modify
.Nm doomtool,
.\" The following lines are read in generating the apropos(man -k) database. Use only key
.\" words here as the database is built based on the words here and in the .ND line.
.Nm Other_name_for_same_program(),
.Nm Yet another name for the same program.
.\" Use .Nm macro to designate other names for the documented program.
.Nd This line parsed for whatis database.
.Sh SYNOPSIS \" Section Header - required - don't modify
.Nm
.Op Fl abcd \" [-abcd]
.Op Fl a Ar path \" [-a path]
.Op Ar file \" [file]
.Op Ar \" [file ...]
.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
arg2 ... \" Arguments
.Sh DESCRIPTION \" Section Header - required - don't modify
Use the .Nm macro to refer to your program throughout the man page like such:
.Nm
Underlining is accomplished with the .Ar macro like this:
.Ar underlined text .
.Pp \" Inserts a space
A list of items with descriptions:
.Bl -tag -width -indent \" Begins a tagged list
.It item a \" Each item preceded by .It macro
Description of item a
.It item b
Description of item b
.El \" Ends the list
.Pp
A list of flags and their descriptions:
.Bl -tag -width -indent \" Differs from above in tag removed
.It Fl a \"-a flag as a list item
Description of -a flag
.It Fl b
Description of -b flag
.El \" Ends the list
.Pp
.\" .Sh ENVIRONMENT \" May not be needed
.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
.\" .It Ev ENV_VAR_1
.\" Description of ENV_VAR_1
.\" .It Ev ENV_VAR_2
.\" Description of ENV_VAR_2
.\" .El
.Sh FILES \" File used or created by the topic of the man page
.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
.It Pa /usr/share/file_name
FILE_1 description
.It Pa /Users/joeuser/Library/really_long_file_name
FILE_2 description
.El \" Ends the list
.\" .Sh DIAGNOSTICS \" May not be needed
.\" .Bl -diag
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .El
.Sh SEE ALSO
.\" List links in ascending order by section, alphabetically within a section.
.\" Please do not reference files that do not exist without filing a bug report
.Xr a 1 ,
.Xr b 1 ,
.Xr c 1 ,
.Xr a 2 ,
.Xr b 2 ,
.Xr a 3 ,
.Xr b 3
.\" .Sh BUGS \" Document known, unremedied bugs
.\" .Sh HISTORY \" Document history if command behaves in a unique manner

160
doomtool/doomtool.h Normal file
View File

@@ -0,0 +1,160 @@
/*
* ipak.h
* General purpose data file management intended to be used
* as a read-only memory mapped file to play nice with iPhone OS's
* non-swapping and variable memory management.
*
* Created by John Carmack on 4/9/09.
* Copyright 2009 id Software. All rights reserved.
*
*/
//============================================================
//
// In-file structures
//
// These stuctures are in the mapped data file, and shared
// between the app and utility.
//
// Type headers are stored separately from the bulk data to minimize the
// number of active pages.
//
// The full hash of the name is stored in nameHash, and nameHash&(PK_HASH_BUCKETS-1) is
// used to chain structures of a particular type together.
//
//============================================================
#define MAX_PK_NAME 64
typedef struct {
int nameHash; // PK_HashName( name )
int nextOnHashChain; // -1 = end of chain
char name[MAX_PK_NAME]; // in canonical form: backslashes to slashes and lowercase
} pkName_t;
#define PK_HASH_CHAINS 256
typedef struct {
int tableOfs; // // &firstStruct = (byte *)dfHeader + tableOfs
int count;
int structSize; // sizeof( pkWavData_t ), etc
int hashChains[PK_HASH_CHAINS]; // -1 = end of chain
} pkType_t;
// dfWavData holds everything necessary to fully create an OpenAL sample buffer
typedef struct {
pkName_t name;
int wavDataOfs;
int wavChannels; // 1 or 2
int wavChannelBytes; // 1 or 2
int wavRate; // 22050, etc
int wavNumSamples; // each sample holds all the channels
// we may want looping information here later
} pkWavData_t;
// iPhone does not natively support palettized textures, but we
// might conceivably want to support luminance and intensity textures
// in the future.
typedef enum {
TF_565,
TF_5551,
TF_4444,
TF_8888,
TF_LA,
TF_PVR4,
TF_PVR4A,
TF_PVR2,
TF_PVR2A,
} textureFormat_t;
// dfImageData_t holds everything necessary to fully create an OpenGL texture object
typedef struct {
pkName_t name;
int picDataOfs; // the raw bits to pass to gl, mipmaps appended
// for PVR formats, the minimum size of each level is 32 bytes
int format;
int uploadWidth;
int uploadHeight;
int numLevels; // 1 for non mipmapped, otherwise log2( largest dimension )
// glTexParameters
int wrapS;
int wrapT;
int minFilter;
int magFilter;
int aniso;
// The upload sizes can be larger than the source sizes for
// non power of two sources, or for non square sources in the
// case of PVR compression.
int srcWidth;
int srcHeight;
float maxS; // srcWidth / uploadWidth
float maxT;
// Track the outlines of up to two boxes of non-transparent pixels
// to allow optimized drawing of sprites with large empty areas.
// The reason for two boxes is that the common lights have something
// at the top and something at the bottom, with nothing inbetween.
// These are inclusive bounds of the rows / columns in
// uploadWidth / uploadHeight with non-0 alpha
int numBounds;
int bounds[2][2][2];
} pkTextureData_t;
typedef struct {
pkName_t name;
int rawDataOfs; // (byte *)pkHeader + dataOfs
int rawDataLen; // there will always be a 0 byte appended to terminate strings
// that is not counted in this length
} pkRawData_t;
#define PKFILE_VERSION 0x12340002
typedef struct {
int version;
pkType_t textures;
pkType_t wavs;
pkType_t raws;
} pkHeader_t;
//============================================================
//
// In-memory, writable structures
//
//============================================================
typedef struct {
unsigned glTexNum;
const pkTextureData_t *textureData;
// we will need to add LRU links if texture caching is needed
} pkTexture_t;
typedef struct {
unsigned alBufferNum; // created with the staticBuffer extension directly in the mapped memory
const pkWavData_t *wavData;
} pkWav_t;
void PK_Init( const char *pakFileName );
const pkName_t *PK_FindType( const char *rawName, const pkType_t *type, int *index );
const byte * PK_FindRaw( const char *rawName, int *len ); // len can be NULL if you don't need it
pkTexture_t * PK_FindTexture( const char *imageName );
pkWav_t * PK_FindWav( const char *soundName );
// The name will be converted to canonical name (backslashes converted to slashes and lowercase)
// before generating a hash.
int PK_HashName( const char *name, char canonical[MAX_PK_NAME] );
void PK_BindTexture( pkTexture_t *tex );
void PK_DrawTexture( pkTexture_t *tex, int x, int y );
void PK_StretchTexture( pkTexture_t *tex, float x, float y, float w, float h );
extern pkHeader_t * pkHeader;
extern int pkSize;
// images and wavs have writable state, so they need separate
// structs that also point to the source in the pak file
extern pkTexture_t *pkTextures;
extern pkWav_t * pkWavs;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,193 @@
// !$*UTF8*$!
{
08FB7793FE84155DC02AAC07 /* Project object */ = {
activeBuildConfigurationName = Debug;
activeExecutable = EDAFC835109A7D48002C3487 /* doomtool */;
activeTarget = 8DD76FA90486AB0100D96B5E /* doomtool */;
codeSenseManager = EDAFC839109A7D66002C3487 /* Code sense */;
executables = (
EDAFC835109A7D48002C3487 /* doomtool */,
);
perUserDictionary = {
PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = {
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
PBXFileTableDataSourceColumnWidthsKey = (
20,
691,
20,
48.16259765625,
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 = 278560770;
PBXWorkspaceStateSaveDate = 278560770;
};
perUserProjectItems = {
ED845A90109F3FFA00F673AC /* PBXTextBookmark */ = ED845A90109F3FFA00F673AC /* PBXTextBookmark */;
ED845A91109F3FFA00F673AC /* PBXTextBookmark */ = ED845A91109F3FFA00F673AC /* PBXTextBookmark */;
ED845A92109F3FFA00F673AC /* PBXTextBookmark */ = ED845A92109F3FFA00F673AC /* PBXTextBookmark */;
ED845A93109F3FFA00F673AC /* PBXTextBookmark */ = ED845A93109F3FFA00F673AC /* PBXTextBookmark */;
ED845A94109F3FFA00F673AC /* PBXTextBookmark */ = ED845A94109F3FFA00F673AC /* PBXTextBookmark */;
ED845A95109F3FFA00F673AC /* PBXTextBookmark */ = ED845A95109F3FFA00F673AC /* PBXTextBookmark */;
ED845A96109F3FFA00F673AC /* PBXTextBookmark */ = ED845A96109F3FFA00F673AC /* PBXTextBookmark */;
ED845A97109F3FFA00F673AC /* PBXTextBookmark */ = ED845A97109F3FFA00F673AC /* PBXTextBookmark */;
};
sourceControlManager = EDAFC838109A7D66002C3487 /* Source Control */;
userBuildSettings = {
};
};
08FB7796FE84155DC02AAC07 /* main.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {869, 23968}}";
sepNavSelRange = "{39996, 0}";
sepNavVisRange = "{41755, 1531}";
};
};
72C01AB40F8CFCA900DE72D8 /* doomtool.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {869, 2254}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{1823, 1224}";
};
};
8DD76FA90486AB0100D96B5E /* doomtool */ = {
activeExec = 0;
executables = (
EDAFC835109A7D48002C3487 /* doomtool */,
);
};
C6A0FF2C0290799A04C91782 /* doomtool.1 */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {869, 1106}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 1868}";
};
};
ED845A90109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = C6A0FF2C0290799A04C91782 /* doomtool.1 */;
name = "doomtool.1: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1868;
vrLoc = 0;
};
ED845A91109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01AB40F8CFCA900DE72D8 /* doomtool.h */;
name = "doomtool.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1224;
vrLoc = 1823;
};
ED845A92109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 835;
vrLoc = 0;
};
ED845A93109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 393;
vrLoc = 0;
};
ED845A94109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = C6A0FF2C0290799A04C91782 /* doomtool.1 */;
name = "doomtool.1: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1868;
vrLoc = 0;
};
ED845A95109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 835;
vrLoc = 0;
};
ED845A96109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01AB40F8CFCA900DE72D8 /* doomtool.h */;
name = "doomtool.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 1224;
vrLoc = 1823;
};
ED845A97109F3FFA00F673AC /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 1606";
rLen = 0;
rLoc = 39996;
rType = 0;
vrLen = 1531;
vrLoc = 41755;
};
EDAFC835109A7D48002C3487 /* doomtool */ = {
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 = doomtool;
sourceDirectories = (
);
};
EDAFC838109A7D66002C3487 /* Source Control */ = {
isa = PBXSourceControlManager;
fallbackIsa = XCSourceControlManager;
isSCMEnabled = 0;
scmConfiguration = {
};
};
EDAFC839109A7D66002C3487 /* Code sense */ = {
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
}

View File

@@ -0,0 +1,602 @@
// !$*UTF8*$!
{
08FB7793FE84155DC02AAC07 /* Project object */ = {
activeBuildConfigurationName = Debug;
activeExecutable = 72AFDC180F8AF03E0096A523 /* doomtool */;
activeTarget = 8DD76FA90486AB0100D96B5E /* doomtool */;
addToTargets = (
);
breakpoints = (
72C01AB60F8E56DB00DE72D8 /* main.c:1715 */,
72C01B050F8E783400DE72D8 /* main.c:60 */,
72C01B160F8E78D400DE72D8 /* main.c:60 */,
72C01B180F8E78D500DE72D8 /* main.c:60 */,
72C01C410F8EA48F00DE72D8 /* main.c:60 */,
72D50E490F8EFD6E00BB49E6 /* main.c:1279 */,
72D50E660F8F021500BB49E6 /* main.c:1327 */,
721DBA7F0F920C3D001906DB /* main.c:1691 */,
721DBAB20F9218A8001906DB /* main.c:1429 */,
721DBACC0F92DC12001906DB /* main.c:384 */,
721DBADE0F92DDCE001906DB /* main.c:1433 */,
72C8D1C60F936A5A00C6F3E2 /* main.c:1516 */,
72B0EAC70FBD18E200D1D1FA /* main.c:1577 */,
72B0EAD00FBD190000D1D1FA /* main.c:1588 */,
);
codeSenseManager = 72AFDC1E0F8AF05D0096A523 /* Code sense */;
executables = (
72AFDC180F8AF03E0096A523 /* doomtool */,
);
perUserDictionary = {
"PBXConfiguration.PBXBreakpointsDataSource.v1:1CA23EDF0692099D00951B8B" = {
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
PBXFileTableDataSourceColumnSortingKey = PBXBreakpointsDataSource_BreakpointID;
PBXFileTableDataSourceColumnWidthsKey = (
20,
20,
267,
20,
167,
167,
131,
20,
);
PBXFileTableDataSourceColumnsKey = (
PBXBreakpointsDataSource_ActionID,
PBXBreakpointsDataSource_TypeID,
PBXBreakpointsDataSource_BreakpointID,
PBXBreakpointsDataSource_UseID,
PBXBreakpointsDataSource_LocationID,
PBXBreakpointsDataSource_ConditionID,
PBXBreakpointsDataSource_IgnoreCountID,
PBXBreakpointsDataSource_ContinueID,
);
};
PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = {
PBXFileTableDataSourceColumnSortingDirectionKey = "-1";
PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID;
PBXFileTableDataSourceColumnWidthsKey = (
20,
138,
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 = 278554695;
PBXWorkspaceStateSaveDate = 278554695;
};
perUserProjectItems = {
721817A0109A684D00B6E7D0 /* PBXTextBookmark */ = 721817A0109A684D00B6E7D0 /* PBXTextBookmark */;
721817A1109A685300B6E7D0 /* PBXTextBookmark */ = 721817A1109A685300B6E7D0 /* PBXTextBookmark */;
721817A2109A766E00B6E7D0 /* PBXTextBookmark */ = 721817A2109A766E00B6E7D0 /* PBXTextBookmark */;
721DBA820F920C96001906DB = 721DBA820F920C96001906DB /* PBXTextBookmark */;
721DBA890F920C96001906DB = 721DBA890F920C96001906DB /* PBXTextBookmark */;
721DBA9C0F920D42001906DB = 721DBA9C0F920D42001906DB /* PBXTextBookmark */;
721DBAB40F9218C5001906DB = 721DBAB40F9218C5001906DB /* PBXTextBookmark */;
721DBAB80F9218C5001906DB = 721DBAB80F9218C5001906DB /* PBXTextBookmark */;
724C57980FC1B1AF000E4348 = 724C57980FC1B1AF000E4348 /* PBXTextBookmark */;
725412D31007CD1700925CFB = 725412D31007CD1700925CFB /* PBXTextBookmark */;
72541334100BA26300925CFB = 72541334100BA26300925CFB /* PBXTextBookmark */;
72B0EA900FBD175200D1D1FA = 72B0EA900FBD175200D1D1FA /* PBXTextBookmark */;
72B0EA930FBD175200D1D1FA = 72B0EA930FBD175200D1D1FA /* PBXTextBookmark */;
72C01AEE0F8E772800DE72D8 = 72C01AEE0F8E772800DE72D8 /* PBXTextBookmark */;
72C01CA20F8EBD0400DE72D8 = 72C01CA20F8EBD0400DE72D8 /* PBXTextBookmark */;
72D50DDD0F8EF90500BB49E6 = 72D50DDD0F8EF90500BB49E6 /* PBXTextBookmark */;
};
sourceControlManager = 72AFDC1D0F8AF05D0096A523 /* Source Control */;
userBuildSettings = {
};
};
08FB7796FE84155DC02AAC07 /* main.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {800, 32946}}";
sepNavSelRange = "{4800, 0}";
sepNavVisRange = "{4620, 1028}";
sepNavWindowFrame = "{{202, 118}, {857, 908}}";
};
};
721817A0109A684D00B6E7D0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 231";
rLen = 0;
rLoc = 4800;
rType = 0;
vrLen = 1028;
vrLoc = 4620;
};
721817A1109A685300B6E7D0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 231";
rLen = 0;
rLoc = 4800;
rType = 0;
vrLen = 990;
vrLoc = 4620;
};
721817A2109A766E00B6E7D0 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 231";
rLen = 0;
rLoc = 4800;
rType = 0;
vrLen = 1028;
vrLoc = 4620;
};
721DBA7F0F920C3D001906DB /* main.c:1691 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "main()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1691;
location = doomtool;
modificationTime = 268950856.78839;
state = 2;
};
721DBA820F920C96001906DB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01CA30F8EBD0400DE72D8 /* Image_files.cpp */;
name = "Image_files.cpp: 142";
rLen = 5268;
rLoc = 4644;
rType = 0;
vrLen = 706;
vrLoc = 9577;
};
721DBA840F920C96001906DB /* Common_printf.cpp */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.cpp.cpp;
name = Common_printf.cpp;
path = /Volumes/Untitled/alienbrainWork/Rage/code/framework/Common_printf.cpp;
sourceTree = "<absolute>";
};
721DBA890F920C96001906DB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 721DBA8A0F920C96001906DB /* Common_printf.cpp */;
name = "Common_printf.cpp: 81";
rLen = 14;
rLoc = 2665;
rType = 0;
vrLen = 901;
vrLoc = 2318;
};
721DBA8A0F920C96001906DB /* Common_printf.cpp */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.cpp.cpp;
name = Common_printf.cpp;
path = /Volumes/Untitled/alienbrainWork/Rage/code/framework/Common_printf.cpp;
sourceTree = "<absolute>";
};
721DBA9C0F920D42001906DB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 721DBA840F920C96001906DB /* Common_printf.cpp */;
name = "Common_printf.cpp: 215";
rLen = 45;
rLoc = 6185;
rType = 0;
vrLen = 885;
vrLoc = 5703;
};
721DBAB20F9218A8001906DB /* main.c:1429 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "FinishAtlas()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1429;
location = doomtool;
modificationTime = 268950856.78876;
state = 2;
};
721DBAB40F9218C5001906DB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 721DBAB50F9218C5001906DB /* BitBlockAllocator.cpp */;
name = "BitBlockAllocator.cpp: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 869;
vrLoc = 5194;
};
721DBAB50F9218C5001906DB /* BitBlockAllocator.cpp */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.cpp.cpp;
name = BitBlockAllocator.cpp;
path = /Volumes/Untitled/alienbrainWork/Rage/code/renderer/BitBlockAllocator.cpp;
sourceTree = "<absolute>";
};
721DBAB80F9218C5001906DB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 721DBAB90F9218C5001906DB /* BitBlockAllocator.cpp */;
name = "BitBlockAllocator.cpp: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 869;
vrLoc = 5194;
};
721DBAB90F9218C5001906DB /* BitBlockAllocator.cpp */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.cpp.cpp;
name = BitBlockAllocator.cpp;
path = /Volumes/Untitled/alienbrainWork/Rage/code/renderer/BitBlockAllocator.cpp;
sourceTree = "<absolute>";
};
721DBACC0F92DC12001906DB /* main.c:384 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "LoadBMP()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 384;
location = doomtool;
modificationTime = 268950856.7891361;
state = 2;
};
721DBADE0F92DDCE001906DB /* main.c:1433 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "FinishAtlas()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1433;
location = doomtool;
modificationTime = 268950856.7895089;
state = 2;
};
724C57980FC1B1AF000E4348 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01AB40F8CFCA900DE72D8 /* doomtool.h */;
name = "doomtool.h: 61";
rLen = 0;
rLoc = 1821;
rType = 0;
vrLen = 960;
vrLoc = 2425;
};
725412D31007CD1700925CFB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 231";
rLen = 0;
rLoc = 4800;
rType = 0;
vrLen = 1028;
vrLoc = 4620;
};
72541334100BA26300925CFB /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 231";
rLen = 0;
rLoc = 4800;
rType = 0;
vrLen = 1028;
vrLoc = 4620;
};
72AFDC180F8AF03E0096A523 /* doomtool */ = {
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 = doomtool;
savedGlobals = {
};
sourceDirectories = (
);
variableFormatDictionary = {
};
};
72AFDC1D0F8AF05D0096A523 /* Source Control */ = {
isa = PBXSourceControlManager;
fallbackIsa = XCSourceControlManager;
isSCMEnabled = 0;
scmConfiguration = {
};
};
72AFDC1E0F8AF05D0096A523 /* Code sense */ = {
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
72B0EA900FBD175200D1D1FA /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72B4A70A0FAB70B100DC59D9 /* base.parm */;
name = "base.parm: 2";
rLen = 0;
rLoc = 55;
rType = 0;
vrLen = 27;
vrLoc = 0;
};
72B0EA930FBD175200D1D1FA /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72B4A70A0FAB70B100DC59D9 /* base.parm */;
name = "base.parm: 2";
rLen = 0;
rLoc = 55;
rType = 0;
vrLen = 27;
vrLoc = 0;
};
72B0EAC70FBD18E200D1D1FA /* main.c:1577 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "WriteType()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1577;
location = doomtool;
modificationTime = 268950856.790318;
state = 2;
};
72B0EAD00FBD190000D1D1FA /* main.c:1588 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "WriteType()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1588;
location = doomtool;
modificationTime = 268950856.790709;
state = 2;
};
72B4A70A0FAB70B100DC59D9 /* base.parm */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {848, 822}}";
sepNavSelRange = "{55, 0}";
sepNavVisRange = "{0, 55}";
sepNavWindowFrame = "{{509, 37}, {907, 950}}";
};
};
72C01AB40F8CFCA900DE72D8 /* doomtool.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {908, 3040}}";
sepNavSelRange = "{1821, 0}";
sepNavVisRange = "{2425, 960}";
sepNavWindowFrame = "{{781, -387}, {857, 908}}";
};
};
72C01AB60F8E56DB00DE72D8 /* main.c:1715 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "main()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1715;
modificationTime = 268950856.785729;
state = 2;
};
72C01AEE0F8E772800DE72D8 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 08FB7796FE84155DC02AAC07 /* main.c */;
name = "main.c: 53";
rLen = 0;
rLoc = 1295;
rType = 0;
vrLen = 403;
vrLoc = 18328;
};
72C01B050F8E783400DE72D8 /* main.c:60 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddDirectoryToPak_r()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 60;
location = doomtool;
modificationTime = 268950856.7861239;
state = 2;
};
72C01B160F8E78D400DE72D8 /* main.c:60 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddDirectoryToPak_r()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 60;
location = doomtool;
modificationTime = 268950856.786502;
state = 2;
};
72C01B180F8E78D500DE72D8 /* main.c:60 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddDirectoryToPak_r()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 60;
location = doomtool;
modificationTime = 268950856.786876;
state = 2;
};
72C01C410F8EA48F00DE72D8 /* main.c:60 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddWAV()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 60;
location = doomtool;
modificationTime = 268950856.787272;
state = 2;
};
72C01CA20F8EBD0400DE72D8 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01CA30F8EBD0400DE72D8 /* Image_files.cpp */;
name = "Image_files.cpp: 72";
rLen = 2290;
rLoc = 2352;
rType = 0;
vrLen = 1236;
vrLoc = 2163;
};
72C01CA30F8EBD0400DE72D8 /* Image_files.cpp */ = {
isa = PBXFileReference;
lastKnownFileType = sourcecode.cpp.cpp;
name = Image_files.cpp;
path = /Volumes/Untitled/alienbrainWork/Rage/code/renderer/Image_files.cpp;
sourceTree = "<absolute>";
};
72C8D1C60F936A5A00C6F3E2 /* main.c:1516 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AtlasDirectory()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1516;
location = doomtool;
modificationTime = 268950856.789892;
state = 2;
};
72D50DDD0F8EF90500BB49E6 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 72C01AB40F8CFCA900DE72D8 /* doomtool.h */;
name = "doomtool.h: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 828;
vrLoc = 0;
};
72D50E490F8EFD6E00BB49E6 /* main.c:1279 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddRAW()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1279;
location = doomtool;
modificationTime = 268950856.787639;
state = 2;
};
72D50E660F8F021500BB49E6 /* main.c:1327 */ = {
isa = PBXFileBreakpoint;
actions = (
);
breakpointStyle = 0;
continueAfterActions = 0;
countType = 0;
delayBeforeContinue = 0;
fileReference = 08FB7796FE84155DC02AAC07 /* main.c */;
functionName = "AddDirectoryToPak_r()";
hitCount = 0;
ignoreCount = 0;
lineNumber = 1327;
location = doomtool;
modificationTime = 268950856.78801;
state = 2;
};
8DD76FA90486AB0100D96B5E /* doomtool */ = {
activeExec = 0;
executables = (
72AFDC180F8AF03E0096A523 /* doomtool */,
);
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,207 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 45;
objects = {
/* Begin PBXBuildFile section */
8DD76FAC0486AB0100D96B5E /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; };
8DD76FB00486AB0100D96B5E /* doomtool.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6A0FF2C0290799A04C91782 /* doomtool.1 */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
8DD76FAF0486AB0100D96B5E /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 8;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
8DD76FB00486AB0100D96B5E /* doomtool.1 in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
08FB7796FE84155DC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
72B4A70A0FAB70B100DC59D9 /* base.parm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = base.parm; path = ../../iphone/doom/base.parm; sourceTree = SOURCE_ROOT; };
72C01AB40F8CFCA900DE72D8 /* doomtool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = doomtool.h; sourceTree = "<group>"; };
8DD76FB20486AB0100D96B5E /* doomtool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = doomtool; sourceTree = BUILT_PRODUCTS_DIR; };
C6A0FF2C0290799A04C91782 /* doomtool.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = doomtool.1; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8DD76FAD0486AB0100D96B5E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
08FB7794FE84155DC02AAC07 /* doomtool */ = {
isa = PBXGroup;
children = (
72B4A70A0FAB70B100DC59D9 /* base.parm */,
08FB7795FE84155DC02AAC07 /* Source */,
C6A0FF2B0290797F04C91782 /* Documentation */,
1AB674ADFE9D54B511CA2CBB /* Products */,
);
name = doomtool;
sourceTree = "<group>";
};
08FB7795FE84155DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
72C01AB40F8CFCA900DE72D8 /* doomtool.h */,
08FB7796FE84155DC02AAC07 /* main.c */,
);
name = Source;
sourceTree = "<group>";
};
1AB674ADFE9D54B511CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8DD76FB20486AB0100D96B5E /* doomtool */,
);
name = Products;
sourceTree = "<group>";
};
C6A0FF2B0290797F04C91782 /* Documentation */ = {
isa = PBXGroup;
children = (
C6A0FF2C0290799A04C91782 /* doomtool.1 */,
);
name = Documentation;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
8DD76FA90486AB0100D96B5E /* doomtool */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1DEB928508733DD80010E9CD /* Build configuration list for PBXNativeTarget "doomtool" */;
buildPhases = (
8DD76FAB0486AB0100D96B5E /* Sources */,
8DD76FAD0486AB0100D96B5E /* Frameworks */,
8DD76FAF0486AB0100D96B5E /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = doomtool;
productInstallPath = "$(HOME)/bin";
productName = doomtool;
productReference = 8DD76FB20486AB0100D96B5E /* doomtool */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "doomtool" */;
compatibilityVersion = "Xcode 3.1";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* doomtool */;
projectDirPath = "";
projectRoot = "";
targets = (
8DD76FA90486AB0100D96B5E /* doomtool */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
8DD76FAB0486AB0100D96B5E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8DD76FAC0486AB0100D96B5E /* main.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
1DEB928608733DD80010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
INSTALL_PATH = /usr/local/bin;
PRODUCT_NAME = doomtool;
};
name = Debug;
};
1DEB928708733DD80010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;
INSTALL_PATH = /usr/local/bin;
PRODUCT_NAME = doomtool;
};
name = Release;
};
1DEB928A08733DD80010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
SDKROOT = macosx10.5;
};
name = Debug;
};
1DEB928B08733DD80010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = macosx10.5;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
1DEB928508733DD80010E9CD /* Build configuration list for PBXNativeTarget "doomtool" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1DEB928608733DD80010E9CD /* Debug */,
1DEB928708733DD80010E9CD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "doomtool" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1DEB928A08733DD80010E9CD /* Debug */,
1DEB928B08733DD80010E9CD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
}

1716
doomtool/main.c Normal file

File diff suppressed because it is too large Load Diff