OpenMoHAA
0.82.0
Loading...
Searching...
No Matches
gt2Buffer.h
1
/*
2
GameSpy GT2 SDK
3
Dan "Mr. Pants" Schoenblum
4
dan@gamespy.com
5
6
Copyright 2002 GameSpy Industries, Inc
7
8
devsupport@gamespy.com
9
*/
10
11
#ifndef _GT2_BUFFER_H_
12
#define _GT2_BUFFER_H_
13
14
#include "gt2Main.h"
15
16
GT2Bool gti2AllocateBuffer(
GTI2Buffer
* buffer,
int
size);
17
18
int
gti2GetBufferFreeSpace(
const
GTI2Buffer
* buffer);
19
20
void
gti2BufferWriteByte(
GTI2Buffer
* buffer, GT2Byte b);
21
void
gti2BufferWriteUShort(
GTI2Buffer
* buffer,
unsigned
short
s);
22
void
gti2BufferWriteData(
GTI2Buffer
* buffer,
const
GT2Byte * data,
int
len);
23
24
// shortens the buffer by "shortenBy" (length, not size)
25
void
gti2BufferShorten(
GTI2Buffer
* buffer,
int
start,
int
shortenBy);
26
27
#endif
GTI2Buffer
Definition
gt2Main.h:140
code
gamespy
gt2
gt2Buffer.h
Generated by
1.13.2