vladislavbelov
bee5a4b3a6
Uses Canvas2D for str_gui_solid_mask material in GUIRenderer.
...
This was SVN commit r25597.
2021-05-30 00:30:55 +00:00
vladislavbelov
9e611e11f8
Uses Canvas2D for gui_basic material in GUIRenderer.
...
This was SVN commit r25596.
2021-05-29 23:41:07 +00:00
vladislavbelov
a462970707
Restores GL check for tests in TextureManager forgotten in 283f524fcf.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4030
This was SVN commit r25595.
2021-05-29 23:24:36 +00:00
vladislavbelov
7f0c4ee9ab
Removes unnecessary blend state changes from GUIRenderer.
...
This was SVN commit r25594.
2021-05-29 22:48:52 +00:00
vladislavbelov
df7cabd653
Implements DrawTexture in Canvas2D.
...
This was SVN commit r25593.
2021-05-29 22:30:23 +00:00
vladislavbelov
dacbab8b02
Fixes a mistype introduced in 283f524fcf. A smaller size might cause a write to an allocated memory.
...
This was SVN commit r25592.
2021-05-29 20:07:15 +00:00
vladislavbelov
57dde8d082
Provides Canvas2D for sprite rendering.
...
Differential Revision: https://code.wildfiregames.com/D4029
This was SVN commit r25591.
2021-05-29 19:47:36 +00:00
vladislavbelov
283f524fcf
Implements DrawRect in Canvas2D, removes CConsole background drawing with low level GL calls.
...
This was SVN commit r25590.
2021-05-29 12:31:14 +00:00
vladislavbelov
2f3837e0b5
Adds Canvas2D to encapsulate low level GL calls for 2D rendering.
...
Implements DrawLine for charts.
Differential Revision: https://code.wildfiregames.com/D4024
This was SVN commit r25588.
2021-05-28 16:35:57 +00:00
Imarok
6f9a162dfa
CList, COList, CDropdown, CText, CInput: Draw borders above the rest and improve scrollbar drawing order
...
Fixes : #6055
Differential Revision: https://code.wildfiregames.com/D4004
This was SVN commit r25587.
2021-05-28 16:32:04 +00:00
vladislavbelov
f7ad2daf62
Removes gui_solid material shader usages from scene rendering.
...
This was SVN commit r25582.
2021-05-27 20:13:47 +00:00
wraitii
bd8c6b1572
Fix GetLoadedModsWIthVersions following 498f0d420b
...
Accidentally broke it in 498f0d420b and didn't notice because D3968
fixes it again.
This was SVN commit r25579.
2021-05-27 08:30:27 +00:00
vladislavbelov
b17e8f3043
Removes global g_xres and g_yres dependency from GUI objects.
...
Differential Revision: https://code.wildfiregames.com/D4014
This was SVN commit r25577.
2021-05-26 18:52:22 +00:00
vladislavbelov
8f4b3dfb16
Removes GL1 constants deprecated in GL3+ from HWDetect since they are not useful anymore.
...
This was SVN commit r25571.
2021-05-25 22:34:57 +00:00
vladislavbelov
cf454fe533
Removes unused BitBuf added in 5b5726ed4d.
...
Bit operations can be done via std::bitset. The current implementation
is too specific to have it just for a future. Refs 479f59e386 ,
5ca66fc757 .
This was SVN commit r25569.
2021-05-25 19:42:06 +00:00
vladislavbelov
db9356944c
Removes unused base32 encoding added in 5cc814759f.
...
For modern standards base64 costs a bit less space and might be
implemented on demand. base32 usage was introduced in e0dfbe719d and
removed in 93cffe9deb .
Refs a34b759720 , 317f98a6c0 .
This was SVN commit r25568.
2021-05-25 19:18:22 +00:00
vladislavbelov
38e085a8c0
Removes unused wutil command line arguments parsing added in 5383eff15c.
...
We already have a single place to access arguments, so we don't need
a platform dependent place for that.
Refs 3f58951808 , 8c1bd05ab9 .
This was SVN commit r25567.
2021-05-25 18:42:27 +00:00
vladislavbelov
007d30f4b4
Removes outdated user32.dll preload hack added in 7a889deca3 and became useless in bbcd9b34cc.
...
Refs 4b33f49da1 , b242eafd02 , 56bd5b59b4 .
Tested By: Angen
Differential Revision: https://code.wildfiregames.com/D4007
This was SVN commit r25566.
2021-05-25 18:29:50 +00:00
wraitii
424b3cdcab
Fix 498f0d420b - re-add special-casing of mod & user mods
...
These do not have a mod.json, triggering spurious errors.
This was SVN commit r25548.
2021-05-25 07:50:04 +00:00
wraitii
863ef0f88a
Tweak sound distance attenuation & add configurability
...
Following D3108 / 876f6d5e50 , sounds are attenuated by their actual
distance. However, as noted by players on A24, the dropoff is stark and,
when zoomed out, can easily result in not hearing things that are
happening in the middle of the screen.
The new default settings almost double the max-range, change the minimum
range to have greater dynamic range, and reduce the stereo depth
slightly to better match the default camera FOV.
These are stored per sound-grounp, possibly allowing future tweaks on a
per-soundgroup basis, and are configurable.
Tested by: Imarok
Discussed over mail with: Samulis, Porru
Differential Revision: https://code.wildfiregames.com/D3612
This was SVN commit r25547.
2021-05-25 06:19:25 +00:00
wraitii
498f0d420b
Mod data parsing rework
...
Parses mod.json data not only in temporary JS values, but in a proper
C++ struct.
This will ultimately make it more convenient to pass more than just the
version to JS in D3968, and it enforces the schema a bit more.
Differential Revision: https://code.wildfiregames.com/D3988
This was SVN commit r25546.
2021-05-25 06:12:45 +00:00
wraitii
b56f0222d9
Prevent hotkeys from firing for disabled buttons
...
Reported by: Angen
Accepted By: Angen
Refs #6042
Differential Revision: https://code.wildfiregames.com/D4013
This was SVN commit r25545.
2021-05-25 06:10:53 +00:00
vladislavbelov
8742fac032
Reorders GL error checks during a frame to ask only when needed, combines depth test switches.
...
This was SVN commit r25543.
2021-05-24 21:03:48 +00:00
vladislavbelov
3e5638e548
Removes hardcoded 1px width borders from GUI sprites.
...
Tested By: Imarok
Differential Revision: https://code.wildfiregames.com/D4008
This was SVN commit r25541.
2021-05-24 18:42:51 +00:00
wraitii
0e234dbb61
Check translations for spam, broken font tags and sprintf errors.
...
Supersedes D1674 and D3520.
This still generates some false positives (particularly the
singular-plural check), but in general it will suffice to better check
bundled languages.
Refs #4250
Differential Revision: https://code.wildfiregames.com/D3926
This was SVN commit r25538.
2021-05-24 10:25:19 +00:00
vladislavbelov
768313d7db
Adds Vulkan check to HWDetect reports.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D3429
This was SVN commit r25535.
2021-05-23 22:32:29 +00:00
Imarok
4e8691acde
Clip rendered text correctly
...
General idea acked by: vladislavbelov
Tested by: Langbart
Differential Revision: https://code.wildfiregames.com/D4006
This was SVN commit r25534.
2021-05-23 22:05:17 +00:00
vladislavbelov
1e18a93302
Removes using shared_ptr to make STL usages consistent.
...
Differential Revision: https://code.wildfiregames.com/D4005
This was SVN commit r25533.
2021-05-23 22:01:18 +00:00
vladislavbelov
10cf87f3d1
Adds std namespace to shared_ptr usages in lib/tex.
...
This was SVN commit r25530.
2021-05-22 19:34:39 +00:00
vladislavbelov
5656c4117d
Adds std namespace to shared_ptr usages in lib.
...
This was SVN commit r25529.
2021-05-22 19:32:38 +00:00
vladislavbelov
b927f163d6
Adds std namespace to shared_ptr usages in scriptinterface and simulation.
...
This was SVN commit r25528.
2021-05-22 19:30:18 +00:00
vladislavbelov
d9d19543b5
Adds std namespace to shared_ptr usages in network and engine.
...
This was SVN commit r25527.
2021-05-22 19:28:40 +00:00
vladislavbelov
babfd913fb
Adds std namespace to shared_ptr usages in gui and sound.
...
This was SVN commit r25526.
2021-05-22 19:23:03 +00:00
vladislavbelov
b03b560e71
Adds std namespace to shared_ptr usages in graphics.
...
This was SVN commit r25525.
2021-05-22 19:21:33 +00:00
vladislavbelov
0728c58a4d
Removes unnecessary z-level from GUI sprite rendering.
...
Tested By: Imarok
Differential Revision: https://code.wildfiregames.com/D4003
This was SVN commit r25524.
2021-05-22 18:06:18 +00:00
vladislavbelov
faca950e83
Removes unused CONFIG2_CACHE_READ_ONLY config macro forgotten in 2374caac3e.
...
Refs 149ebb67c0 , 9269be9ee3 .
This was SVN commit r25522.
2021-05-22 14:04:11 +00:00
vladislavbelov
53369d593b
Removes Dehydra config macro. Introduced in 378bd89c1d.
...
Dehydra was abandoned in 2010s.
This was SVN commit r25521.
2021-05-22 13:28:55 +00:00
vladislavbelov
0812ded348
Removes unused CONFIG_OMIT_FP config macro forgotten in 0d23e3f333.
...
This was SVN commit r25520.
2021-05-22 13:18:15 +00:00
vladislavbelov
c73f674055
Removes unused DynHashTbl. Last usage was removed in 6c915291cc.
...
STL or Boost provides containers with DynHashTbl's functionality (and
not worse performance). Refs 9fd08fb044 , 5ca66fc757 .
This was SVN commit r25519.
2021-05-22 12:59:41 +00:00
vladislavbelov
b5535c4ba3
Removes OpenMP from external libraries. It's better to avoid its usage with a custom thread management.
...
This was SVN commit r25518.
2021-05-22 12:24:18 +00:00
wraitii
c535a282ac
Rename ModsLoaded to EnabledMods
...
Differential Revision: https://code.wildfiregames.com/D3987
This was SVN commit r25516.
2021-05-22 09:50:30 +00:00
wraitii
d7a4fb7c20
Try to punch a hole through local firewalls, and fallback to localhost.
...
Fixes (probably rare) regression in 2034136560 .
Differential Revision: https://code.wildfiregames.com/D3999
This was SVN commit r25515.
2021-05-22 08:34:00 +00:00
wraitii
8f8e29c092
Fix incompatible mods start: show both incompatible and enabled mods;
...
As noted by Angen in a26535d023 , refs 3bcf360107
When starting with incompatible mods, the non-incompatible mods were no
longer shown. This fixes that.
I think the code looks cleaner from this new control flow that
explicitly only mounts "mod".
Tested by: Angen
Differential Revision: https://code.wildfiregames.com/D3996
This was SVN commit r25510.
2021-05-22 07:33:49 +00:00
vladislavbelov
2be76d52b5
Reduces CConsole interface and simplifies the initialization step.
...
This was SVN commit r25507.
2021-05-21 23:10:43 +00:00
vladislavbelov
d7ac3c6b89
Removes macOS system version include added in 7e87211d91 and forgotten in 9a2d0f803e.
...
This was SVN commit r25506.
2021-05-21 21:46:01 +00:00
vladislavbelov
7ae43c149e
Replaces global g_VSync state by VideoMode property.
...
This was SVN commit r25504.
2021-05-21 21:33:43 +00:00
vladislavbelov
b2d0bd9a81
Adds a warning in case ShaderManager is trying to load an ARB shader with enabled GLSL.
...
This was SVN commit r25503.
2021-05-21 20:32:33 +00:00
vladislavbelov
4215533ea9
Removes inclusionPath forgotten in b469983c58.
...
This was SVN commit r25502.
2021-05-21 20:15:58 +00:00
vladislavbelov
78aedfcb93
Removes unused declarations of g_xres and g_yres.
...
This was SVN commit r25501.
2021-05-21 20:02:03 +00:00
vladislavbelov
fa44b9ae97
Removes g_ShowPathfindingOverlay forgotten in 72bd886f80.
...
This was SVN commit r25500.
2021-05-21 19:27:43 +00:00