mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-05 12:30:42 +00:00
95dd57154e
* Renamed source/jaudiolib/third-party/mingw32 to source/jaudiolib/third-party/Windows. * Moved source/jaudiolib/third-party/Windows/include to source/jaudiolib/third-party/common/include to use both on Windows and Apple. * Deleted Apple/lib/include/{ogg,vorbis}/, see previous point. * Deleted Apple/lib/libvorbisenc.a, 6MB saved. * Moved Apple/lib/lib{ogg,vorbis,vorbisfile}.a to source/jaudiolib/third-party/Apple/lib, where they belong. * Moved source files in Apple/ to source/, where they belong. (SDLMain.[mh] stay.) * Deleted source/jaudiolib/third-party/{ogg,vorbis}.framework, not used any more. * Renamed "StartupWinController*" to "startosx*". git-svn-id: https://svn.eduke32.com/eduke32@3334 1a8010ca-5511-0410-912e-c29ae57300e0
40 lines
679 B
Objective-C
40 lines
679 B
Objective-C
/*
|
|
* GrpFile.game.m
|
|
* duke3d
|
|
*
|
|
* Created by Jonathon Fowler on 24/07/09.
|
|
* Copyright 2009 __MyCompanyName__. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#include "GrpFile.game.h"
|
|
|
|
@implementation GrpFile
|
|
- (id)initWithGrpfile:(struct grpfile *)grpfile andName:(NSString*)aName
|
|
{
|
|
self = [super init];
|
|
if (self) {
|
|
fg = grpfile;
|
|
name = aName;
|
|
[aName retain];
|
|
}
|
|
return self;
|
|
}
|
|
- (void)dealloc
|
|
{
|
|
[name release];
|
|
[super dealloc];
|
|
}
|
|
- (NSString *)name
|
|
{
|
|
return name;
|
|
}
|
|
- (NSString *)grpname
|
|
{
|
|
return [NSString stringWithCString:(fg->name)];
|
|
}
|
|
- (struct grpfile *)entryptr
|
|
{
|
|
return fg;
|
|
}
|
|
@end
|