Skip to content

Commit

Permalink
- Corrected default video resolution
Browse files Browse the repository at this point in the history
- More tweaks to default video settings
  • Loading branch information
q3shafe committed Dec 25, 2017
1 parent ec1b46e commit 5e218ea
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions Docs/CHANGELOG.TXT
Expand Up @@ -29,6 +29,10 @@ SUMMARY OF THE NEW AND NOTABLE:
==================================================
Detailed Changelog - Most Recent Changes First
==================================================
- More tweaks to default video settings

- Corrected default video resolution

- New Map Trep_War_Ring_2

- ctf_pyramide2 has been revised and improved.
Expand Down
Binary file modified game-media/pak0-vms/vm/qagame.qvm
Binary file not shown.
4 changes: 2 additions & 2 deletions trep-engine/code/client/snd_codec.c
Expand Up @@ -108,9 +108,9 @@ void S_CodecInit()
#ifdef USE_CODEC_VORBIS
S_CodecRegister(&ogg_codec);
#endif
//#if USE_CODEC_MP3
#if USE_CODEC_MP3
S_CodecRegister(&mp3_codec);
//#endif
#endif
}

/*
Expand Down
4 changes: 2 additions & 2 deletions trep-engine/code/client/snd_codec.h
Expand Up @@ -96,12 +96,12 @@ int S_OGG_CodecReadStream(snd_stream_t *stream, int bytes, void *buffer);
#endif // USE_CODEC_VORBIS

// MP3 codec
//#ifdef USE_CODEC_MP3
#ifdef USE_CODEC_MP3
extern snd_codec_t mp3_codec;
void *S_MP3_CodecLoad(const char *filename, snd_info_t *info);
snd_stream_t *S_MP3_CodecOpenStream(const char *filename);
void S_MP3_CodecCloseStream(snd_stream_t *stream);
int S_MP3_CodecReadStream(snd_stream_t *stream, int bytes, void *buffer);
//#endif // USE_CODEC_MP3
#endif // USE_CODEC_MP3

#endif // !_SND_CODEC_H_
10 changes: 5 additions & 5 deletions trep-engine/code/renderer/tr_init.c
Expand Up @@ -890,8 +890,8 @@ void R_Register( void )
r_ext_texture_env_add = ri.Cvar_Get( "r_ext_texture_env_add", "1", CVAR_ARCHIVE | CVAR_LATCH);

r_ext_texture_filter_anisotropic = ri.Cvar_Get( "r_ext_texture_filter_anisotropic",
"4", CVAR_ARCHIVE | CVAR_LATCH );
r_ext_max_anisotropy = ri.Cvar_Get( "r_ext_max_anisotropy", "2", CVAR_ARCHIVE | CVAR_LATCH );
"1", CVAR_ARCHIVE | CVAR_LATCH );
r_ext_max_anisotropy = ri.Cvar_Get( "r_ext_max_anisotropy", "4", CVAR_ARCHIVE | CVAR_LATCH );

r_picmip = ri.Cvar_Get ("r_picmip", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_roundImagesDown = ri.Cvar_Get ("r_roundImagesDown", "1", CVAR_ARCHIVE | CVAR_LATCH );
Expand All @@ -906,11 +906,11 @@ void R_Register( void )
ri.Cvar_CheckRange( r_ext_multisample, 0, 4, qtrue );
r_overBrightBits = ri.Cvar_Get ("r_overBrightBits", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_ignorehwgamma = ri.Cvar_Get( "r_ignorehwgamma", "0", CVAR_ARCHIVE | CVAR_LATCH);
r_mode = ri.Cvar_Get( "r_mode", "3", CVAR_ARCHIVE | CVAR_LATCH );
r_mode = ri.Cvar_Get( "r_mode", "-1", CVAR_ARCHIVE | CVAR_LATCH );
r_fullscreen = ri.Cvar_Get( "r_fullscreen", "1", CVAR_ARCHIVE );
r_noborder = Cvar_Get("r_noborder", "0", CVAR_ARCHIVE);
r_customwidth = ri.Cvar_Get( "r_customwidth", "1600", CVAR_ARCHIVE | CVAR_LATCH );
r_customheight = ri.Cvar_Get( "r_customheight", "1024", CVAR_ARCHIVE | CVAR_LATCH );
r_customwidth = ri.Cvar_Get( "r_customwidth", "1024", CVAR_ARCHIVE | CVAR_LATCH );
r_customheight = ri.Cvar_Get( "r_customheight", "768", CVAR_ARCHIVE | CVAR_LATCH );
r_customPixelAspect = ri.Cvar_Get( "r_customPixelAspect", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_simpleMipMaps = ri.Cvar_Get( "r_simpleMipMaps", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH );
Expand Down

0 comments on commit 5e218ea

Please sign in to comment.