This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "base:runtime" | |
| import "core:unicode/utf8" | |
| import k2 "karl2d" | |
| import clay "clay-odin" | |
| to_k2_color :: proc(color: clay.Color) -> k2.Color { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ds | |
| // This package contains the necessary DirectSound bindings | |
| // to be able to carry forward with Handmade Hero from Day 7 onwards, in Odin. | |
| // If you're looking for WAVEFORMATEX, that's defined in core:sys/windows | |
| import win "core:sys/windows" |