mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-05 20:41:06 +00:00
27b279a1ce
It needs to have the sound quality box removed and the Game directory box added, possibly among other things. git-svn-id: https://svn.eduke32.com/eduke32@2396 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
|