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
milek7
809f0c2077
macos tweaks
2021-01-19 20:38:27 +01:00
milek7
5fcd108b3d
add MacOS ARM64 to CI builds
2021-01-19 15:47:33 +01:00
milek7
bba6c8410c
try to fix MacOS CI
2021-01-18 22:52:15 +01:00
milek7
d08146ed5b
pantograph PhysicalLayout fiz entry
2021-01-18 02:15:11 +01:00
milek7
d096c52b5b
energy meter tweaks
2021-01-16 22:55:57 +01:00
milek7
5d130c7fcf
..obviously only for vehicles that have pantographs at all
2021-01-16 19:52:30 +01:00
milek7
fdafcbc9be
energy counter for electric traction vehicles
2021-01-16 19:31:48 +01:00
milek7
f481fbb7cc
restore (presumably) correct sun/moon sizes
2020-12-02 02:40:07 +01:00
milek7
a182eec2a1
slightly better ui scaling
2020-12-02 01:49:58 +01:00
milek7
ee5551a424
try to improve motion blur
2020-12-01 01:45:48 +01:00
milek7
c004047276
Revert "zero future matrix for current vehicle"
...
This reverts commit c10c7e8fab .
2020-11-30 22:25:16 +01:00
milek7
c10c7e8fab
zero future matrix for current vehicle
2020-11-30 22:13:10 +01:00