@@ -527,6 +527,7 @@ cmdline_parm deprecated_sndpreload_arg("-snd_preload", "Deprecated", AT_NONE);
527527cmdline_parm deprecated_missile_lighting_arg (" -missile_lighting" , " Deprecated" , AT_NONE);
528528cmdline_parm deprecated_cache_bitmaps_arg (" -cache_bitmaps" , " Deprecated" , AT_NONE);
529529cmdline_parm deprecated_no_emissive_arg (" -no_emissive_light" , " Deprecated" , AT_NONE);
530+ cmdline_parm deprecated_postprocess_arg (" -post_process" , " Deprecated" , AT_NONE);
530531
531532int Cmdline_deprecated_spec = 0 ;
532533int Cmdline_deprecated_glow = 0 ;
@@ -538,6 +539,7 @@ int Cmdline_deprecated_nohtl = 0;
538539bool Cmdline_deprecated_brief_lighting = 0 ;
539540bool Cmdline_deprecated_missile_lighting = false ;
540541bool Cmdline_deprecated_cache_bitmaps = false ;
542+ bool Cmdline_deprecated_postprocess = false ;
541543
542544#ifndef NDEBUG
543545// NOTE: this assumes that os_init() has already been called but isn't a fatal error if it hasn't
@@ -612,6 +614,10 @@ void cmdline_debug_print_cmdline()
612614 if (Cmdline_deprecated_cache_bitmaps) {
613615 mprintf ((" Deprecated flag '-cache_bitmaps' found. Please remove from your cmdline.\n " ));
614616 }
617+
618+ if (Cmdline_deprecated_postprocess) {
619+ mprintf ((" Deprecated flag '-post_process' found. Please remove from your cmdline.\n " ));
620+ }
615621}
616622#endif
617623
@@ -2185,6 +2191,10 @@ bool SetCmdlineParams()
21852191 if (deprecated_no_emissive_arg.found ()) {
21862192 Cmdline_emissive = 0 ;
21872193 }
2194+
2195+ if (deprecated_postprocess_arg.found ()) {
2196+ Cmdline_deprecated_postprocess = true ;
2197+ }
21882198
21892199 return true ;
21902200}
0 commit comments