Skip to content

Commit

Permalink
Add an option to actually play those annoying videos
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowyMouse committed May 15, 2020
1 parent 58e4a20 commit da335a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions chimera.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
;server_port=2302
;client_port=0

; Enable the intro videos. This is normally disabled by default as it makes
; starting up the game take much longer and is annoying. Turning this on will
; also turn on the demo outro video *if* on the demo version of the game.
;intro_videos=1

; Set this to 1 to use the console; this can be overridden by -console
console=1

Expand Down
6 changes: 4 additions & 2 deletions src/chimera/chimera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ namespace Chimera {
// Fuck this
set_up_abolish_safe_mode();

// Remove the video
enable_novideo();
// Remove the video on start/end
if(!chimera->get_ini()->get_value_bool("halo.intro_videos").value_or(false)) {
enable_novideo();
}

// Maybe disable main menu music?
block_main_menu_music_if_needed();
Expand Down

0 comments on commit da335a7

Please sign in to comment.