[Change] Lowered the velocity of the rumble.

This commit is contained in:
Allanis 2014-05-17 11:44:46 +01:00
parent dc0ecd40ae
commit a2fd2e866a
2 changed files with 5 additions and 2 deletions

View File

@ -227,12 +227,15 @@ static int ship_parse(Ship* tmp, xmlNodePtr parent) {
xmlNodePtr cur, node; xmlNodePtr cur, node;
ShipOutfit* otmp, *ocur; ShipOutfit* otmp, *ocur;
char str[PATH_MAX] = "\0"; char str[PATH_MAX];
char* stmp; char* stmp;
/* Clear memory. */ /* Clear memory. */
memset(tmp, 0, sizeof(Ship)); memset(tmp, 0, sizeof(Ship));
/* Defaults. */
str[0] = '\0';
/* Get name. */ /* Get name. */
xmlr_attr(parent, "name", tmp->name); xmlr_attr(parent, "name", tmp->name);
if(tmp->name == NULL) if(tmp->name == NULL)

View File

@ -17,7 +17,7 @@
#define SPFX_GFX "../gfx/spfx/" /**< Graphics location. */ #define SPFX_GFX "../gfx/spfx/" /**< Graphics location. */
#define SPFX_CHUNK 32 /**< Chunk to allocate when needed. */ #define SPFX_CHUNK 32 /**< Chunk to allocate when needed. */
#define SHAKE_VEL_MOD 0.0012 /**< Shake modifier. */ #define SHAKE_VEL_MOD 0.0006 /**< Shake modifier. */
#define SHAKE_MOD_FACTOR 0.2 /**< Shake modifier factor. */ #define SHAKE_MOD_FACTOR 0.2 /**< Shake modifier factor. */
/* Special hardcoded effects.. */ /* Special hardcoded effects.. */