Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1165 commits
Select commit Hold shift + click to select a range
663c61a
Fix old, popular SA crash @ 0x001A5735
Dutchman101 Feb 14, 2026
7175220
clang fix
Dutchman101 Feb 14, 2026
105d2cb
Visual Studio Update
MTABot Feb 15, 2026
9d15f90
Update client en_US pot
github-actions[bot] Feb 16, 2026
f6f5326
- Fix crash in building removal after IPL streaming (streaming out an…
Dutchman101 Feb 16, 2026
b159cce
Fix crash in AddVehicleTxdFallback
Dutchman101 Feb 16, 2026
8521894
Fix crash in CEntitySAInterface::GetBoundRect_
Dutchman101 Feb 16, 2026
1f85862
Fix SVG crashes (client.dll)
Dutchman101 Feb 16, 2026
0ec0b60
Fix common ped related crash
Dutchman101 Feb 16, 2026
c68e618
Fix client.dll crash (Lua table bug exposed by sending large events t…
Dutchman101 Feb 16, 2026
7c349cf
Addendum to c68e618: Fix similar bugs
Dutchman101 Feb 16, 2026
aaac36a
Fix handling related crash
Dutchman101 Feb 16, 2026
c063c48
Fix IFP related crashes
Dutchman101 Feb 16, 2026
5ece86b
Fix crash in CClientPed::GetMovementState
Dutchman101 Feb 16, 2026
eadbc9f
Fix most d3d9.dll crashes in MTA, and improve the handling of interfe…
Dutchman101 Feb 16, 2026
85829da
Addendum to f6f5326 (Fix build)
Dutchman101 Feb 16, 2026
8a63b6a
Addendum to eadbc9f
Dutchman101 Feb 16, 2026
93a5e3a
(t)
Dutchman101 Feb 16, 2026
2adbf28
Fix textures crash #1
Dutchman101 Feb 16, 2026
3f64392
Fix textures crash #2
Dutchman101 Feb 16, 2026
4eb4a7c
Fix variant of SA crash @ 0x00154244
Dutchman101 Feb 16, 2026
3aac2b9
Performance optimization round #1 (texture/shader system)
Dutchman101 Feb 16, 2026
15bfa9a
Performance optimization round #2 (texture/shader system)
Dutchman101 Feb 16, 2026
a02805e
Performance optimization round #3 (texture/shader system)
Dutchman101 Feb 16, 2026
f915a9d
Visual Studio Update
MTABot Feb 17, 2026
2e9d445
Addendum to c68e618 & 7c349cf (Lua table crashes)
Dutchman101 Feb 17, 2026
1cef6ef
Fix performance degradation from "Performance optimizations" yesterday
Dutchman101 Feb 17, 2026
57e9d6b
Addendum to aaac36a ("Fix handling related crash") to fix left-over c…
Dutchman101 Feb 17, 2026
00e6631
Addendum to 81d4c12 ("Fix variant of SA crash @ 0x00154244")
Dutchman101 Feb 17, 2026
0d8ff91
Fix SA crash @ 0x00352905 (Out of video mem) similarly to how i fixed…
Dutchman101 Feb 17, 2026
b46f5fe
Fix SA crash at 0x00154918 (Similar/related to the fixes of crash off…
Dutchman101 Feb 17, 2026
4fb1c33
Fix new texture mixing cases (introduced by 3aac2b9)
Dutchman101 Feb 17, 2026
f972479
Addendum to 663c61a ("Fix old, popular SA crash @ 0x001A5735") as it …
Dutchman101 Feb 17, 2026
6843533
Addendum to 8521894 ("Fix crash in CEntitySAInterface::GetBoundRect_"…
Dutchman101 Feb 17, 2026
c295ae4
Fix crash in CModelInfoSA::SetTextureDictionaryID
Dutchman101 Feb 17, 2026
9b62794
Fix UpdateIplEntrysPointers corrupting NULL entries and RemoveAllWith…
Dutchman101 Feb 17, 2026
14f283b
Minor optimization for texture system
Dutchman101 Feb 17, 2026
1605c50
Fix node pool leaks and crashes from dangling building pointers.
Dutchman101 Feb 17, 2026
74d79b1
Performance optimization round #4 (texture system)
Dutchman101 Feb 17, 2026
5aa6455
Fix entity cleanup bugs in building pool and pool stride mismatch
Dutchman101 Feb 17, 2026
4912d2b
Fix pool index type safety
Dutchman101 Feb 17, 2026
80e6f29
clang fix
Dutchman101 Feb 17, 2026
108c478
Addendum to 7296eab
Dutchman101 Feb 17, 2026
e4cf251
Add stuck detection to debugger loop and improve one-shot flag clearing
Dutchman101 Feb 17, 2026
19e53a5
Fix white textures and texture mixing from stale shader cache and orp…
Dutchman101 Feb 18, 2026
4bbeffb
clang fix
Dutchman101 Feb 18, 2026
f1acc13
Small tweak for CGameSA::SetBuildingPoolSize
Dutchman101 Feb 18, 2026
5751124
Performance optimization round #5 (texture/shader system)
Dutchman101 Feb 18, 2026
929f4ef
Perf tweaks after recent building pool/removal changes
Dutchman101 Feb 18, 2026
05081d4
Perf tweak for D3D ReplaceInterface
Dutchman101 Feb 18, 2026
6221b92
Addendum to 5751124
Dutchman101 Feb 18, 2026
c597ccf
Merge changes from branch feature/maetro32
botder Feb 18, 2026
f6f7b6b
Copy maetro32.dll to launch directory
botder Feb 18, 2026
f212c93
Build maetro32 to the output root directory
botder Feb 18, 2026
f46ef80
clang fix
Dutchman101 Feb 18, 2026
5091198
Various performance tweaks
Dutchman101 Feb 18, 2026
cee3f88
Adapt installer logic for maetro32
botder Feb 18, 2026
5f27442
Update launchers for maetro
botder Feb 18, 2026
945a745
Final perf optimizations in ShaderMatching
Dutchman101 Feb 18, 2026
4b55a22
Building pool perf tweak
Dutchman101 Feb 18, 2026
5cb98a1
Add 64-bit version of maetro32
botder Feb 19, 2026
cca48dc
Additional perf optimization for ShaderMatching
Dutchman101 Feb 19, 2026
d8eb296
Addendum to 5091198
Dutchman101 Feb 19, 2026
1727173
Addendum to 929f4ef ("Perf tweaks after recent building pool/removal …
Dutchman101 Feb 19, 2026
c55fdc0
Fix some noexcept-related cases of std::terminate
Dutchman101 Feb 19, 2026
18a5fb9
More user-friendly handling of netc "crashes"
Dutchman101 Feb 19, 2026
1cc22f8
Visual Studio Update
MTABot Feb 19, 2026
6115d03
FIx cases of texture mixing & white textures
Dutchman101 Feb 19, 2026
53de411
Fix potential linked-list corruptions
Dutchman101 Feb 19, 2026
2dabc30
Reduce txd loading times (spinner/blocking load) on server join
Dutchman101 Feb 19, 2026
71363b9
Addendum to 6115d03
Dutchman101 Feb 19, 2026
c2935ae
Update maetro launchers
botder Feb 19, 2026
d52b161
New Crowdin updates (PR #4708)
MTABot Feb 20, 2026
4611603
Revert 6115d03 & 71363b9 for now (Not stable yet)
Dutchman101 Feb 20, 2026
bae55d1
clang fix
Dutchman101 Feb 20, 2026
4b4514e
Visual Studio Update
MTABot Feb 21, 2026
1d0f4b9
Fix rhino slope bug
Dutchman101 Feb 22, 2026
dfdf44f
Allow overwriting premake5.lua path using PREMAKE_FILE
botder Feb 22, 2026
f600a76
Switch to 'windows-2025-vs2026' in Windows build workflow
botder Feb 22, 2026
62028cf
Fix setVehicleComponentVisible always showing the _ok state component…
FileEX Feb 22, 2026
3e879e6
Fix garages automatically closing/opening (#4684)
FileEX Feb 22, 2026
889b4c2
Fix physical objects rotation after restream (#4718)
FileEX Feb 22, 2026
d39819b
delete codeql (#4719)
qaisjp Feb 22, 2026
e5b7f24
Support for getVehicleWheelFrictionState on Bikes, Quads, and Monster…
Xenius97 Feb 22, 2026
c40bae1
Add function setSearchLightColor & getSearchLightColor (#4666)
FileEX Feb 22, 2026
f44bf01
Fix LibraryRedirectionPatch::Restore for mtasa_d.dll
botder Feb 22, 2026
4fa2cbb
Update client en_US pot
github-actions[bot] Feb 23, 2026
1468c16
Update installer en_US pot
github-actions[bot] Feb 23, 2026
1ae2518
Revert "delete codeql" (#4720)
qaisjp Feb 23, 2026
e9cda2f
Visual Studio Update
MTABot Feb 23, 2026
b690277
Allow the Rhino to render headlight cones and coronas (#4714)
rxyyy Feb 24, 2026
7093a3a
Visual Studio Update
MTABot Feb 25, 2026
541ed28
Disable debugger one-shot launch in Debug config
botder Feb 25, 2026
0e61f4f
Fix compiler warning in multiplayer_sa
botder Feb 25, 2026
9009984
Replace fs::equivalent with native implementation
botder Feb 25, 2026
828e2c0
Visual Studio Update
MTABot Feb 27, 2026
5b11c38
Fix clang-format.ps1
botder Feb 28, 2026
aa3692a
Run utils/clang-format.ps1
botder Feb 28, 2026
6ae640e
Fix O(n^2) performance bottleneck in CClientStreamer (#4695)
PrimelPrime Feb 28, 2026
16cdf3f
PostFX Improvements (#4584)
omar-o22 Feb 28, 2026
afb6fd7
Fix CPU affinity during startup (#4733)
FileEX Feb 28, 2026
9bac091
Visual Studio Update
MTABot Mar 1, 2026
daa77df
Update client en_US pot
github-actions[bot] Mar 2, 2026
13c3b87
Fix attached offsets server-side #4724 (#4731)
dsFejerA Mar 2, 2026
20fec94
Visual Studio Update
MTABot Mar 3, 2026
d6c3b7e
Correct spelling in comments across multiple files (#4737)
bearroleplay Mar 3, 2026
af669ac
Add missing "down" state for onClientGUIClick (#4736)
Xenius97 Mar 3, 2026
9f289fd
Visual Studio Update
MTABot Mar 5, 2026
e38368e
Fix PREMAKE_FILE handling in win-create-projects.bat
Dutchman101 Mar 5, 2026
abbc2ec
Reintroduce 6115d03 & 71363b9 but with fixes included.
Dutchman101 Mar 6, 2026
566e82e
Fix crash that tends to happen during intensive session switching (Re…
Dutchman101 Mar 6, 2026
760e12d
Fix SA crash @ 0x0116c9c5 (amplified by 6632385, abbc2ec and 566e82e)
Dutchman101 Mar 6, 2026
f50ce0f
Visual Studio Update
MTABot Mar 7, 2026
0f93d7d
Fix a cause of white-texture bug by deferring failed vanilla TXD isol…
Dutchman101 Mar 7, 2026
2146be3
Addendum to 0f93d7d: Reduce TXD pool pressure from vanilla isolation
Dutchman101 Mar 7, 2026
3462e97
Fix code formatting (#4749)
qaisjp Mar 8, 2026
c41067f
Fix isVehicleOnGround (#4738)
FileEX Mar 8, 2026
eaad389
Visual Studio Update
MTABot Mar 9, 2026
539d0a2
Add min client check for onClientGUIClick down
botder Mar 10, 2026
eecd0f3
Fix formatting in 539d0a21a49cad7980c3defb901440131d24c055
botder Mar 10, 2026
e96c8d4
Fix #4460 and #4675 (#4752)
ArranTuna Mar 10, 2026
fefbcc1
Visual Studio Update
MTABot Mar 11, 2026
d413e81
Fix 2 remaining white-texture cases in vanilla model TXD reapply path
Dutchman101 Mar 12, 2026
4e497de
Fix isMTAWindowFocused & onClientMTAFocusChange (#4533)
FileEX Mar 12, 2026
4ba48a3
Fix searchlight not working for some players (#4750)
FileEX Mar 12, 2026
725f47d
Fix police maverick searchlight color affected by setSearchLightColor…
FileEX Mar 12, 2026
6bd6db5
Fix objects with alpha below 141 are invisible (#4751)
FileEX Mar 12, 2026
8580069
Addendum to d413e81: Fix additional cause of 'white textures'
Dutchman101 Mar 12, 2026
ff9bb49
Addendum #2 to d413e81: Fix additional cause of 'white textures'
Dutchman101 Mar 12, 2026
dfd0189
Addendum #3 to d413e81: Fix additional cause of 'white textures'
Dutchman101 Mar 12, 2026
5e0cd5c
Addendum #4 to d413e81: Fix additional cause of 'white textures'
Dutchman101 Mar 12, 2026
bef3238
Addendum to 5e0cd5c
Dutchman101 Mar 12, 2026
bcae300
Addendum to dfd0189
Dutchman101 Mar 12, 2026
e5f7f65
Visual Studio Update
MTABot Mar 13, 2026
dfb451b
Addendum to 0622886 ("Fix ped skin texture mixing")
Dutchman101 Mar 13, 2026
37e9e90
Addendum to dfb451b
Dutchman101 Mar 13, 2026
3d0529b
Fix replacement tracking state leak causing white textures. Just one …
Dutchman101 Mar 13, 2026
478d046
Addendum #5 to d413e81: Fix additional cause of 'white textures'
Dutchman101 Mar 13, 2026
8e8c19a
Fix white textures on vanilla world items with isolated TXDs
Dutchman101 Mar 13, 2026
aabcfd8
Addendum to afe8ad5 ("Expand TXD pool from 5,000 to 32,768 slots").
Dutchman101 Mar 13, 2026
f3e7c52
Fix the component list doesn't change after replacing the model (#4689)
FileEX Mar 13, 2026
d57ba8d
Addendum to aabcfd8 (Fix build)
Dutchman101 Mar 13, 2026
f2809e1
clang fix
Dutchman101 Mar 13, 2026
af6898f
Fix shared cause of left-over white textures bug on vehicle parts, an…
Dutchman101 Mar 13, 2026
5d48e86
Addendum to af6898f ("Fix shared cause of left-over white textures bu…
Dutchman101 Mar 13, 2026
61ee283
Visual Studio Update
MTABot Mar 15, 2026
5bda91a
Addendum to d566de5: Re-enable freeze watchdog for Debug builds
Dutchman101 Mar 15, 2026
04a31ac
Addendum to 5bda91a & d566de5, 9acfad8:
Dutchman101 Mar 15, 2026
8601f2f
Addendum to 04a31ac: Ensure no dialog/dump when debugger is attached,…
Dutchman101 Mar 15, 2026
44da986
Fix texture callback to walk TXD parents instead of just the first match
Dutchman101 Mar 16, 2026
492d42d
Fix white textures on LOD buildings by walking frames too
Dutchman101 Mar 16, 2026
974ada8
Update client en_US pot
github-actions[bot] Mar 16, 2026
4200137
Preparations for U01 troubleshooting/auto-resolution
Dutchman101 Mar 20, 2026
c15736e
Fix some causes of U01 error
Dutchman101 Mar 20, 2026
487f10a
Fix old, common SA crash (0x0013388e)
Dutchman101 Mar 20, 2026
e731d51
Update client en_US pot
github-actions[bot] Mar 23, 2026
65d5451
Fix sporadic build failure
Dutchman101 Mar 23, 2026
e01616e
Fix engineLoadDFF rejecting valid DFF files (#4764)
PrimelPrime Mar 23, 2026
024144e
Visual Studio Update
MTABot Mar 23, 2026
16ed21b
Visual Studio Update
MTABot Mar 23, 2026
e08ee9d
Fix old SA crsah @ 0x000F0EBA (CAEStaticChannel::SetAudioBuffer)
Dutchman101 Mar 23, 2026
d5496d9
Addendum to e08ee9d ("Fix old SA crash @ 0x000F0EBA (CAEStaticChannel…
Dutchman101 Mar 23, 2026
bc81806
Addendum to e08ee9d & d5496d9
Dutchman101 Mar 23, 2026
3f4f11a
Fix SA crash at 0x00205173
Dutchman101 Mar 24, 2026
f9dd679
eliability improvements for loader, launch, updater, and registry uti…
Dutchman101 Mar 24, 2026
d30ae66
Fix white skin textures bug introduced by af6898f
Dutchman101 Mar 25, 2026
3a98f71
Fix script-managed TXDs causing white textures and cross-model textur…
Dutchman101 Mar 25, 2026
fcb3c99
Visual Studio Update
MTABot Mar 25, 2026
c031b1d
Visual Studio Update
MTABot Mar 25, 2026
3fa6881
Fix script-managed TXD parent chain, refcount, and cross-model textur…
Dutchman101 Mar 25, 2026
e4da3df
Addendum to 3fa6881
Dutchman101 Mar 25, 2026
573b331
Fix SA crash @ 0x003F5A3A (Out of video mem). This class of crashes i…
Dutchman101 Mar 25, 2026
4307347
'Fix' top 3 crash (SA 0x000DFE92) that is a result of audio file mods
Dutchman101 Mar 25, 2026
28787dc
Visual Studio Update
MTABot Mar 27, 2026
4b58745
Visual Studio Update
MTABot Mar 29, 2026
ccc68ec
Update client en_US pot
github-actions[bot] Mar 30, 2026
b7655c6
More 'white textures' fixes #1
Dutchman101 Mar 30, 2026
385808d
Visual Studio Update
MTABot Mar 31, 2026
e80f6ba
More 'white textures' fixes #2
Dutchman101 Mar 31, 2026
0620ad9
More 'white textures' fixes #3
Dutchman101 Mar 31, 2026
fa71d75
Add some logging to texture stuff
Dutchman101 Mar 31, 2026
0ba9b28
Addendum to 18a5fb9
Dutchman101 Mar 31, 2026
869e9ab
Fix a cause of white weapon textures
Dutchman101 Apr 1, 2026
ca98ff8
Fix sporadic build errors
Dutchman101 Apr 1, 2026
3509faf
Fix more texture system bugs
Dutchman101 Apr 2, 2026
eb5f518
Impactful optimizations for texture system #1
Dutchman101 Apr 2, 2026
0dff2ef
Impactful optimizations for texture system #2
Dutchman101 Apr 2, 2026
7e69069
Fix a freeze on loading into heavily modded servers
Dutchman101 Apr 2, 2026
4a7a921
Addendum to 7e69069 (Build error didn't show due to a non-full rebuild)
Dutchman101 Apr 2, 2026
8f12009
Impactful optimizations for texture system #3
Dutchman101 Apr 2, 2026
69be097
Impactful optimizations for texture system #4
Dutchman101 Apr 2, 2026
21f33aa
Visual Studio Update
MTABot Apr 2, 2026
340f5ed
Visual Studio Update
MTABot Apr 2, 2026
dd38398
Addendum to 7e69069 and 7e69069 (Asset loading freezes), now it's rea…
Dutchman101 Apr 2, 2026
b55161b
Impactful optimizations for texture system #5
Dutchman101 Apr 2, 2026
655767b
Further optimize asset loading/spinner stage, addendum to 'freeze' fi…
Dutchman101 Apr 2, 2026
7a663ae
Fix client handling restore/sync behavior for suspension properties
Dutchman101 Apr 2, 2026
d6ae283
Refactor CStreamingGC so it's actually reliable for future widespread…
Dutchman101 Apr 2, 2026
251c2ca
Fix SA crash at 0x001A59D1
Dutchman101 Apr 3, 2026
622077b
Fix SA crash @ 0x0000D029
Dutchman101 Apr 3, 2026
c403f75
Fix SA crash @ 01166514
Dutchman101 Apr 3, 2026
374ec90
Fix new bug in resource downloading on server join
Dutchman101 Apr 3, 2026
ce066a7
Fix SA crash @ 0x00354D23 (out of vmem case)
Dutchman101 Apr 3, 2026
84cd895
Addendum to 622077b (Fix SA crash @ 0x0000D029)
Dutchman101 Apr 4, 2026
44b81d6
Fix problems populating server list
Dutchman101 Apr 4, 2026
0c05baa
Addendum to 44b81d6
Dutchman101 Apr 4, 2026
49cbd31
Fix sniper bullet sync on maximum bandwidth reduction (#4763)
ArranTuna Apr 4, 2026
bdd0b71
Visual Studio Update
MTABot Apr 4, 2026
54b3e94
Addendum to 4307347: Prevent freeze on game sound mods that would've …
Dutchman101 Apr 4, 2026
06465d5
Run clang-format (#4776)
qaisjp Apr 5, 2026
085d594
Auto-fix clang-format issues on master pushes (#4777)
qaisjp Apr 5, 2026
b28f513
Add AGENTS.md to help improve commit quality (#4778)
qaisjp Apr 5, 2026
7f886b6
Fix causes of linked list corruption (responsible for various SA cras…
Dutchman101 Apr 6, 2026
70c9053
Update client en_US pot
github-actions[bot] Apr 6, 2026
c96994b
Visual Studio Update
MTABot Apr 6, 2026
5564f14
Fix MTA server crash handler itself crashing (secondary crash, so du…
Dutchman101 Apr 6, 2026
3f20e4f
Addendum to 5564f14
Dutchman101 Apr 6, 2026
b9ff050
Fix 3 texture replacement bugs causing white textures and infinite re…
Dutchman101 Apr 6, 2026
9428164
Fix some more MTA server crash handler issues:
Dutchman101 Apr 6, 2026
2ae12e4
Fix more issues that can lead MTA Server crash-handler to not handle …
Dutchman101 Apr 6, 2026
1057523
Fix some remaining cases of white textuure bug
Dutchman101 Apr 6, 2026
cefc209
Fix some remaining causes of white texture bug #2
Dutchman101 Apr 6, 2026
07e7aad
Fix TXD ref count underflows in texture replacing
Dutchman101 Apr 7, 2026
eebcb69
Fix remaining TXD ref count underflows in texture replacing error/cle…
Dutchman101 Apr 7, 2026
0c3696e
Run clang-format.ps1
Dutchman101 Apr 7, 2026
be0c900
Fix TXD ref count underflow and leak in script parent reparenting and…
Dutchman101 Apr 7, 2026
9d27fbb
Fix streamer bug where objects can constantly stream in and out (#4744)
ArranTuna Apr 7, 2026
aa499a6
Fix texture replacement ref leaks, silent drops, and white texture re…
Dutchman101 Apr 7, 2026
7e3c9ea
Fix batched resource checksum mismatches
Dutchman101 Apr 7, 2026
33bd70a
Fix 2 txd memory leaks
Dutchman101 Apr 7, 2026
3bdc6ab
Fix white textures on vanilla models sharing a TXD slot
Dutchman101 Apr 8, 2026
f02ab7c
Addendum to 3bdc6ab
Dutchman101 Apr 8, 2026
62f5cf8
Visual Studio Update
MTABot Apr 8, 2026
4ab8484
Visual Studio Update
MTABot Apr 8, 2026
8cd1542
Fix SA crash @ 0x0116C9C5 (CTxdStore::GetTxd_0). There was prior fixe…
Dutchman101 Apr 9, 2026
c182403
Fix timed-object collision crash (#4782)
FileEX Apr 9, 2026
8039836
Refactor parts of texture system against white textures #1
Dutchman101 Apr 9, 2026
7b07305
Refactor parts of texture system against white textures #2
Dutchman101 Apr 10, 2026
efb5480
Addendum to 8039836 & 7b07305
Dutchman101 Apr 10, 2026
61b7c97
Visual Studio Update
MTABot Apr 10, 2026
911111e
Visual Studio Update
MTABot Apr 10, 2026
53521fa
Add automated client test infrastructure (#4789)
Lpsd Apr 10, 2026
382c529
Fix typos and improve clarity in AGENTS.md (#4785)
Lpsd Apr 10, 2026
6d69b53
Refactor parts of texture system against white textures #3
Dutchman101 Apr 10, 2026
ce80d43
Refactor parts of texture system against white textures #4
Dutchman101 Apr 11, 2026
5bd6ba9
Fix: guiSetInputEnabled function now make the cursor visible (#4788)
imtheproxy Apr 11, 2026
b092ac4
Add g_LeakedMasterTextures cross-check to GetModelTexturesInfo
Dutchman101 Apr 11, 2026
4ecceed
Small tweak for SafeDestroyTextureWithRaster
Dutchman101 Apr 11, 2026
85c4efd
Visual Studio Update
MTABot Apr 12, 2026
c22a345
Drop asm usages in game_sa
sbx320 Apr 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
FixNamespaceComments: false
ForEachMacros:
- foreach
- Q_FOREACH
Expand All @@ -70,6 +70,7 @@ IncludeCategories:
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
InsertNewlineAtEOF: true
IndentPPDirectives: BeforeHash
IndentWidth: 4
IndentWrappedFunctionNames: false
Expand Down Expand Up @@ -99,7 +100,7 @@ SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 12
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
Expand Down
5 changes: 5 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
Checks: 'readability-braces-around-statements,modernize-redundant-void-arg'
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '2'
42 changes: 42 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,45 @@ b42518e64803762d27fe6277b36044d1a71fc2c4
# Date: Mon Jun 12 19:01:59 2023 +0300
#
# Apply win-apply-clang-format.bat

466c162fbd1af45b290849cc0771fab66f55ba34
# Author: Dutchman101 <mcak105@outlook.com>
# Date: Wed April 9 19:01:39 2025 +0300
#
# Eliminate the use of http:// across whole project

e7c3619a5d5e0b6bf352befde6ff33c5921032b2
# Author: qaisjp
# Date: Wed Jan 7 16:42:45 2026 -0500
#
# codemod: disable clang-format for `__asm` directives (#4611)

c2a0ba939f0fabba96450d02ec56a111658230d6
# Author: qaisjp <qaisjp@gmail.com>
# Date: Sat Jan 17 10:20:18 2026 -0500
#
# Run ./utils/clang-format.ps1

6be278d2d37f5f9686984856b72573290852ed74
# Author: Qais Patankar <qaisjp@gmail.com>
# Date: Sat Jan 17 17:14:10 2026 -0500
#
# Remove more FixNamespaceComments changes (#4638)

a665e0144e7f71a4c7898f024262393f019f6b7b
# Author: qaisjp <qaisjp@gmail.com>
# Date: Sat Jan 17 17:30:03 2026 -0500
#
# Revert back to pre-enforcement

7cd17bc67c5c2d631b6aaac1ac48521b6922045e
# Author: qaisjp <qaisjp@gmail.com>
# Date: Mon Jan 19 01:50:18 2026 -0500
#
# fastmod '} // namespace [a-zA-Z0-9]+$' '}' Client/ Server/ Shared/

e75ba93362c6ae99d30a95d3f20a1e04ba46a22e
# Author: qaisjp <qaisjp@gmail.com>
# Date: Mon Jan 19 02:08:21 2026 -0500
#
# Run utils/clang-format.ps1
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.hh text diff=cpp
*.hpp text diff=cpp
*.h++ text diff=cpp
*.json text eol=lf
*.rc text
*.vcproj text eol=crlf
*.sln text eol=crlf
Expand All @@ -23,6 +24,7 @@
*.nsh text
*.xsd text
*.po text
*.ps1 text eol=lf
*.ico binary
*.png binary
*.bmp binary
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @multitheftauto/blue-collaborators
24 changes: 18 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
Before you go ahead and create a pull request, please make sure:
#### Summary
<!-- What change are you making? -->
<!-- When changing Lua APIs, consider including code samples and documentation. -->

* [ ] [your code follows the coding guidelines](https://wiki.multitheftauto.com/index.php?title=Coding_guidelines)
* [ ] your commit messages are informative ("update file.cpp" is unhelpful. "fix missing model in getVehicleNameFromModel" is helpful)

If your work is incomplete, **do not prefix your pull request with "WIP"**, instead
create a _draft_ pull request: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thank you!
#### Motivation
<!-- Why are you making this change? Which GitHub issue does this resolve, if any? Any additional context? -->



#### Test plan
<!-- How have you tested this change? This should give confidence to the reviewer -->
<!-- If someone makes changes to this code in the future, what steps can they follow to check that it's still working correctly? -->



#### Checklist

* [ ] Your code should follow the [coding guidelines](https://wiki.multitheftauto.com/index.php?title=Coding_guidelines).
* [ ] Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.
18 changes: 9 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
matrix:
platform: [win32, x64, arm64]
name: windows-${{ matrix.platform }}
runs-on: windows-2022
runs-on: windows-2025-vs2026
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/cache@v4
- uses: actions/cache@v5
id: cache-dxfiles
with:
path: utils/DXFiles
Expand Down Expand Up @@ -45,16 +45,16 @@ jobs:
- name: Create build artifacts
run: utils\premake5 compose_files

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: InstallFiles-${{ matrix.platform }}
path: InstallFiles/

macOS:
name: macOS
runs-on: macOS-13
runs-on: macOS-15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install MySQL
run: brew install mysql
Expand All @@ -64,7 +64,7 @@ jobs:
run: brew link --overwrite mysql

- name: Run Build
run: ./linux-build.sh --os=macosx
run: ./linux-build.sh

linux:
strategy:
Expand All @@ -75,7 +75,7 @@ jobs:
container:
image: docker://ghcr.io/multitheftauto/mtasa-blue-build:latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Run Build
run: ./linux-build.sh --arch=${{ matrix.architecture }}
run: /docker-entrypoint.sh --arch=${{ matrix.architecture }}
57 changes: 57 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: clang-format

on: [push, pull_request, workflow_dispatch]

jobs:
clang-format:
runs-on: ubuntu-24.04
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run clang-format
id: clang_format
continue-on-error: true
shell: pwsh
run: ./utils/clang-format.ps1 -Verbose

- name: Auto-fix formatting issues
if: |
steps.clang_format.outcome == 'failure' &&
github.ref == 'refs/heads/master' &&
github.event_name == 'push'
shell: bash
run: |
# Stage the formatted files (clang-format.ps1 already ran in-place)
git add -u

# Verify idempotency: run clang-format again on the staged files
# and check that no further changes are produced
./Build/tmp/clang-format -i $(git diff --name-only --cached)

if ! git diff --quiet; then
echo "::error::clang-format is not idempotent - cannot auto-fix"
exit 1
fi

# Allow commit to work
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

# Append a commit with a fix applied
git commit -m "Fix formatting issues introduced by ${GITHUB_SHA}

cc @${GITHUB_ACTOR} please make sure to run clang-format locally before pushing changes to avoid this in the future."

# And we're off to the races!
git push

- name: Report formatting issues
if: |
steps.clang_format.outcome == 'failure' &&
!(github.ref == 'refs/heads/master' && github.event_name == 'push')
shell: bash
run: exit 1
8 changes: 1 addition & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'windows-2025' }}
permissions:
# required for all workflows
security-events: write
Expand All @@ -43,13 +43,7 @@ jobs:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: c-cpp
build-mode: autobuild
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/rebuild-pots.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Rebuild en_US pot files"

on: [push, workflow_dispatch]
on:
schedule:
- cron: '0 0 * * 1' # Every Monday at 00:00 UTC
workflow_dispatch:

jobs:
test:
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/sync-master-to-maetro.yaml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "Tests"

on:
push:
branches: ["master", "tests"]
pull_request:
branches: ["master"]
workflow_dispatch:

jobs:
client-tests:
name: Client Tests (x86 Debug)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Generate project files
shell: cmd
run: |
utils\premake5.exe install_cef
utils\premake5.exe install_unifont
utils\premake5.exe install_discord
utils\premake5.exe vs2026

- name: Build Tests_Client
shell: cmd
run: msbuild Build\Tests_Client.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:PlatformToolset=v143 /nologo /v:minimal

- name: Run tests
run: Bin\tests\Tests_Client_d.exe --gtest_output=xml:Bin\tests\test_results.xml

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: Bin/tests/test_results.xml
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ Makefile
*.make
obj/

### VisualStudioCode ###
.vscode/*
#!.vscode/settings.json
#!.vscode/tasks.json
#!.vscode/launch.json
#!.vscode/extensions.json

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Expand Down
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"ms-vscode.powershell", // provides formatter for PowerShell scripts
"sleistner.vscode-fileutils" // generally helpful so you can easily delete files via the command palette
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [

]
}
Loading
Loading