Commit graph

25 commits

Author SHA1 Message Date
Eblo
86a6c93d58 Revamp movie playback
Separated movie playback code
Load movie file via SDL, allowing any file extension
Removed dead audio code
2022-01-20 22:03:47 -05:00
Eblo
bdb7c77a75 Sync audio to movie playback
Buffer audio packets directly while decoding video instead of playing audio independently
2022-01-20 22:03:47 -05:00
Eblo
b4d468f29d Sync audio for movies and add optional volume control 2022-01-20 22:03:47 -05:00
Eblo
286b2b7658 Implement Graphics.play_movie
Render video frames and play audio for Graphics.play_movie
Added theora dependency for theora video format playback
Added icculus's theoraplay to project
2022-01-20 22:03:47 -05:00
Struma
6266670997 use syncToRefreshRate normally on macOS again 2022-01-20 15:34:48 -05:00
Struma
59d326ef4a Remove basically pointless build options 2021-10-14 05:28:32 -04:00
Struma
6eba6e0c69 Make Graphics.update wait for window resizes 2021-09-30 18:50:06 -04:00
Struma
63b40053ac Prevent relevant functions from stepping over Graphics.update when threading 2021-06-04 14:29:45 -04:00
Struma
fdb86f2ede Do not use GVL on possibly time-consuming functions 2021-06-02 08:42:32 -04:00
Struma
84c4f97c6c Add more detailed platform detection 2021-05-23 21:40:48 -04:00
Struma
f1f5f99133 Have window resizing functions properly wait on each other 2021-05-21 17:13:53 -04:00
Struma
699ffc0245 Support Retina displays 2021-05-21 16:28:51 -04:00
Struma
6fe980abc8 Massively improve animation frame timing 2021-05-04 23:32:01 -04:00
Struma
b3b0d3c48f separate Graphics.delta / average_frame_rate timer 2021-03-01 03:45:34 -05:00
Struma
03a9636105 temp fix for broken vsync on macOS 2021-03-01 02:10:05 -05:00
Struma
1683483170 Make FPS counter a little more accurate 2021-03-01 01:51:15 -05:00
Struma
ae9e292a1b add Graphics.average_frame_rate 2021-02-27 08:17:14 -05:00
Struma
286270b51e Update graphics delta at the start of update 2021-02-26 06:25:19 -05:00
Struma
02c06be88a Add Ruby-accessible delta clocks (microseconds) 2021-02-25 21:29:21 -05:00
Struma
d4d2b7c7cb Keep input repeat timings independent of FPS 2021-02-25 19:28:44 -05:00
Struma
2fd585393d the not-so-great warning purge 2021-02-22 01:22:26 -05:00
Struma
7db1c1219e Prefix mkxp-z preprocessor definitions with MKXPZ_ 2020-12-31 14:50:07 -05:00
Struma
c5f8ebef2e Fix Apple M1 OpenGL->Metal and SDL2_sound crashes 2020-12-26 17:46:01 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Struma
f98b1e031f Reorganize src dir 2020-11-21 01:36:24 -05:00
Renamed from src/graphics.cpp (Browse further)