master
92 commits
b1af29b
shrub  ·  2026-08-16
master
make crypto conditional
ac731f2
shrub  ·  2026-08-12
allocate chunk sections on demand to reduce memory usage significantly
f31e894
shrub  ·  2026-08-07
update TODO
7f9bf37
uint  ·  2026-08-05
fix double free on platform shutdown
3fd894c
uint  ·  2026-08-05
Merge remote-tracking branch 'origin/master' into formatting-and-others

# Conflicts:
#	meson.build
b788836
uint  ·  2026-08-05
add per neighbor face hiding
6f81f92
uint  ·  2026-08-05
increase max world chunks
0b9986a
uint  ·  2026-08-05
reorder static functions alphabetically in block.c
5a4a912
uint  ·  2026-08-05
remove renderer_backend layer
85e6e35
uint  ·  2026-08-05
use magnolia types in mc protos
8867659
uint  ·  2026-08-05
reorder functions, add comments above function impl
f4c5c63
uint  ·  2026-08-05
give all protoytpes comments and return info (if applicable)
4fe2d81
shrub  ·  2026-08-04
auto select renderer+windowing, ran muon fmt
877d445
uint  ·  2026-08-04
refactor main() to be less test like
d86ed5d
uint  ·  2026-08-04
use a single ClientWorld for test and server worlds
bda779e
uint  ·  2026-08-04
move test scene to main.c
3f95c30
uint  ·  2026-08-04
remove test_block
a4f9b7a
uint  ·  2026-08-04
move test_scene chunking functionality to net/mc_chunk and client/world
1b98d94
uint  ·  2026-08-04
increase camera farplane
29e3324
uint  ·  2026-08-04
rename mg_random->mgrandom
fdb1c88
uint  ·  2026-08-04
fix: use MAX_TEXTURES for textures buffer, change MAX_MESHES, MAX_TEXTURES size
cdabf96
uint  ·  2026-08-04
add more error codes, error codes to mc errors
38139ba
uint  ·  2026-08-04
prefix mc_proto sources with mc_
93ff504
uint  ·  2026-08-04
rename directory mcproto->net
2e23c8c
uint  ·  2026-08-04
rename MG_ERR_... -> MG_EC_...
105bef5
uint  ·  2026-08-04
reformat all files
971a236
uint  ·  2026-08-04
vendor libmaus as subproject, add and implement maus windowing backend option
5e2d537
shrub  ·  2026-08-03
texture things
4fc8077
uint  ·  2026-08-03
remove SDL dependancy from main

added:
  platform_get_mouse_state
  platform_set_mouse_relative
  platform_wait
08bfa97
uint  ·  2026-08-03
add platform_get_ticks
87387d9
uint  ·  2026-08-03
platform agnostic key handling
8e4434f
uint  ·  2026-08-02
Merge remote-tracking branch 'origin/master'
17cb258
uint  ·  2026-08-02
add multiplayer

very dirty bc SOMEONE asked me to js push smh
bf83f21
uint  ·  2026-08-02
increase maximum mesh limit

we probably can lower it later when we have more efficient meshing but
for now, we need a large limit
d3fd2b7
uint  ·  2026-08-02
add player position sending, recieving
6546eeb
uint  ·  2026-08-02
add packet reading headers
da75d01
chld  ·  2026-08-01
link extra libraries for illumos
93c7094
chld  ·  2026-07-31
add illumos in ifdef
44531aa
uint  ·  2026-07-31
set chunk height to 16

minecraft expects chunk segments to be 16x16x16
6ce829a
shrub  ·  2026-07-31
stub wireframe on small3dlib
ec262c7
uint  ·  2026-07-31
add wireframes
f9537fc
shrub  ·  2026-07-31
protocol
format + doc
baa5105
shrub  ·  2026-07-31
Merge remote-tracking branch 'origin/master' into protocol

# Conflicts:
#	meson.build
#	source/main.c
34021a9
uint  ·  2026-07-31
update TODO status
69054bb
uint  ·  2026-07-31
add config file
d15a90b
uint  ·  2026-07-31
add clang-format AlignConsecutiveDeclarations
4e37d92
shrub  ·  2026-07-31
always use libtls-bearssl with a meson wrap
e66893f
shrub  ·  2026-07-31
do auth with bearssl and libtls
0bc493e
uint  ·  2026-07-31
add chunk_mesh_... prototype documentation
2e29696
shrub  ·  2026-07-30
implement protocol basics offline mode
42d3dc4
shrub  ·  2026-07-30
make it worse
62f0f04
shrub  ·  2026-07-30
add renderer texture creation from memory
0970030
uint  ·  2026-07-31
add chunk meshing
061c859
uint  ·  2026-07-31
move RGBA macro to util.h
fabcc13
uint  ·  2026-07-30
add TODO
618a7fd
uint  ·  2026-07-30
add chunks
331fa1e
chld  ·  2026-07-30
lower major gl version to 3.3
9f15095
shrub  ·  2026-07-30
clang format and license
fca4c34
shrub  ·  2026-07-30
small3dlib
licar taught me
9fd0111
shrub  ·  2026-07-30
add small3dlib renderer
da175b4
uint  ·  2026-07-30
draw separate brick dirt and stone blocks
dab7136
uint  ·  2026-07-30
dynamic textures with MGTexture
ba23b8e
uint  ·  2026-07-29
fix: remove double destruction of image and sampler
a2e1d3f
uint  ·  2026-07-29
load textures to block faces
45dd938
uint  ·  2026-07-29
build stb_image
edac4b6
uint  ·  2026-07-29
fix: use radians for fov
6f30a10
uint  ·  2026-07-29
add resourcepacks dir
00c2b78
uint  ·  2026-07-29
vendor c89 translation of stb_image
af0e98b
uint  ·  2026-07-23
add camera movement
eabd47d
uint  ·  2026-07-23
shim HandmadeMath behind mgmath

back to C89
489391e
uint  ·  2026-07-23
add sokol rendering and mesh setup

Also compiling with C99 for now but thats only to get maths library to
work
4b3b38c
uint  ·  2026-07-22
vendor HandmadeMath
fe9b3a2
uint  ·  2026-07-22
keep renderer state private
9c6f92b
uint  ·  2026-07-21
move platform.h types to types.h
a4fab4b
uint  ·  2026-07-21
give sokol logging capabilities
2b431fb
uint  ·  2026-07-21
add SDL, GL checks, logging
061e549
uint  ·  2026-07-21
sokol opengl renderer

this is still a big todo; still gotta do the vulkan one and probably
create renderer_hard.c and renderer_soft.c
1286cb0
uint  ·  2026-07-21
use NDEBUG in mg_log

DEBUG was not standard
c0804f9
uint  ·  2026-07-21
event polling, window resizing, add test logs
28b2d38
uint  ·  2026-07-21
add log levels, flush log output, put newline character on fd not stderr
9743d43
uint  ·  2026-07-21
add platform_shutdown
092b67a
uint  ·  2026-07-21
initialise window with opengl
a281cdb
uint  ·  2026-07-21
fix util.h header guards
bc0ccbd
uint  ·  2026-07-21
move platform/util.h to source root
d2c955c
uint  ·  2026-07-21
move headers to include/
d167d0c
uint  ·  2026-07-21
compile sokol_gfx separately
883b714
uint  ·  2026-07-21
vendor sokol_gfx
9f17975
uint  ·  2026-07-21
update meson.build for sdl2, new files
8f9fea8
uint  ·  2026-07-21
add initialisation, main.c: create window with gl context
eeb9766
uint  ·  2026-07-21
add logging, error codes list
b21122e
uint  ·  2026-07-18
add meson build
6714f7d
uint  ·  2026-07-15
add README