350 Commits

Author SHA1 Message Date
bdc9050199 Merge pull request 'build: linux mingw cross-compile fixes (partial, stuck at DIMM.h)' (#5) from claude/linux-mingw-crosscompile-fixes into main
Some checks are pending
build / Windows Build (push) Waiting to run
Reviewed-on: #5
2026-04-17 21:58:10 +02:00
Claude
dfe0baabce fix: restore linux mingw client build and gm smoke 2026-04-17 21:53:59 +02:00
Claude
2fe362e0a9 build: linux mingw cross-compile fixes (partial)
Enables the Linux -> win-x64 MinGW cross-compile path that got broken
after recent merges. Still INCOMPLETE — build fails later at missing
DirectX IME headers (DIMM.h) and likely more vendor SDK compat issues.
Commit captures the mechanical fixes so Jakub can adopt/iterate.

Changes:

1. toolchains/linux-mingw64.cmake — MinGW cross-compile toolchain
   (Windows x86_64 target, mingw-w64 gcc/g++/windres, lld linker).

2. CMakeLists.txt:
   - MSVC-only flags (/MP, /Zi, /DEBUG linker flag) gated behind
     if(MSVC) — they break MinGW gcc which treats /MP as filename.
   - UNICODE / _UNICODE defined globally (was inside if(MSVC), but
     WIN32_FIND_DATA etc. need it everywhere).
   - __int64 -> long long compile definition for non-MSVC compilers
     so the Granny SDK header parses.
   - -mssse3 compile option for non-MSVC so _mm_shuffle_epi8 in
     EterLib/GrpImageTexture.cpp inlines correctly.

3. Include fixes for Linux case-sensitive filesystem and stricter
   GCC standard library:
   - Poly/StdAfx.h: backslash in include path -> forward slash.
   - EterBase/Stl.h: <SSTREAM> -> <sstream>.
   - EterBase/Utils.h: add <cmath> so cos() in templates resolves.
   - AudioLib/MaSoundInstance.h: add <cstdint> so uint8_t vector
     template argument is valid.
   - AudioLib/Type.h: add <cstdint> for uint32_t.
   - extern/include/utf8.h: add <cstdint> for uint8_t/uint16_t.
   - EffectLib/Type.h: typedef typename std::vector<...>::iterator
     (dependent-name C++11+ compliance).

Not committed (needs manual recreation per checkout, or git-tracking
them needs buy-in):
   - 60+ stdafx case-variant symlinks (stdafx.h, StdAfx.h, Stdafx.h)
   - 7 directory case symlinks (Eterlib, eterLib, eterBase, Gamelib,
     gamelib, Eterbase, eterbase)
   - header case-variant symlinks in individual dirs

Still failing at:
   - src/EterLib/IME.h:7 wanting DIMM.h (DirectX IME, not in extern/
     and not shipped with mingw-w64). Needs either a shim header, a
     #ifdef _MSC_VER guard, or vendoring the Microsoft DirectX IME SDK.

Work done over ~2h trying to get a fresh release cycle through from
Linux. Stopping here because each fix exposes another vendor/compat
issue that benefits from Jakub's context of the build history.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 23:54:55 +02:00
00c5be4d8a Merge pull request 'issue #9: add sash slot and actor part support' (#4) from issue-9-sashes into main
Some checks failed
build / Windows Build (push) Has been cancelled
Reviewed-on: #4
2026-04-16 23:06:33 +02:00
d3966d971f Merge pull request 'issue #4: expose biolog submit network helper' (#3) from issue-4-biolog-submit-helper into main
Some checks failed
build / Windows Build (push) Has been cancelled
Reviewed-on: #3
2026-04-16 23:03:58 +02:00
server
64d1cc35c1 issue-9: add sash slot and actor part support 2026-04-16 21:08:27 +02:00
server
1eda856283 issue-4: expose biolog submit network helper 2026-04-16 17:26:51 +02:00
server
8a09d2c76a Project UI anchors from interpolated render state
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-16 10:56:45 +02:00
server
bfe52a81f9 Add high-FPS render pacing and telemetry
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-16 10:37:08 +02:00
server
49e8eac809 Revert stream M2Pack archive support
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 19:06:59 +02:00
server
0b852faf0e Support experimental stream M2Pack archives
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 18:40:40 +02:00
server
b353339bd8 Add GM smoke compare workflow for pack profiling
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 17:35:02 +02:00
server
db7ae1f841 Persist pack profile snapshots during timed captures
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 17:06:11 +02:00
server
2d9beb4793 Add pack profile capture workflow
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 16:39:16 +02:00
server
6ff59498d2 Add pack profile report parser
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 16:34:26 +02:00
server
ba6af8115b Add pack runtime profiling hooks
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 16:22:10 +02:00
server
ef7cdf2809 Reduce m2pack client hot-path overhead
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-15 15:43:26 +02:00
server
cb0867432e Add key id based m2p rotation support
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-14 12:20:19 +02:00
server
229c809b96 Add secure m2p loader with runtime key enforcement
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-14 12:12:41 +02:00
server
0c2d6c7c9c docs: add repo instructions
Some checks failed
build / Windows Build (push) Has been cancelled
2026-04-14 09:08:35 +02:00
d1str4ught
a755511082 Merge pull request #122 from SunTrustDev/bugfix/guild-mark
Fix default guild mark, color and format
2026-03-09 01:19:47 +01:00
SuntrustDev
127d60c604 Fix default guild mark, color and format 2026-03-04 20:18:02 +01:00
rtw1x1
f7a0480156 Merge pull request #118 from ErLullo/big-blind-fix 2026-02-19 20:15:29 +00:00
ErLullo
3ee2d9cb0f Merge branch 'main' into big-blind-fix 2026-02-19 20:32:03 +01:00
rtw1x1
a74adb8f6d Merge pull request #120 from rtw1x1/main
ML: HotReload fix TextTail
2026-02-19 18:58:04 +00:00
rtw1x1
5a11424733 Merge branch 'main' of https://github.com/rtw1x1/m2dev-client-src 2026-02-19 18:55:39 +00:00
rtw1x1
faa8f99dfc ML: HotReload fix TextTail 2026-02-19 18:55:22 +00:00
rtw1x1
eb7be12e5c Merge pull request #119 from rtw1x1/main
fix: SpeedTree fog fix
2026-02-19 18:52:59 +00:00
rtw1x1
3f8a664c2c fix: SpeedTree fog fix 2026-02-19 18:51:43 +00:00
ErLullo
94a773a1d5 Refactor fog settings handling in MapUtil 2026-02-19 12:09:33 +01:00
ErLullo
a3151f46c2 Refactor fog handling logic in MapManager 2026-02-19 12:08:38 +01:00
ErLullo
45335ca19a Add fog level default setting to environment data loading 2026-02-19 02:51:51 +01:00
rtw1x1
7ef5077b97 Merge pull request #117 from MindRapist/mr-16
Enable tooltip and countdown for all affects
2026-02-18 20:07:22 +00:00
Mind Rapist
6fb10a9135 Enable tooltip and countdown for all affects 2026-02-18 18:47:47 +02:00
rtw1x1
498c351d4c Merge pull request #110 from onurcan488/main 2026-02-18 15:52:06 +00:00
rtw1x1
3471964030 Merge pull request #116 from ErLullo/dump_fix 2026-02-18 15:51:45 +00:00
rtw1x1
0d748d2eb2 Merge pull request #114 from MindRapist/mr-15 2026-02-18 15:51:17 +00:00
rtw1x1
5db5e5543f Merge pull request #113 from SunTrustDev/bugfix/text-fields-improvements 2026-02-18 15:50:53 +00:00
rtw1x1
9f292a1719 Merge pull request #112 from SunTrustDev/bugfix/map-markers-uniform-scaling 2026-02-18 15:50:41 +00:00
rtw1x1
cfeaf05126 Merge pull request #111 from SunTrustDev/bugfix/pack-loading 2026-02-18 15:50:27 +00:00
ErLullo
216b82b32a Change uiSize type to lzo_uint in Decompress method 2026-02-18 09:27:31 +01:00
Mind Rapist
46c7c0ed59 DumpProto fix 2026-02-18 01:59:08 +02:00
Mind Rapist
2400d2a36f Various fixes and improvements 2026-02-18 01:00:24 +02:00
SuntrustDev
7eca2871d7 Use character midpoint calculation to increase cursor placement accuracy in text fields 2026-02-17 21:33:33 +01:00
SuntrustDev
122ca058de Prevent text fields cursor from being stuck on n-1 character when clicking on the end of the text field 2026-02-17 21:32:13 +01:00
SuntrustDev
c687bf7ed4 Prevent Password fields from being cut/copied 2026-02-17 21:30:15 +01:00
SuntrustDev
65c265067d Restore original clear behavior (Clear both guild marks and NPC/Warps) 2026-02-17 20:26:19 +01:00
SuntrustDev
41aecfbc4d Implement uniform scaling (Fixes GF large maps marker positionng issues)
Clear guild terrain marker on map change
Add AtlasScale capability
2026-02-17 14:46:41 +01:00
SuntrustDev
264a0a43d7 Fix: Reverted to sequential pack loading to avoid race conditions
Loads packs one by one so that duplicate file resolution
follows a deterministic order (last pack wins). Parallel loading made
the effective order depend on lock acquisition order, allowing older
packs to override newer ones. Sequential load stays under ~1s (~350ms
on typical hardware), so the performance tradeoff is considered acceptable.
2026-02-17 10:30:13 +01:00
onurcan488
f895a1a4a2 DirectX8 to DirectX 2026-02-16 21:37:53 +03:00