Commit Graph

69 Commits

Author SHA1 Message Date
Tropical
06c73c821c Merge pull request #312 from 4jcraft/refactor/replace-sleep
refactor: replace win32 thread sleeping and yielding with `std::thread` primitives
2026-03-27 18:47:47 -05:00
Tropical
8e94b763a7 refactor: remove usage of win32 Sleep function for this_thread::sleep_for 2026-03-25 19:12:11 -05:00
orng
f1ae42c659 refactor: remove basic type containers 2026-03-25 17:51:27 -05:00
Tropical
73392fa06a fix: use correct name for default Compression thread storage 2026-03-25 16:02:26 -05:00
Tropical
30170b8f9c adjust naming scheme of private TLS members 2026-03-25 14:46:16 -05:00
Tropical
9ff2fb4fef refactor: switch to thread_local in Chunk, PistonBaseTile, TheEndPortalTile, Compression 2026-03-25 14:41:08 -05:00
MatthewBeshay
91b13bccee TU19: fix build fallout across Client, World, NBT and Network 2026-03-22 12:45:21 +11:00
Tropical
401a19ad67 fix bad std::string replacements 2026-03-21 18:52:06 -05:00
Tropical
8df2c2bb47 TU19: update NBT library 2026-03-21 18:43:44 -05:00
MatthewBeshay
993617025b TU19: merge Minecraft.World/IO 2026-03-22 10:13:01 +11:00
Tropical
357fca24aa refactor: nuke __int64/__uint64 in Minecraft.World 2026-03-21 17:10:36 -05:00
notmatthewbeshay
591dd48cf6 Upgrade the project default to C++26 2026-03-16 18:18:52 +11:00
notmatthewbeshay
d5d507ae1f Remove FLOAT aliases from timing paths 2026-03-16 04:37:56 +11:00
Tropical
33d0737d1d chore: format Minecraft.World 2026-03-13 17:06:56 -05:00
Tropical
f4d8815285 Merge pull request #209 from Acemany/fix-file-delimeter
fix File class' delimeter and homepath detection
2026-03-13 13:36:17 -05:00
Acemany
40a783207c Windows should support regular slashes 2026-03-13 20:46:48 +03:00
notmatthewbeshay
bcc765f3e7 Merge remote-tracking branch 'upstream/dev' into issue/51-phase-1-portable-win32-cleanup
# Conflicts:
#	Minecraft.Client/Platform/Common/DLC/DLCManager.cpp
#	Minecraft.Client/Rendering/Tesselator.cpp
2026-03-13 15:16:43 +11:00
Acemany
3cbd496186 Fix File class' delimeter and homepath detection
meow :3
deleted Minecraft::OS enum because we have #ifdef
mrrrp
changed save directory name to not mess with minecraft java
2026-03-13 06:10:44 +03:00
Nikita Edel
6d952e24f5 revising everything 2026-03-12 16:42:36 +01:00
Nikita Edel
1712cd4f47 the tutorial does not crash 2026-03-11 19:04:02 +01:00
Nikita Edel
b763a92f8e I FOUND I FOUND IT OMG 2026-03-11 17:42:03 +01:00
Nikita Edel
8395277c0c shift of signed int, s int overflow 2026-03-11 13:36:44 +01:00
notmatthewbeshay
a503336887 Merge upstream/dev into issue/51-phase-1-portable-win32-cleanup 2026-03-11 16:02:48 +11:00
notmatthewbeshay
dbc8071183 Use standard result types in file helpers 2026-03-11 15:38:53 +11:00
notmatthewbeshay
d48bd03722 Use standard byte pointers in decompression helpers 2026-03-11 15:38:52 +11:00
notmatthewbeshay
d2db55e050 Use standard thumbnail buffer types 2026-03-11 15:38:42 +11:00
notmatthewbeshay
3e89da8dff Use standard byte buffers for save image metadata 2026-03-11 15:38:42 +11:00
notmatthewbeshay
0437fb921f Use standard byte counts for base save data 2026-03-11 15:38:42 +11:00
notmatthewbeshay
0ab0fd9209 Standardise fixed-width integer usage in touched files 2026-03-11 15:38:42 +11:00
notmatthewbeshay
83ba8d8384 Use a portable seek origin for save files 2026-03-11 15:38:41 +11:00
notmatthewbeshay
45c22ab6cc Use bool for save file IO results 2026-03-11 15:38:41 +11:00
notmatthewbeshay
d1b2b8cedb Use standard byte counts in save file IO 2026-03-10 10:20:17 +11:00
notmatthewbeshay
8be51f6270 Use standard pointers in save file IO 2026-03-10 10:14:02 +11:00
notmatthewbeshay
2b3c688b44 Use bool for save file close handles 2026-03-10 10:14:02 +11:00
notmatthewbeshay
0db324debd Remove LPVOID from split save file memory 2026-03-10 10:14:01 +11:00
notmatthewbeshay
647b3c6352 Remove LPVOID from original save file memory 2026-03-10 10:14:01 +11:00
notmatthewbeshay
32773137e1 Remove VOID from compression helpers 2026-03-10 10:14:01 +11:00
notmatthewbeshay
afca289848 Remove DWORD from compression TLS storage 2026-03-10 10:14:01 +11:00
notmatthewbeshay
fb3e4947c6 Remove LPVOID from file header APIs 2026-03-10 10:14:01 +11:00
notmatthewbeshay
1687568ff7 Remove DWORD from FileHeader interface 2026-03-10 10:13:58 +11:00
notmatthewbeshay
22757b4b51 Remove HANDLE from zoned chunk storage headers 2026-03-10 10:13:58 +11:00
notmatthewbeshay
37d9439be3 Use portable file writes for debug save dumps 2026-03-10 10:13:58 +11:00
notmatthewbeshay
2cc7a74e6f Remove HANDLE from portable file streams 2026-03-10 10:13:58 +11:00
notmatthewbeshay
e1a66b0ad0 Modernise portable file and timing utilities 2026-03-10 10:13:58 +11:00
Nikita Edel
66b31669c3 new batch of delete operator missmatch 2026-03-09 22:48:36 +01:00
sewn
37d285dba1 fix: compile ConsoleSaveFileSplit for standard C++ 2026-03-09 15:08:59 +03:00
Tropical
ad1e8369bc refactor: move Common to Platform/Common 2026-03-09 00:17:42 -05:00
Tropical
54dab7708d refactor: rename Build -> Platform in Minecraft.World 2026-03-08 21:33:18 -05:00
Tropical
5045acb86e fix: unglob everything else and make it build 2026-03-08 22:44:00 +01:00
Tropical
a2e6957383 fix: unglob std::{min, max}, manual stuff 2026-03-08 22:43:59 +01:00