Last update on: 2025-04-04
Please insert in alphabetical order Please make sure all entries start with "* "
- ➖: Placeholder
// Compile like this: | |
// cl Win32.c /O1 /c /GS- && crinkler Win32.obj user32.lib kernel32.lib gdi32.lib /SUBSYSTEM:WINDOWS /NODEFAULTLIB /UNSAFEIMPORT /TINYHEADER | |
#include <windows.h> | |
#define WN_TITLE "Unnamed" | |
#define WN_CLASS "WindowClassName" | |
#define WN_WIDTH 800 | |
#define WN_HEIGHT 600 |
// clang-format off | |
// Compile the program linking user32.lib | |
#pragma comment(lib, "user32.lib") | |
#include <Windows.h> | |
// Event handler. | |
LRESULT CALLBACK WndProc( | |
HWND hWnd, // Window the event was assigned to. | |
UINT Msg, // Message type. |
Empty Project Export sizes on Windows for Game Engines, Game Frameworks, Virtual Consoles and Game Programming Languages
Name | Size ↑¹ | Size (compressed with UPX ) ↑² | Link |
---|---|---|---|
PlummersSoftwareLLC/HelloAssembly (Theron) | 0.39 KB | ??? | 🔗 |
ske2004/Win32.c | 0.82 KB | ??? | 🔗 |
rxi/kit | 55.00 KB | 30.50 KB | 🔗 |
WASM-4 (c version) | 236.00 KB | ??? | 🔗 |
raylib | 0.99 MB | 275.00 KB | 🔗 |
BlitzMax (MaxIDE 1.43) | 1.49 MB | 650.00 KB | [🔗](https://nitrologic.itch.io/bl |
Minimal WASAPI reference implementation. Runnable console application contained in a single function and laid out in a linear, step-by-step fashion. No modern C++ / OOP / obscuring cruft. Produces a steady sine wave sound.
(This is a re-post of the same gist I posted a few years earlier, simply due to me wanting the Minimal D3D11 series to be listed contiguously and it's not possible to hide or rearrange gists).
{ | |
"suggest.noselect": false, | |
"coc.preferences.formatOnSaveFiletypes": [ | |
"javascript", | |
"typescript", | |
"typescriptreact", | |
"json", | |
"javascriptreact", | |
"typescript.tsx", | |
"graphql" |
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
I (Yanrishatum) see too many same questions. They irritate me.
"How dare you come into this chat and not realize that i am the GOD of heaps and that you MUST check out MY documentation1!!! Im veyr abngrey!!!" - translation from someone in chat.
Very accurate, I highly approve.
Because I have no trust in people.
<hashlink>
points to your installation of Hashlink, e.g. folder in which hl.exe
(or Unix executable) is, alongside with library binaries (.hdll
files), and include
folder.<src>
points to the folder containing generated HL/C sources. One that contains hlc.json
file.<app>
refers to your output executable name, including extension.<main>
refers to your entry-point file name, including extension (see below).cl.exe
, but Unix should be more or less same with replacement of argument flags and compiler.cl.exe
or other compiler from command-line.