Multimedia

This commit is contained in:
Krzosa Karol
2022-10-01 14:31:52 +02:00
parent 1473204860
commit 3623ecce00
2 changed files with 143 additions and 0 deletions

24
modules/Multimedia.core Normal file
View File

@@ -0,0 +1,24 @@
#import "Base.core"
#import "MathVec3.core"
#import "Arena.core"
W32 :: #load "win32_multimedia.core"
/*
API and name inspired by one of Per Vognsen streams
https://www.youtube.com/watch?v=NG_mUhc8LRw&list=PLU94OURih-CjrtFuazwZ5GYzTrupOMDL7&index=19
All of his channel is recommended watch for programmers.
*/
Mu :: struct
scrn: *U32
x : S64
y : S64
frame_arena: Arena
os: W32.OS
StartMultimedia :: W32.StartMultimedia
// UpdateMultimedia :: W32.UpdateMultimedia
start :: ()
mu := StartMultimedia()