X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=eff5452583bbe16db554dbe8c49e7ab8707930de;hb=9fa601d400aa71f38fcdc19eaf107f42e0d2a2a3;hp=bb78fbe9453b442d666aa8b603b060f6ca327932;hpb=7b3e068e43bcfeb38ce390d5d1c3b1a13c81cb55;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index bb78fbe9..eff54525 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -136,6 +136,10 @@ (b) <= MB_WHEEL_DOWN) #define DEFAULT_WHEEL_STEPS 3 +#define BUTTON_STEPSIZE(b) ((b) == MB_LEFTBUTTON ? 1 : \ + (b) == MB_MIDDLEBUTTON ? 5 : \ + (b) == MB_RIGHTBUTTON ? 10 : 1) + /* values for move directions */ #define MV_BIT_LEFT 0 #define MV_BIT_RIGHT 1 @@ -439,6 +443,9 @@ #define ERROR_BASENAME "stderr.txt" +#define STRING_PARENT_DIRECTORY ".." +#define STRING_TOP_DIRECTORY "/" + #define CHAR_PATH_SEPARATOR_UNIX '/' #define CHAR_PATH_SEPARATOR_DOS '\\' @@ -729,6 +736,8 @@ struct VideoSystemInfo boolean window_scaling_available; int window_scaling_percent; char *window_scaling_quality; + + boolean initialized; }; struct AudioSystemInfo @@ -939,6 +948,7 @@ struct SetupInfo boolean toons; boolean scroll_delay; boolean scroll_delay_value; + char *engine_snapshot_mode; boolean soft_scrolling; boolean fade_screens; boolean autorecord;