-
Notifications
You must be signed in to change notification settings - Fork 0
/
UKTileset.h
42 lines (38 loc) · 1.06 KB
/
UKTileset.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// UKTileset.h
// tester
//
// Created by Ian Goegebuer on Sat May 26 2007.
// Copyright (c) 2007 __MyCompanyName__. All rights reserved.
//
#define __COREGRAPHICS__
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import <AppKit/NSBitmapImageRep.h>
#import <AppKit/AppKit.h>
//#include <ApplicationServices/Frameworks/CoreGraphics/CoreGraphics.h>
#import <ApplicationServices/ApplicationServices.h>
//@class NSArray, NSColor, NSImageRep, NSPasteboard, NSURL;
@interface UKTileset : NSObject
{
//NSArray *colorArray;
//NSArray *tileArray;
//NSArray *cv5Array;
NSString *type;
NSImage *tiles;
NSImage *tiles2;
unsigned char *microTiles;
unsigned char *cv5;
int tileCount;
}
- (NSImage *) makePallet;
- (unsigned char *)getCV5;
-(void)setType:(NSString *)typee;
-(unsigned char *)parseCV5:(NSData *)tilData3;
//-(unsigned char *)parseCV5B:(NSData *)tilData3;
-(BOOL)parseMicrotiles:(NSData *)palData data:(NSData *)theData;
- (NSImage *)getTiles;
- (NSImage *)getTiles2;
-(NSImage *)parseTiles:(NSData *)tileData;
-(NSImage *)parseTiles2:(NSData *)tileData;
@end