#include "precomp.h"
Go to the source code of this file.
◆ Fix_ControlKeyState()
DWORD Fix_ControlKeyState |
( |
char * |
Next_Token | ) |
|
Definition at line 145 of file tmapldr.cpp.
145 {
155
156
158
160
162
164
165 return 0;
166}
#define stricmp(_String1, _String2)
#define LEFT_CTRL_PRESSED
#define RIGHT_CTRL_PRESSED
#define RIGHT_ALT_PRESSED
Referenced by TMapLoader::ParseKeyDef().
◆ Fix_Tok()
Definition at line 171 of file tmapldr.cpp.
171 {
174
175
177
180 for ( ; tok[
i] != 0; ) {
182 case '\\' :
183 switch ( tok[
i+1] ) {
184 case '\\':
187 break;
188 default:
192 else {
195 } ;
196 break;
197 };
198 break;
199 case '^' :
200 if ( tok[
i+1] >=
'@' ) {
201 s[
j++] = tok[
i+1] -
'@';
203 break;
204 }
205 default :
207 }
208 }
209 }
211};
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Referenced by TMapLoader::ParseKeyDef().
◆ getbyte()
Definition at line 115 of file tmapldr.cpp.
115 {
116 unsigned char retval = 0;
118 int readed = 0;
119
120 if ( (*
str ==
'x') || (*
str ==
'X') ) {
122 readed++;
123 };
124
125 while (readed != 3 &&
str[readed]) {
128 retval = retval*
base + (ch -
'0');
129 }
else if (
base == 16 && ch >=
'A' && ch <=
'F') {
130 retval = retval*
base + (ch-
'A'+10);
131 } else {
132 return -1;
133 };
134 readed++;
135 };
136
137
138
139
140 return retval;
141};
◆ getline() [1/2]
Definition at line 42 of file tmapldr.cpp.
42 {
43
45
46 while (1) {
50
54 };
56
57
62 };
63
65
66
67 if ((
buf[0]==0)||(
buf[0]==
';'))
continue;
68
71 {
74
78 };
79 }
80
81 if (
buf[0] == 0)
continue;
82
83 break;
84 };
86};
ACPI_SIZE strlen(const char *String)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define memmove(s1, s2, n)
◆ getline() [2/2]
Definition at line 90 of file tmapldr.cpp.
90 {
91
92 if ( !
str.length() )
return 0;
97 else
99
101
104
105#ifndef __BORLANDC__
107#else
109#endif
110 return 1;
111};
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
char * strchr(const char *String, int ch)
◆ getLongComment()
Definition at line 436 of file tmapldr.cpp.
436 {
437
438 int bufLen;
439 while ( is ) {
440 wbuf[0] = 0;
442 if ( wbuf[0]==0 ) return 1;
444 if ( wbuf[0] == '[' && wbuf[bufLen-1] == ']' ) {
445 string temps(wbuf);
446
448
450 return 0;
451 };
452 if (
stricmp(temps.c_str(),
"[comment]") == 0 ) {
453
455 continue;
456 };
457 if (
stricmp(temps.c_str(),
"[end comment]") == 0 )
return 1;
458 };
459 };
460
461 return 0;
462};
int getLongComment(istream &is, char *wbuf, size_t sz)
int normalizeSplitter(string &buf)
int printm(LPTSTR szModule, BOOL fSystem, DWORD dwMessageId,...)
Referenced by getLongComment(), and TMapLoader::Load().
◆ normalizeSplitter()