projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
129d7d8
)
added graphics configuration option for graphics engine version
author
Holger Schemel
<info@artsoft.org>
Wed, 14 Oct 2015 19:38:35 +0000
(21:38 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 14 Oct 2015 19:38:35 +0000
(21:38 +0200)
src/conf_gfx.c
patch
|
blob
|
history
src/game.h
patch
|
blob
|
history
diff --git
a/src/conf_gfx.c
b/src/conf_gfx.c
index 589d89df3df3a546578a3fa487563e82ccc1afcf..15a3b244e9d6e0e016eb6e8e9d931872fac8609a 100644
(file)
--- a/
src/conf_gfx.c
+++ b/
src/conf_gfx.c
@@
-7692,6
+7692,7
@@
struct ConfigInfo image_config[] =
{ "global.use_envelope_request", "false" },
+ { "game.graphics_engine_version", "-1" },
{ "game.forced_scroll_delay_value", "-1" },
{ "game.use_native_emc_graphics_engine", "false" },
{ "game.use_native_sp_graphics_engine", "true" },
diff --git
a/src/game.h
b/src/game.h
index b801932c3f9df35338c2519a69d7d7a4af54a889..9fda50e30c12f932de8ecfb879048d4c59f31f91 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-128,6
+128,7
@@
struct GameInfo
struct GameButtonInfo button;
/* values for graphics engine customization */
+ int graphics_engine_version;
boolean use_native_emc_graphics_engine;
boolean use_native_sp_graphics_engine;
boolean use_masked_pushing;