Back to index

supertuxkart  0.5+dfsg1
Variables
widget.cpp File Reference
#include "widget.hpp"
#include "user_config.hpp"
#include "constants.hpp"
#include "track_manager.hpp"
#include "material_manager.hpp"
#include "track.hpp"
#include <cmath>
#include <iostream>

Go to the source code of this file.

Variables

const GLfloat WGT_WHITE [4] = { 1.0f, 1.0f, 1.0f, 1.0f }
const GLfloat WGT_GRAY [4] = { 0.5f, 0.5f, 0.5f, 1.0f }
const GLfloat WGT_BLACK [4] = { 0.0f, 0.0f, 0.0f, 1.0f }
const GLfloat WGT_YELLOW [4] = { 1.0f, 1.0f, 0.0f, 1.0f }
const GLfloat WGT_RED [4] = { 1.0f, 0.0f, 0.0f, 1.0f }
const GLfloat WGT_GREEN [4] = { 0.0f, 1.0f, 0.0f, 1.0f }
const GLfloat WGT_BLUE [4] = { 0.0f, 0.0f, 1.0f, 1.0f }
const GLfloat WGT_TRANS_WHITE [4] = { 1.0f, 1.0f, 1.0f, 0.5f }
const GLfloat WGT_TRANS_GRAY [4] = { 0.5f, 0.5f, 0.5f, 0.5f }
const GLfloat WGT_TRANS_BLACK [4] = { 0.0f, 0.0f, 0.0f, 0.5f }
const GLfloat WGT_TRANS_YELLOW [4] = { 1.0f, 1.0f, 0.0f, 0.5f }
const GLfloat WGT_TRANS_RED [4] = { 1.0f, 0.0f, 0.0f, 0.5f }
const GLfloat WGT_TRANS_GREEN [4] = { 0.0f, 1.0f, 0.0f, 0.5f }
const GLfloat WGT_TRANS_BLUE [4] = { 0.0f, 0.0f, 1.0f, 0.5f }
const GLfloat WGT_LIGHT_GRAY [4] = {1.0f, 1.0f, 1.0f, 1.0f}
const GLfloat WGT_LIGHT_BLACK [4] = {0.5f, 0.5f, 0.5f, 1.0f}
const GLfloat WGT_LIGHT_YELLOW [4] = {1.0f, 1.0f, 0.5f, 1.0f}
const GLfloat WGT_LIGHT_RED [4] = {1.0f, 0.5f, 0.5f, 1.0f}
const GLfloat WGT_LIGHT_GREEN [4] = {0.5f, 1.0f, 0.5f, 1.0f}
const GLfloat WGT_LIGHT_BLUE [4] = {0.5f, 0.5f, 1.0f, 1.0f}
const GLfloat WGT_LIGHT_TRANS_GRAY [4] = {1.0f, 1.0f, 1.0f, 0.8f}
const GLfloat WGT_LIGHT_TRANS_BLACK [4] = {0.5f, 0.5f, 0.5f, 0.8f}
const GLfloat WGT_LIGHT_TRANS_YELLOW [4] = {1.0f, 1.0f, 0.5f, 0.8f}
const GLfloat WGT_LIGHT_TRANS_RED [4] = {1.0f, 0.5f, 0.5f, 0.8f}
const GLfloat WGT_LIGHT_TRANS_GREEN [4] = {0.5f, 1.0f, 0.5f, 0.8f}
const GLfloat WGT_LIGHT_TRANS_BLUE [4] = {0.5f, 0.5f, 1.0f, 0.8f}
const GLfloat WGT_TRANSPARENT [4] = {1.0f, 1.0f, 1.0f, 0.0f}

Variable Documentation

const GLfloat WGT_BLACK[4] = { 0.0f, 0.0f, 0.0f, 1.0f }

Definition at line 39 of file widget.cpp.

const GLfloat WGT_BLUE[4] = { 0.0f, 0.0f, 1.0f, 1.0f }

Definition at line 43 of file widget.cpp.

const GLfloat WGT_GRAY[4] = { 0.5f, 0.5f, 0.5f, 1.0f }

Definition at line 38 of file widget.cpp.

const GLfloat WGT_GREEN[4] = { 0.0f, 1.0f, 0.0f, 1.0f }

Definition at line 42 of file widget.cpp.

const GLfloat WGT_LIGHT_BLACK[4] = {0.5f, 0.5f, 0.5f, 1.0f}

Definition at line 54 of file widget.cpp.

const GLfloat WGT_LIGHT_BLUE[4] = {0.5f, 0.5f, 1.0f, 1.0f}

Definition at line 58 of file widget.cpp.

const GLfloat WGT_LIGHT_GRAY[4] = {1.0f, 1.0f, 1.0f, 1.0f}

Definition at line 53 of file widget.cpp.

const GLfloat WGT_LIGHT_GREEN[4] = {0.5f, 1.0f, 0.5f, 1.0f}

Definition at line 57 of file widget.cpp.

const GLfloat WGT_LIGHT_RED[4] = {1.0f, 0.5f, 0.5f, 1.0f}

Definition at line 56 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_BLACK[4] = {0.5f, 0.5f, 0.5f, 0.8f}

Definition at line 60 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_BLUE[4] = {0.5f, 0.5f, 1.0f, 0.8f}

Definition at line 64 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_GRAY[4] = {1.0f, 1.0f, 1.0f, 0.8f}

Definition at line 59 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_GREEN[4] = {0.5f, 1.0f, 0.5f, 0.8f}

Definition at line 63 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_RED[4] = {1.0f, 0.5f, 0.5f, 0.8f}

Definition at line 62 of file widget.cpp.

const GLfloat WGT_LIGHT_TRANS_YELLOW[4] = {1.0f, 1.0f, 0.5f, 0.8f}

Definition at line 61 of file widget.cpp.

const GLfloat WGT_LIGHT_YELLOW[4] = {1.0f, 1.0f, 0.5f, 1.0f}

Definition at line 55 of file widget.cpp.

const GLfloat WGT_RED[4] = { 1.0f, 0.0f, 0.0f, 1.0f }

Definition at line 41 of file widget.cpp.

const GLfloat WGT_TRANS_BLACK[4] = { 0.0f, 0.0f, 0.0f, 0.5f }

Definition at line 46 of file widget.cpp.

const GLfloat WGT_TRANS_BLUE[4] = { 0.0f, 0.0f, 1.0f, 0.5f }

Definition at line 50 of file widget.cpp.

const GLfloat WGT_TRANS_GRAY[4] = { 0.5f, 0.5f, 0.5f, 0.5f }

Definition at line 45 of file widget.cpp.

const GLfloat WGT_TRANS_GREEN[4] = { 0.0f, 1.0f, 0.0f, 0.5f }

Definition at line 49 of file widget.cpp.

const GLfloat WGT_TRANS_RED[4] = { 1.0f, 0.0f, 0.0f, 0.5f }

Definition at line 48 of file widget.cpp.

const GLfloat WGT_TRANS_WHITE[4] = { 1.0f, 1.0f, 1.0f, 0.5f }

Definition at line 44 of file widget.cpp.

const GLfloat WGT_TRANS_YELLOW[4] = { 1.0f, 1.0f, 0.0f, 0.5f }

Definition at line 47 of file widget.cpp.

const GLfloat WGT_TRANSPARENT[4] = {1.0f, 1.0f, 1.0f, 0.0f}

Definition at line 66 of file widget.cpp.

const GLfloat WGT_WHITE[4] = { 1.0f, 1.0f, 1.0f, 1.0f }

Definition at line 37 of file widget.cpp.

const GLfloat WGT_YELLOW[4] = { 1.0f, 1.0f, 0.0f, 1.0f }

Definition at line 40 of file widget.cpp.