From 59572046a07c5cb2dcfab57b64dcbf583367aa7b Mon Sep 17 00:00:00 2001 From: Cong Date: Tue, 16 Jul 2013 23:16:01 +1000 Subject: [PATCH] Update readme with command line options Set version to 0.4.5 --- README.md | 29 ++++++++++++++--------------- README.md.cmake | 25 ++++++++++++------------- src/CMakeLists.txt | 6 +++--- src/cdogs/sys_config.h | 2 +- 4 files changed, 30 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index b2087a994..28bd7a64d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -C-Dogs SDL Port v0.4.4 +C-Dogs SDL Port v0.4.5 ======================== (based on C-Dogs 1.06) @@ -14,7 +14,7 @@ C-Dogs SDL Port v0.4.4 | | '-------' '---' '----''----' / '.___________ | | SDL - `---------------' v0.4.4 + `---------------' v0.4.5 1. Introduction 2. Tested Environments @@ -69,33 +69,32 @@ The C-Dogs binary is called "cdogs-sdl". Below are some command line arguments: ### Video Options - -fullscreen Try and use a fullscreen video mode. - -scale=n Scale the window resolution up by a factor of n - Factors: 2, 3, 4 - -screen=WxH Set virtual screen width to W x H - Modes: 320x200, 320x240, 400x300, 640x480, 800x600 - -forcemode Don't check video mode sanity + --fullscreen Try and use a fullscreen video mode. + --scale=n Scale the window resolution up by a factor of n + Factors: 2, 3, 4 + --screen=WxH Set virtual screen width to W x H + Modes: 320x200, 320x240, 400x300, 640x480, 800x600 + --forcemode Don't check video mode sanity ### Sound Options - -nosound Disable sound + --nosound Disable sound ### Control Options - -nojoystick Disable joystick(s) + --nojoystick Disable joystick(s) ### Game Options - -savecampaigns Save builtin campaigns as in the current directory. - -wait Wait for a key hit before initialising video. - -shakemult=n Screen shaking multiplier (0 = disable). + --wait Wait for a key hit before initialising video. + --shakemult=n Screen shaking multiplier (0 = disable). - -help Display command line options and version information. + --help Display command line options and version information. These can be used in any order/combination: ```bash -$ cdogs-sdl -fullscreen -screen=400x300 +$ cdogs-sdl --fullscreen --screen=400x300 ``` Which will make the game try to run fullscreen at 400x300 resolution. diff --git a/README.md.cmake b/README.md.cmake index 49a1c7770..fb23046fa 100644 --- a/README.md.cmake +++ b/README.md.cmake @@ -69,33 +69,32 @@ The C-Dogs binary is called "cdogs-sdl". Below are some command line arguments: ### Video Options - -fullscreen Try and use a fullscreen video mode. - -scale=n Scale the window resolution up by a factor of n - Factors: 2, 3, 4 - -screen=WxH Set virtual screen width to W x H - Modes: 320x200, 320x240, 400x300, 640x480, 800x600 - -forcemode Don't check video mode sanity + --fullscreen Try and use a fullscreen video mode. + --scale=n Scale the window resolution up by a factor of n + Factors: 2, 3, 4 + --screen=WxH Set virtual screen width to W x H + Modes: 320x200, 320x240, 400x300, 640x480, 800x600 + --forcemode Don't check video mode sanity ### Sound Options - -nosound Disable sound + --nosound Disable sound ### Control Options - -nojoystick Disable joystick(s) + --nojoystick Disable joystick(s) ### Game Options - -savecampaigns Save builtin campaigns as in the current directory. - -wait Wait for a key hit before initialising video. - -shakemult=n Screen shaking multiplier (0 = disable). + --wait Wait for a key hit before initialising video. + --shakemult=n Screen shaking multiplier (0 = disable). - -help Display command line options and version information. + --help Display command line options and version information. These can be used in any order/combination: ```bash -$ cdogs-sdl -fullscreen -screen=400x300 +$ cdogs-sdl --fullscreen --screen=400x300 ``` Which will make the game try to run fullscreen at 400x300 resolution. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 92f052524..1a537bf29 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 2.8) project(cdogs-sdl C) -SET(VERSION "0.4.4") -SET(VERSION_RC "0,4,4,0") # this must be 4 numbers +SET(VERSION "0.4.5") +SET(VERSION_RC "0,4,5,0") # this must be 4 numbers SET(VERSION_MAJOR "0") SET(VERSION_MINOR "4") -SET(VERSION_PATCH "4") +SET(VERSION_PATCH "5") SET(WEBSITE "http://cxong.github.io/cdogs-sdl/") set(DEBUG 0) #set to 1 to enable debug build diff --git a/src/cdogs/sys_config.h b/src/cdogs/sys_config.h index 87d5a95d7..cf3a12454 100644 --- a/src/cdogs/sys_config.h +++ b/src/cdogs/sys_config.h @@ -29,7 +29,7 @@ #ifndef __SYS_CONFIG #define __SYS_CONFIG -#define CDOGS_SDL_VERSION "v0.4.4" +#define CDOGS_SDL_VERSION "v0.4.5" /* where to look for the cdogs data files */ #define CDOGS_DATA_DIR ""