17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 22:39:19 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
maj00r
b8f040e6fd propagate template headers transitively, import Console where used
AnimModel.cpp reaches cParser through the simulation core, not a direct
import, so the previous pass missed it; the propagation now follows the
whole import closure. Train.cpp, drivermode.cpp and Globals.cpp call
Console:: inside _WIN32 guards without importing eu07.console - invisible
on Linux, where those blocks are skipped.
2026-09-10 01:41:24 +02:00
maj00r
6550c88536 give importers the headers module templates need
A template defined in a module interface is instantiated in the importing
unit, where its body's types must be complete. A declaration reaching the
importer only through the interface's global module fragment is not
enough for MSVC: cParser::operator>> uses std::stringstream, and every
unit that parsed a float got an incomplete type.

526 headers across 161 units, derived from what each interface's template
bodies actually name.
2026-09-10 01:20:33 +02:00
maj00r
2695c8e525 include what you use in betterRenderer
Its sources reached the standard library through the project headers they
included; those are imports now. 178 headers across 56 files, plus 18 C
library headers elsewhere for memcpy/printf and friends. MSVC's STL does
not supply these transitively the way libstdc++ does.
2026-09-10 00:26:55 +02:00
maj00r
2896c2dd60 add the C library headers MSVC needs
Unqualified uint8_t/size_t and friends were reaching 24 units through
some other header on libstdc++; MSVC's STL does not do that, which broke
gl/ubo.cppm (and made its UBS_PAD macro look like garbage). Also
silences C5244, MSVC's counterpart to the clang warning about glm being
included in the module purview, which is deliberate here.
2026-09-10 00:10:52 +02:00
maj00r
ce5ee288ff fix the clang CI build
Every module unit now includes the standard headers it uses. Declarations
reaching a unit only through an imported module's global module fragment
are reachable but not visible, so ADL misses the free operators older
libstdc++ declares beside a type - reproduced on ubuntu 24.04 (libstdc++
13), where gl/vao.cpp could not compare vector iterators.

Also drops a stale editor/editorSettings.hpp from the MSVC source list,
which broke the Windows configure step, silences the deliberate
include-in-purview warning in the glm wrapper, and removes GCC support:
clang or MSVC only.
2026-09-09 22:52:28 +02:00
maj00r
3f7960aad5 pch migration to modules [wip] 2026-09-09 20:35:26 +02:00
combolek
d863ec18c3 uilayer: Implement ui.bg.opacity setting (#139)
uilayer: Implement up ui.bg.opacity setting
2026-07-12 00:41:25 +02:00
docentYT
e95e00a2e2 Use texture id casting recommended by ImGui wiki 2026-05-12 18:04:50 +02:00
copilot-swe-agent[bot]
7e49aa8740 Rewrite #includes to use explicit subdirectory paths
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com>
2026-03-14 19:16:48 +00:00
Wls50
561b84a329 move vertex user data to a separate array
update vao creation to support optional vertex data
update mesh serialization to account for new user data location
change t3d spec: userdata:{float|uint|int} to userdata:bool
2024-07-06 16:04:35 +02:00
milek7
5bafa31f9d Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim 2022-01-05 22:21:05 +01:00
milek7
90a6b7c3b5 handle different window/framebuffer sizes 2021-01-24 22:00:30 +01:00
milek7
136e550ccc map set camera preset on middle click 2020-10-21 20:40:48 +02:00
milek7
1c40578d26 ubo padding fixes 2020-10-21 17:59:27 +02:00
milek7
6af6f5156d workaround for ebo binding issues, do not enable ai vehicles automatically on map 2020-10-21 00:45:19 +02:00
milek7
df87b37b5b make trackswitch window semitransparent 2020-10-20 18:56:55 +02:00
milek7
efb6e3f709 cross event detection also without :, bring highlight on map to front 2020-10-20 17:03:15 +02:00
milek7
78305e3b28 cross switch detection for map manual control 2020-10-20 02:17:21 +02:00
milek7
29f8f91ad8 Merge remote-tracking branch 'tmj/master' into sim 2020-10-18 23:35:14 +02:00
milek7
f6ce47f212 map ai command send feature, debug window event queue feature, fix timeoverride, ai restores light settings after clearing setsignal 2019-10-12 00:55:07 +02:00
milek7
0fe0894d59 map zoom tweaks 2019-10-06 14:41:37 +02:00
milek7
bb1c0d6895 map window improvements 2019-10-05 15:14:13 +02:00
milek7
5d193b40ff semaphore with stop signal marked on minimap, number of icons increased to 5 2019-09-19 23:13:45 +02:00
milek7
8f7e06c25c snapshot 2019-07-09 22:09:37 +02:00
milek7
a0c44fbaa3 snapshot 2019-07-02 15:33:49 +02:00
milek7
e22f020a59 wake up AI when sending alarm command 2019-04-10 11:08:32 +02:00
milek7
7261fe9fbd ai alert mode 2019-04-10 10:45:22 +02:00
milek7
691f0f28b2 changed map colors 2019-04-02 13:10:36 +02:00
milek7
33adffb614 map visualization features 2019-04-02 01:21:49 +02:00
milek7
aa8d66e5da recording 2019-03-25 01:12:19 +01:00
milek7
e6e5d6645b shader fix, vehicle move feature 2019-03-17 23:55:40 +01:00
milek7
a0738d109b geometry shader changes 2019-03-17 23:20:12 +01:00
milek7
4383b0c7e0 geometry shaders, map poi icons 2019-03-17 20:30:25 +01:00
milek7
e3c88b9834 network-aware obstacles, other changes 2019-03-16 17:13:46 +01:00
milek7
8b642205eb alerter fixes, removing obstacles, python config changes 2019-03-16 12:43:34 +01:00
milek7
3556a2d0e6 vehicle params window, aware system rewrite, sifa 2019-03-16 02:17:41 +01:00
milek7
f1c8c8f1cd obstacle inserting 2019-03-15 15:46:49 +01:00
milek7
7ca562211a improve nearest track-point search 2019-03-15 01:18:23 +01:00
milek7
3693c1660e renderer changes, time and environment window 2019-03-09 21:14:01 +01:00
milek7
748e7b1dda imgui include fix 2019-03-06 17:42:52 +01:00
milek7
1f0d8c4dc8 semaphores controllable on minimap 2019-03-06 00:58:12 +01:00
milek7
064b360a53 map work 2019-02-25 00:41:11 +01:00
milek7
939aa73384 switch state visualisation, semaphore tracking for map purposes 2019-02-22 22:21:23 +01:00
milek7
48afd2f62f map rendering improvements 2019-02-19 01:34:55 +01:00
milek7
5b32b4e926 higher quality map 2019-02-19 01:19:11 +01:00
milek7
89cf20a251 map improvements 2019-02-18 17:46:31 +01:00
milek7
52ff1ecb98 display train names on map 2019-02-18 00:07:09 +01:00