macOS Ventura 13.6.2
Gerbil v0.18-62-gf7d8efcf on Gambit v4.9.5-78-g8b18ab69
λ echo $CC
gcc-13Running brew info ncurses gives us the following part:
| GAME_WIDTH :: f32(320) | |
| GAME_HEIGHT :: f32(180) | |
| gfx_get_resolution_scaling :: proc(window_pixel_width, window_pixel_height: i32) -> int | |
| { | |
| dpi_scale := sdl.GetWindowPixelDensity(G.WINDOW) | |
| width := f32(window_pixel_width) * dpi_scale | |
| height := f32(window_pixel_height) * dpi_scale |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\*\shell\Neovide] | |
| @="Edit with Neovide" | |
| "Icon"="\"C:\\Program Files\\Neovide\\neovide.exe\"" | |
| [HKEY_CLASSES_ROOT\*\shell\Neovide\command] | |
| @="\"C:\\Program Files\\Neovide\\neovide.exe\" \"%1\"" | |
| [HKEY_CLASSES_ROOT\Directory\shell\Neovide] |
| package game | |
| import "core:c" | |
| import "core:fmt" | |
| import "core:math" | |
| import "core:math/rand" | |
| import "core:slice" | |
| import "core:image/png" | |
| import SDL "vendor:sdl3" |
| vim.filetype.add({ | |
| extension = { | |
| hlsl = "hlsl", | |
| }, | |
| }) | |
| if not require("lspconfig.configs").hlsl_tools then | |
| require("lspconfig.configs").hlsl_tools = { | |
| default_config = { | |
| cmd = |
| (* I overuse these two badboys *) | |
| let parse fmt map line = try Some (Scanf.sscanf line fmt map) with _ -> None | |
| let rec try_parse parsers line = | |
| match parsers with | |
| | [] -> failwith ("could not parse: " ^ line) | |
| | parse :: parsers -> ( | |
| match parse line with | |
| | None -> try_parse parsers line | |
| | Some result -> result |
| { | |
| description = "Haskell"; | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs/haskell-updates"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem (system: |
| Pos :: [2]int | |
| Component :: enum u16 { | |
| PLAYER, | |
| COLLISION, | |
| PUSH, | |
| SPRITE, | |
| } | |
| Entity :: struct { |
| package audio | |
| import "core:fmt" | |
| // https://miniaud.io/docs/ | |
| import ma "vendor:miniaudio" | |
| // 0 - Use native channel count of the device | |
| AUDIO_CHANNELS :: 0 | |
| AUDIO_SAMPLE_RATE :: 0 |
| { | |
| description = "dungeoncrawler"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/master"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| rust-overlay.url = "github:oxalica/rust-overlay"; | |
| }; | |
| outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }: |
macOS Ventura 13.6.2
Gerbil v0.18-62-gf7d8efcf on Gambit v4.9.5-78-g8b18ab69
λ echo $CC
gcc-13Running brew info ncurses gives us the following part: