From: Alexander Monakov Date: Mon, 3 Jan 2011 20:06:23 +0000 (+0300) Subject: Migrate some more definitions from Constants.h X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=a9d508464233ffba2d745ac7296911302c2c8297 Migrate some more definitions from Constants.h --- diff --git a/Source/Constants.h b/Source/Constants.h index 1b1cd9b..8e9e4cd 100644 --- a/Source/Constants.h +++ b/Source/Constants.h @@ -48,12 +48,5 @@ const int max_dialoguelength = 20; const int max_model_vertex = 3000; // maximum number of vertexs const int max_textured_triangle = 3000; // maximum number of texture-filled triangles in a model -const int normalmode = 0; -const int motionblurmode = 1; -const int radialzoommode = 2; -const int realmotionblurmode = 3; -const int doublevisionmode = 4; -const int glowmode = 5; - const int maxplayers = 10; #endif diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index d5ba862..2b2c8b7 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -132,6 +132,11 @@ extern bool gamestarted; extern bool showdamagebar; +enum drawmodes { + normalmode, motionblurmode, radialzoommode, + realmotionblurmode, doublevisionmode, glowmode, +}; + void Game::flash() { // shouldn't be that way, these should be attributes and Person class should not change rendering. flashr=1; flashg=0;