OpenTechEngine / OpenTechBFG

Engine based on (RB) Doom 3 BFG aiming to allow the creation of standalone games
Other
85 stars 11 forks source link

Skip cutscenes #6

Closed BielBdeLuna closed 9 years ago

BielBdeLuna commented 10 years ago

as you must be modding the main menu add this option to skip the cut scenes just like in original doom3, the code is ported from dhewm3.

DanielGibson commented 10 years ago

Awesome! I tried to do this too (a year ago or so) and never got it to work.

On first sight it seems like some changes in the diff are just for re-identing - did you run astyle on it?

Cheers, Daniel

BielBdeLuna commented 10 years ago

yes I run astyle on it. the biggest change relays on adding a loop in gamelocal runFrame that runs the current code but breaks if a cutscene is skipped. also a method of skipping the cutscene also in gamelocal and then the new addition (the thing that has really changed since dhewm3) the new "esc/pause" handler is within the new menu options, within there is the call to the skipping scene method.

BielBdeLuna commented 10 years ago

hey, take a look to the changes RobertBeckebans did 72f986077b4abb523b6b3ac6232bbaf62a0bbc8f

DanielGibson commented 10 years ago

let's just merge in all the latest changes from his branch

BielBdeLuna commented 9 years ago

great!

DanielGibson commented 9 years ago

Yeah, I finally merged all the changes from upstream + some of our own ones