Commit Graph

24 Commits

Author SHA1 Message Date
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
rtw1x1
cda1c73bd3 Networking Overhaul: Modern packets, buffers, handshake, dispatch & security hardening
See Readme
2026-02-08 07:36:07 +00:00
rtw1x1
509e2638cb XChaCha20-Poly1305 via libsodium 2026-02-03 11:12:32 +00:00
d1str4ught
30ff18e982 helping branch prediction 2026-01-30 03:29:58 +01:00
Mind Rapist
4df27653da MR-8: Fix semi-transparent effects 2026-01-18 09:00:29 +02:00
Mind Rapist
55b2d70459 MR-5: FlyTarget fixes 2025-12-29 00:21:32 +02:00
Mind Rapist
ef7c946cfb MR-3: Bunch of fixes 2025-12-25 08:39:58 +02:00
Mind Rapist
b344e5505e MR-2: Macro leftovers removed 2025-12-20 15:55:39 +02:00
Mind Rapist
7b08687023 MRMJ-1: Messenger & Skills fixes 2025-12-14 05:12:39 +02:00
heroesf
133ac6fc41 removed cpostit, unused files, small fix warning 2025-09-25 12:45:14 +02:00
mq1n
4894b0db9d fix build error in latest VS
https://i.imgur.com/ymbN7Vm.png
2025-09-23 18:19:31 +03:00
mq1n
51ee5feb78 fixed some crashes 2025-09-22 11:25:58 +03:00
d1str4ught
5b1d3c6bce new pack system 2025-09-21 05:28:55 +02:00
Amun
f6c9422048 Sound engine update 2025-09-01 14:46:23 +03:00
d1str4ught
f791ab6d8c world editor defines removed 2025-08-28 21:03:15 +02:00
d1str4ught
b66e045d80 particle rendering: render all visible particles 2025-08-28 20:52:54 +02:00
d1str4ught
a418f8616d include paths normalized 2025-08-28 20:50:20 +02:00
Amun
71e906b8f2 New sound system & removed miles 2025-08-27 21:55:11 +03:00
d1str4ught
1dbb9c6410 effect decorators removed 2025-08-22 23:18:06 +02:00
d1str4ught
e87b6fc67b ported to DX9 2025-08-19 03:18:56 +02:00
d1str4ught
ea712bec83 file encoding to utf-8 2025-08-19 00:30:50 +02:00
d1str4ught
be56f3f31a client almost builds 2025-08-19 00:20:40 +02:00
d1str4ught
4be475f111 init 2025-08-18 19:46:48 +02:00