#include <string.h>
#include <iostream>
#include "GL/glew.h"
#include "GlobalUtil.h"
#include <sys/time.h>
#include <stdio.h>
#include "LiteWindow.h"
Go to the source code of this file.
Defines | |
#define | CHAR1_TO_INT(x) ((x >= 'A' && x <= 'Z') ? x + 32 : x) |
#define | CHAR2_TO_INT(str, i) (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR1_TO_INT(str[i+1]) << 8) : 0) |
#define | CHAR3_TO_INT(str, i) (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR2_TO_INT(str, i + 1) << 8) : 0) |
#define | STRING_TO_INT(str) (CHAR1_TO_INT(str[0]) + (CHAR3_TO_INT(str, 1) << 8)) |
Functions | |
int | CreateLiteWindow (LiteWindow *window) |
#define CHAR2_TO_INT | ( | str, | |
i | |||
) | (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR1_TO_INT(str[i+1]) << 8) : 0) |
#define CHAR3_TO_INT | ( | str, | |
i | |||
) | (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR2_TO_INT(str, i + 1) << 8) : 0) |
#define STRING_TO_INT | ( | str | ) | (CHAR1_TO_INT(str[0]) + (CHAR3_TO_INT(str, 1) << 8)) |
int CreateLiteWindow | ( | LiteWindow * | window | ) |
Definition at line 462 of file GlobalUtil.cpp.