• Stars
    star
    1,560
  • Rank 28,926 (Top 0.6 %)
  • Language
    C
  • Created over 8 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Single-file public domain libraries for C/C++

build

libs

Single-file public domain libraries for C/C++ (dual licensed under MIT).

  • app.h - Small cross-platform base framework for graphical apps, for C/C++.
  • assetsys.h - File system abstraction to read from zip-files, for C/C++.
  • hashtable.h - Cache efficient hash table implementation for C/C++.
  • http.h - Basic HTTP protocol implementation over sockets (no https).
  • ini.h - Simple ini-file reader for C/C++.
  • rnd.h - Pseudo-random number generators for C/C++.
  • strpool.h - Highly efficient string pool for C/C++.
  • thread.h - Cross platform threading functions for C/C++.

wip libs

More libs, work-in-progress, some are unfinished, some are complete but lacking documentation.

  • array.h - Dynamic array library for C/C++.
  • buffer.h - Memory buffer with read/write operations, for C/C++.
  • crtemu.h - Cathode ray tube emulation shader for C/C++.
  • cstr.h - String interning and manipulation library for C/C++.
  • dialog.h - Loading and management of dialogs for a custom game dialog system.
  • dir.h - Directory listing functions for C/C++.
  • frametimer.h - Framerate timer functionality, for C/C++.
  • id3tag.h - Read/write ID3 tags from/to mp3 files in C/C++.
  • img.h - Image processing functions for C/C++.
  • mus.h - Parsing library for MUS music files (as used in DOS games).
  • paldither.h - Convert true-color image to custom palette, with dither.
  • palettize.h - Median-cut palette generation and remapping for C/C++.
  • palrle.h - Run-length encoding of palettized bitmaps, for C/C++.
  • pixelfont.h - Custom pixel font format builder and renderer.
  • sysfont.h - Simple debug text renderer for C/C++.
  • testfw.h - Basic test framework for C/C++.

repackaged libs

Single-file header-only versions of libs written by other people, released under the same license as the original lib. I recommend using the latest version of these libs - I only repackage them like this to fit my single-file-libs centered dev paradigm, and if you don't absolutely need that, you are better off using the original multi-file versions.

  • ftplib.h - FTP client lib for C/C++. By Thomas Pfau.
  • hoedown.h - Markdown to HTML renderer for C/C++. By Porte/Marti/Mendez/Torres.
  • libxdiff.h - File Differential Library. By Davide Libenzi.
  • lzma.h - LZMA data compression/decompression library. By Igor Pavlov.
  • opl.h - OPL3/SB16 emulation with MIDI interface. Based on code by Aaron Giles and Mateusz Viste
  • samplerate.h - Sample-rate converter (libsamplerate) for C/C++. By Erik de Castro Lopo
  • speech.h - Basic text-to-speech synthesizer for C/C++. By Jari Komppa / Nick Ing-Simmons (et al)

More Repositories

1

dos-like

Engine for making things with a MS-DOS feel, but for modern platforms
C
973
star
2

crtview

View any image with my CRT filter applied
C
278
star
3

pixie

2D game engine for retro games, built entirely from single-file header libraries.
C
146
star
4

yarnspin

A simple story-telling game engine
C
123
star
5

newpixie

Experimenting with a new version of my Pixie game dev library
C
73
star
6

template_project

Basic setup for building something with app.h on Windows/Linux/Mac/Web
C
67
star
7

doom-for-dos-like

DOOM ported to the dos-like framework
C
45
star
8

i-love-music

MP3 Player/Organizer
C
42
star
9

steem-crt

A modified version of the Atari ST emulator SteemSSE, with my CRT emulation shader added to it.
C++
19
star
10

print-effect

Emulating old comic book print
C
17
star
11

repair-rearm

Shoot-em-up game made for Global Game Jam 2020
C
17
star
12

tcc-build

Binaries for building with Tiny C Compiler from github workflow
16
star
13

rebasic

Simple fantasy console. It let's you do graphics and sound stuff using oldschool BASIC.
C++
13
star
14

no_sunshine

A game made in the Yarnspin story-telling engine.
10
star
15

blast_tracker

DOS-inspired music editor
C
9
star
16

svgs

"Super Video Game System". Fantasy home computer. Work-in-progress.
C
8
star
17

docgen

Generate html documentation from markdown
C
5
star
18

oldpixie

Older version of my Pixie game engine from around 2009-2010
C
2
star
19

dos_menu_system

A menu system for DOS, written in 1995 using Borland Turbo Pascal 7. This is the menu used in my DOSBOX-CRT release (https://mattiasgustavsson.itch.io/dosbox-crt)
Pascal
2
star