16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00
Commit Graph

2138 Commits

Author SHA1 Message Date
milek7
994b1446c1 toggleable lua support during build 2021-03-06 03:49:53 +01:00
Milek7
16f856c833 Merge pull request #13 from Xoov/sim
Added sound of working retarder
2021-02-21 19:30:43 +01:00
Królik Uszasty
3e0befb82b Better sound of retarder 2021-02-19 22:14:05 +01:00
milek7
7aaf300732 add missing EmergencyBrakeWarningSignal fiz entry 2021-02-17 13:07:31 +01:00
milek7
659345c1fa legacy wireframe fix 2021-02-16 23:12:25 +01:00
Królik Uszasty
6bceaa536e Added sound of working retarder 2021-02-13 23:52:53 +01:00
milek7
3d15cf3672 add crashreporter 2021-02-13 18:32:19 +01:00
milek7
2376aa6fb0 missing include in imgui_widgets.cpp 2021-01-31 00:19:04 +01:00
milek7
41cda4a889 skip precompiled headers for 3rd party files (fixes imgui2-modern renderer interaction) 2021-01-31 00:05:15 +01:00
milek7
4e6b2ecedd bump legacy ogl to 2.1 2021-01-30 23:43:03 +01:00
milek7
30da449423 assume skydome data is in sRGB in shader renderer 2021-01-30 23:14:24 +01:00
milek7
42cd390bc5 Add mat_default_detail.frag shader 2021-01-30 17:05:08 +01:00
milek7
a30d5f858a build system tweaks 2021-01-30 17:05:08 +01:00
milek7
ca8145904b do not make unnecessary exports on nix platforms 2021-01-30 16:00:58 +01:00
milek7
372f99afee Make repair button vehicle in debug mode instead call resetconsist command, add pantograph damage flag, repair pantographs in resetconsist command 2021-01-30 13:31:59 +01:00
milek7
810b7ad074 Position offset to Knorr EP TSt113 valve 2021-01-30 13:31:59 +01:00
milek7
3582078a9f Fixup of "probability" logic expression check 2021-01-30 13:31:59 +01:00
milek7
c9c31e6cf8 Modify voltage loss logic to improve logging 2021-01-30 13:31:59 +01:00
milek7
8de5bc8b9d Logtype category for traction issues, log also without debugmode 2021-01-30 13:31:59 +01:00
milek7
fbc2c2d3c2 appveyor dir change to prevent unnecessary git-dirty marking 2021-01-30 01:46:16 +01:00
milek7
8df7388db1 we do not use separate sampler binding, do not save them in imgui3 (also fixes gl3.0 context) 2021-01-30 01:36:39 +01:00
milek7
9b27b1e8c7 speed up MacOS builds by downloading dependencies 2021-01-25 01:47:38 +01:00
milek7
af39334c78 macos ci tmp 2021-01-25 00:30:46 +01:00
milek7
158c42b5f0 cleanup: remove VSDev camera implementation, remove symbols from CI because they are unreasonably big, mac CI tmp upload 2021-01-24 23:53:37 +01:00
milek7
610ae75b17 reenable precompiled header, add USE_LTO option, enable LTO in CI builds 2021-01-24 23:15:18 +01:00
milek7
3cb5a98b60 remove openglcolor.h from stdafx.h 2021-01-24 22:36:28 +01:00
milek7
90a6b7c3b5 handle different window/framebuffer sizes 2021-01-24 22:00:30 +01:00
milek7
34113bf7e7 Revert scaling changes. It breaks pickbuffers on Windows with DPI scaling. Needs more investigation.
This reverts commit d901177489.
2021-01-24 15:38:48 +01:00
milek7
ad7c0622f8 Revert "pick buffer debug"
This reverts commit a463846ce5.
2021-01-24 15:38:31 +01:00
milek7
a463846ce5 pick buffer debug 2021-01-24 14:37:10 +01:00
antonisauren
d1ecbdc8ff Sim (#11)
* Wheels animation distance changed to 200*D*LODbias

* Fixed spelling error in event syntax; old one remains for compatibility.

* Spelling error left in log text

* Zamiana metalic na floata z wazonym efektem.

# Conflicts:
#	shaders/light_common.glsl

* Detail normalmap shaders @Jan21

* Explicit type conversion

* Leftover metalic as bool

* Syntax error

* Normalmap sampling inside ParallaxMapping function
2021-01-23 22:24:14 +01:00
milek7
7422dddd02 handle both old- and new-style mipmap generation 2021-01-22 22:35:37 +01:00
milek7
63edbe91c2 on second thought, checking for function pointers is more optimal 2021-01-22 22:27:15 +01:00
milek7
9e7c528114 make legacy gl2.0 work without BaseVertex extensions 2021-01-22 22:19:23 +01:00
milek7
78a15bf527 fix swapped arguments to glUniformBlockBinding 2021-01-22 19:07:30 +01:00
milek7
839b2116df fixes in imgui gl2 interaction with renderers 2021-01-22 02:36:49 +01:00
milek7
8ec29babf9 improve context creation, add gfx.gldebug 2021-01-22 00:26:29 +01:00
Piotr
d901177489 MacOS native build fixes (#9)
* Added fWindowXScale and fWindowYScale to support retina/hi-res displays on MacOS

* Fixed mouse handling for hi-res/retina displays on MacOS with legacy renderer

* Gated glfwGetWindowContentScale with endif checking glfw version
2021-01-21 23:39:28 +01:00
milek7
ee3e94bd35 add macos imgui gl2 build to CI 2021-01-21 23:28:34 +01:00
milek7
7cacab0dc8 add gfx.angleplatform ini setting 2021-01-21 22:15:57 +01:00
milek7
1374dec99c imgui2 fix, relax GL context requirements for legacy mode 2021-01-21 20:23:53 +01:00
milek7
0aa4293a5a cleanup imgui impl include as we're using glad anyway 2021-01-21 19:57:47 +01:00
milek7
56eba08a6f CI shader validation 2021-01-21 15:51:03 +01:00
milek7
3a3104a521 gles tweak 2021-01-21 02:37:43 +01:00
milek7
edd218e880 don't need to check for clip origin in imgui (check wasn't correct for GLES anyway) 2021-01-21 00:40:39 +01:00
milek7
4e868288ee add support for ETC2_EAC in .ktx files 2021-01-20 22:46:52 +01:00
milek7
d5fadaf98c properly check for gles multisampling 2021-01-20 19:49:36 +01:00
milek7
5aa8dfe1a1 use DrawElementsBaseVertexOES if available 2021-01-20 19:39:05 +01:00
milek7
f0b364bafe basic GLES working again 2021-01-20 19:29:50 +01:00
milek7
97d6547824 log simulation timestamp, add highp int precision to gles shaders 2021-01-20 18:06:37 +01:00