Commit graph

10 commits

Author SHA1 Message Date
iddev5
21c49ff9be mach: Move all platform specific files to platform/ directory 2022-05-30 10:22:42 -07:00
iddev5
32c12f0eaa mach: wasm: implement key press and release events 2022-05-25 09:10:13 -07:00
iddev5
d8afc9c88c mach: wasm: enable lapping of engine timer every frame 2022-05-25 09:10:13 -07:00
iddev5
8d9ca11b45 mach: wasm: add note about vsync support and move VSyncMode to enums.zig 2022-05-25 09:10:13 -07:00
iddev5
488131ecbb mach: wasm: Adjust width and height for HiDpi/Retina
Also implements getFramebufferSize() and getWindowSize() properly.
2022-05-25 09:10:13 -07:00
iddev5
f3e2b8b74c mach: add a standard way to access platform specific structs
This is done by adding platform.zig which is a file providing types like
``CoreType``, ``GpuDriverType`` and ``BackingTimerType``.
2022-05-23 01:03:43 -07:00
iddev5
281b1e75c0 mach: wasm: implement getWindowSize 2022-05-22 11:44:21 -07:00
iddev5
f7301cc242 mach: wasm: implement logging and panic handler 2022-05-22 11:44:21 -07:00
iddev5
c8c6dab65b mach: wasm: initial implementation of Core, added js polyfill and
application html
2022-05-22 11:44:21 -07:00
iddev5
ccb1063e3f mach: wasm: Add initial framework bones 2022-05-22 11:44:21 -07:00