Skip to content

Instantly share code, notes, and snippets.

@randyprime
randyprime / entity_structure.odin
Last active September 23, 2025 08:30
ENTITY MEGASTRUCT
// the tl;dr -> https://storage.randy.gg/entity%20midwit.png
/*
ENTITY MEGASTRUCT
by randy.gg
This is an extremely simple and flexible entity structure for video games that doesn't make you want to
die when you're 20k lines deep in a project.
@mxpv
mxpv / Win32.h
Created May 2, 2013 13:27
Slim version of windows.h header
#ifndef SYS_WIN32_H
#define SYS_WIN32_H
// Slim version of windows.h header
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef WIN32_EXTRA_LEAN