Skip to content

Commit

Permalink
Update readme with command line options
Browse files Browse the repository at this point in the history
Set version to 0.4.5
  • Loading branch information
cxong committed Jul 16, 2013
1 parent 1166c8e commit 5957204
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 32 deletions.
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

C-Dogs SDL Port v0.4.4
C-Dogs SDL Port v0.4.5
========================

(based on C-Dogs 1.06)
Expand All @@ -14,7 +14,7 @@ C-Dogs SDL Port v0.4.4
| | '-------' '---' '----''----'
/ '.___________
| | SDL
`---------------' v0.4.4
`---------------' v0.4.5

1. Introduction
2. Tested Environments
Expand Down Expand Up @@ -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.
Expand Down
25 changes: 12 additions & 13 deletions README.md.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cdogs/sys_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 5957204

Please sign in to comment.