Added GL cel shading

This commit is contained in:
Kevin Slaughter
2004-06-18 11:29:38 +00:00
parent b3f1d8f874
commit 4ea6d862f4
2 changed files with 9 additions and 5 deletions
+6 -5
View File
@@ -3434,11 +3434,12 @@ Line4=conf,TextureResolution
Line5=conf,TextureColor Line5=conf,TextureColor
Line6=conf,MovieColor Line6=conf,MovieColor
Line7=conf,SmoothLines Line7=conf,SmoothLines
Line8=conf,KeepTexturesInMemory Line8=conf,CelShadeModels
Line9=conf,RefreshRate Line9=conf,KeepTexturesInMemory
Line10=conf,WaitForVsync Line10=conf,RefreshRate
Line11=conf,ShowStats Line11=conf,WaitForVsync
Line12=conf,ShowBanners Line12=conf,ShowStats
Line13=conf,ShowBanners
[ScreenGameplayOptions] [ScreenGameplayOptions]
Fallback=ScreenOptionsSubmenu Fallback=ScreenOptionsSubmenu
@@ -356,6 +356,7 @@ MOVE( WaitForVsync, PREFSMAN->m_bVsync );
MOVE( ShowStats, PREFSMAN->m_bShowStats ); MOVE( ShowStats, PREFSMAN->m_bShowStats );
MOVE( ShowBanners, PREFSMAN->m_bShowBanners ); MOVE( ShowBanners, PREFSMAN->m_bShowBanners );
MOVE( KeepTexturesInMemory, PREFSMAN->m_bDelayedTextureDelete ); MOVE( KeepTexturesInMemory, PREFSMAN->m_bDelayedTextureDelete );
MOVE( CelShadeModels, PREFSMAN->m_bCelShadeModels );
MOVE( SmoothLines, PREFSMAN->m_bSmoothLines ); MOVE( SmoothLines, PREFSMAN->m_bSmoothLines );
static void DisplayResolution( int &sel, bool ToSel, const CStringArray &choices ) static void DisplayResolution( int &sel, bool ToSel, const CStringArray &choices )
@@ -484,6 +485,7 @@ static const ConfOption g_ConfOptions[] =
ConfOption( "Texture\nColor", TextureColor, "16BIT","32BIT" ), ConfOption( "Texture\nColor", TextureColor, "16BIT","32BIT" ),
ConfOption( "Movie\nColor", MovieColor, "16BIT","32BIT" ), ConfOption( "Movie\nColor", MovieColor, "16BIT","32BIT" ),
ConfOption( "Keep Textures\nIn Memory", KeepTexturesInMemory, "OFF","ON" ), ConfOption( "Keep Textures\nIn Memory", KeepTexturesInMemory, "OFF","ON" ),
ConfOption( "CelShade\nModels", CelShadeModels, "OFF","ON" ),
ConfOption( "SmoothLines", SmoothLines, "OFF","ON" ), ConfOption( "SmoothLines", SmoothLines, "OFF","ON" ),
ConfOption( "Refresh\nRate", RefreshRate, "DEFAULT","60","70","72","75","80","85","90","100","120","150" ), ConfOption( "Refresh\nRate", RefreshRate, "DEFAULT","60","70","72","75","80","85","90","100","120","150" ),
ConfOption( "Wait For\nVsync", WaitForVsync, "NO", "YES" ), ConfOption( "Wait For\nVsync", WaitForVsync, "NO", "YES" ),
@@ -511,6 +513,7 @@ int ConfOption::GetEffects() const
{ DisplayColor, OPT_APPLY_GRAPHICS }, { DisplayColor, OPT_APPLY_GRAPHICS },
{ TextureResolution, OPT_APPLY_GRAPHICS }, { TextureResolution, OPT_APPLY_GRAPHICS },
{ KeepTexturesInMemory, OPT_APPLY_GRAPHICS }, { KeepTexturesInMemory, OPT_APPLY_GRAPHICS },
{ CelShadeModels, OPT_APPLY_GRAPHICS },
{ SmoothLines, OPT_APPLY_GRAPHICS }, { SmoothLines, OPT_APPLY_GRAPHICS },
{ RefreshRate, OPT_APPLY_GRAPHICS }, { RefreshRate, OPT_APPLY_GRAPHICS },
{ WaitForVsync, OPT_APPLY_GRAPHICS }, { WaitForVsync, OPT_APPLY_GRAPHICS },