Unvanquished Development activity

Events from:

Daemon Engine
Daemon Engine
Wednesday, 24 April 2024
@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 12:43

Right, I modified this commit to iterate to tess.numSurfaceStages (before the next commit rewrites that).

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 24, 2024 12:23
2 commits to illwieckz/iterate-stages
@VReaperV VReaperV pushed to DaemonEngine/Daemon · April 24, 2024 11:45
1 commit to master
  • @VReaperV 4588564
    Add sky surfaces to world VBO
@VReaperV VReaperV closed an issue in DaemonEngine/Daemon · April 24, 2024 11:45
@VReaperV VReaperV merged DaemonEngine/Daemon#1097 · April 24, 2024 11:45
Add sky surfaces to world VBO #1097

Stops tess.vertexes from overflowing by adding all the sky surfaces to world VBO instead of doing Tess_SurfaceVertsAndTris() on them. This essentia…

+3 -3
@VReaperV VReaperV merged DaemonEngine/Daemon#1095 · April 24, 2024 09:49
Don't check overflow for data already in VBOs #1095

Overflow only makes sense when uploading new vertices, models that already have their vertices in vram will not overflow anything.

+2 -2
2 comments
@VReaperV VReaperV pushed to DaemonEngine/Daemon · April 24, 2024 09:49
1 commit to master
  • @VReaperV 3f17747
    Don't check overflow for VBOs

While updating the list of licenses in the NetRadiant PKGBUILD for Arch Linux (which now uses SPDX short identifiers, as recommended by Arch), I noticed that some licenses used in NetRadiant source code were not mentioned. I took a look at the different plugins/libraries, I hope I didn't forget any license.

Changes:

  • Mention missing Apache, MIT and Zlib licenses
  • Add the Apache license at the root of the tree
  • Rename "Modified BSD License" as "3-Clause BSD License" (see opensource.org/license/bsd-3-clause)
  • Fix some mistakes in the plugins/libraries list (MD5 and PrtView) and list a few additional stuff
  • GtkRadiant -> NetRadiant

Spike29 (6a1d7f72) at 24 Apr 09:39

Update the LICENSE file

@DolceTriade DolceTriade commented on DaemonEngine/Daemon#1095 · April 24, 2024 05:19

Tested with my chaingun model that crashes without this patch. Works fine.

@slipher slipher commented on DaemonEngine/Daemon#1100 · April 24, 2024 05:17

Adding const to pass-by-value parameters is just noise to me.

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 04:11

No need for an if. The functioning should be consistent zero or nonzero

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 04:08

Testing whether the begin pointer is null doesn't look good because it really depends on the details of how the array was allocated (e.g. malloc(0)

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 03:54

As long as you're in a .cpp file this can be spelled ASSERT. DAEMON_ASSERT need only be used when there is a conflict with other headers (such as g…

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 03:47

Don't use an 8-bit integer unless it is important to save space. x86(-64) doesn't have many instructions for integers smaller than 32-bit, so it's …

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 03:42

Don't really like this. Firstly it adds another global variable, and secondly when you add this kind of accounting variable which just summarizes w…

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 03:41

This commit (tr_sky: delete now useless tests (all stages are now considered to be) looks wrong. Only active stages are allocated

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 24, 2024 00:09
1 commit to illwieckz/const
  • @illwieckz 55e6e36
    gl_shader: more constness
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 24, 2024 00:02
1 commit to illwieckz/const
  • @illwieckz 670ae9d
    gl_shader: more constness
Daemon Engine
Daemon Engine
Tuesday, 23 April 2024
@illwieckz illwieckz opened DaemonEngine/Daemon#1100 · April 23, 2024 23:40
gl_shader: more constness #1100

gl_shader: more constness

+92 -92
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 23:40
2 commits to illwieckz/const
@illwieckz illwieckz created a branch in DaemonEngine/Daemon · April 23, 2024 23:40
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 23:09
1 commit to illwieckz/iterate-stages
  • @illwieckz ae15e42
    renderer: iterate shader stage array directly, avoid array of pointers
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 22:57
1 commit to illwieckz/iterate-stages
  • @illwieckz 5f0e0f6
    renderer: iterate shader stage array directly, avoid array of pointers
@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 23, 2024 21:28

The code iterate an array of MAX_SHADER_STAGES stages with numStages only when parsing shaders, as long as we can disable some and group them. When…

@illwieckz illwieckz opened DaemonEngine/Daemon#1099 · April 23, 2024 21:24
Iterate shader stages directly, avoid array of pointers #1099

Iterate shader stages directly, avoid array of pointers.

+70 -67
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 21:23
2 commits to illwieckz/iterate-stages
@illwieckz illwieckz commented on Unvanquished/updater#104 · April 23, 2024 21:08

any dpk that's not part of the current release is "safe" to be deleted right? Right. If it is required, it will be redownloaded? Right. If a dp…

@DolceTriade DolceTriade commented on Unvanquished/updater#104 · April 23, 2024 21:05

Oh...for the basepath, any dpk that's not part of the current release is "safe" to be deleted right? If it is required, it will be redownloaded?

@slipher slipher commented on Unvanquished/updater#104 · April 23, 2024 20:46

The updater definitely won't delete anything from <homepath>/pkg. Only DPKs in the installation directory are in question. Dependencies of maps is …

@illwieckz illwieckz commented on Unvanquished/updater#104 · April 23, 2024 20:41

Obsolete files are files not being part of the torrent, and not being part of the engine zip for the current platform. I talk about the install dir…

@DolceTriade DolceTriade commented on Unvanquished/updater#104 · April 23, 2024 20:30

What obsolete files? Files that haven't been touched in X months? Files that are not maps, dependencies of maps, and are not default files? idk see…

@illwieckz illwieckz commented on Unvanquished/updater#104 · April 23, 2024 20:27

I have a feeling some portion of people will get mad that older DPKs are removed. Why not providing a checkbox: [ ] delete obsolete dpk Also we …

@slipher slipher commented on Unvanquished/updater#104 · April 23, 2024 20:21

The downside of deleting the existing dir is that you have to download everything. Currently, we only download new files and changed files. Of co…

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 18:45
illwieckz/shader-stage-struct is now 0000000
@illwieckz illwieckz deleted branch illwieckz/shader-stage-struct in DaemonEngine/Daemon · April 23, 2024 18:45

Updated Apr 24

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 18:45
2 commits to master
  • @illwieckz 1c8380a
    renderer: use default value from shader_t and shaderStage_t
  • @illwieckz a43540d
    tr_shader: fix a bug where stages was used instead of stage (and then…
@illwieckz illwieckz merged DaemonEngine/Daemon#1094 · April 23, 2024 18:44
renderer: use default value from shader_t and shaderStage_t #1094

Use default value from shader_t and shaderStage_t. The clearing of the global shader may be a bit slower, but being able to rely on default values …

+72 -103
2 comments
@illwieckz illwieckz commented on DaemonEngine/Daemon#1094 · April 23, 2024 18:32

Something is broken in that code. I had a stray uint8_t somewhere instead of int8_t, turning -1 into 256, it is now fixed and it works as expected.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 18:22
1 commit to illwieckz/shader-stage-struct
  • @illwieckz 4a1858b
    renderer: use default value from shader_t and shaderStage_t
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 18:11
2 commits to illwieckz/skip-early
  • @illwieckz e88c0f2
    tr_shader: do `b = condition` instead of `if (!condition) b = false` …
  • @illwieckz 469fa03
    renderer: disable heat haze stage at load time
@illwieckz illwieckz commented on DaemonEngine/Daemon#1094 · April 23, 2024 18:10

Something is broken in that code.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 18:10
1 commit to illwieckz/shader-stage-struct
  • @illwieckz 5fe79ee
    renderer: use default value from shader_t and shaderStage_t
@sweet235 sweet235 commented on Unvanquished/Unvanquished#2948 · April 23, 2024 18:09

Note to self: it has been communicated to me in private that a minimum of 2 could be enough for both values.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 17:59
1 commit to illwieckz/shader-stage-struct
  • @illwieckz 828cc56
    renderer: use default value from shader_t and shaderStage_t
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 17:00
1 commit to illwieckz/shader-stage-struct
  • @illwieckz ea363c9
    renderer: use default value from shader_t and shaderStage_t
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 16:58
1 commit to illwieckz/shader-stage-struct
  • @illwieckz 2a6f371
    renderer: use default value from shader_t and shaderStage_t
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 15:49
1 commit to illwieckz/skip-early
  • @illwieckz c94e0e6
    tr_shader: do `b = condition` instead of `if (!condition) b = false` …
@illwieckz illwieckz commented on DaemonEngine/Daemon#1098 · April 23, 2024 14:38

I added an extra commit to do b = condition instead of if (!condition) b = false when disabling stages.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:37
1 commit to illwieckz/skip-early
  • @illwieckz ca6c985
    tr_shader: do `b = condition` instead of `if (!condition) b = false` …
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:37
2 commits to illwieckz/skip-early
  • @illwieckz f1e65a7
    renderer: do `b = condition` instead of `if (!condition) b = false`
  • @illwieckz c75bcc0
    renderer: disable heat haze stage at load time
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:36
2 commits to illwieckz/skip-early
  • @illwieckz 483c2c9
    renderer: do `b = condition` instead of `if (!condition) b = false`
  • @illwieckz 96ea1ca
    f
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:32
1 commit to illwieckz/skip-early
  • @illwieckz ea63ba5
    renderer: disable heat haze stage at load time
@illwieckz illwieckz opened DaemonEngine/Daemon#1098 · April 23, 2024 14:26
renderer: disable heat haze stage at load time #1098

Disable heat haze stage at load time, instead of iterating it and skipping it at render time.

+7 -5
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:25
2 commits to illwieckz/skip-early
@illwieckz illwieckz created a branch in DaemonEngine/Daemon · April 23, 2024 14:25
@illwieckz illwieckz commented on DaemonEngine/Daemon#1094 · April 23, 2024 14:14

I turned normalFormat into an array of short instead of float as it turns out we don't need floats there, all we store is {-1, 0, 1}.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:12
1 commit to illwieckz/shader-stage-struct
  • @illwieckz b4ea7ad
    renderer: use default value from shader_t and shaderStage_t
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 23, 2024 14:06
2 commits to illwieckz/shader-stage-struct
  • @illwieckz ba232e6
    renderer: use default value from shader_t and shaderStage_t
  • @illwieckz e591c70
    tr_shader: fix a bug where stages was used instead of stage (and then…
@VReaperV VReaperV opened DaemonEngine/Daemon#1097 · April 23, 2024 11:15
Add sky surfaces to world VBO #1097

Stops tess.vertexes from overflowing by adding all the sky surfaces to world VBO instead of doing Tess_SurfaceVertsAndTris() on them. This essentia…

+3 -3

Spike29 (757a17fb) at 23 Apr 11:06

Merge branch 'NateEag-master-patch-12920' into 'master'

... and 1 more commit

@VReaperV VReaperV opened an issue in DaemonEngine/Daemon · April 23, 2024 09:21
@sweet235 sweet235 commented on Unvanquished/updater#104 · April 23, 2024 08:14

I have a feeling some portion of people will get mad that older DPKs are removed. What about all the people who are already mad because we never …

@slipher slipher opened Unvanquished/updater#119 · April 23, 2024 08:06
Fix desktop file not showing up in application list (Linux) #119

On my virtual machine GNOME is refusing to display desktop entries where TryExec is quoted. Indeed the spec only mentions quotes in Exec. Regressio…

+2 -2
@DolceTriade DolceTriade commented on Unvanquished/updater#117 · April 23, 2024 08:04

Is this actually required? I'd prefer to not have a hard dependency on the updater for Unvanquished. I think if you want to use the updater/launche…

@slipher slipher closed an issue in Unvanquished/updater · April 23, 2024 08:03
Splash screen sticks at top of z-order during self-update #69

The splash screen can't be moved or minimized and is drawn on top of any other windows. The splash screen is also displayed during the entire updat…

2 comments
@slipher slipher pushed to Unvanquished/updater · April 23, 2024 08:03
2 commits to master
@slipher slipher merged Unvanquished/updater#116 · April 23, 2024 08:03
UI fixes #116

Fix window stuck on top of everything else during self-update Wider custom command line text field Fix the possibility relaunching twice on Window…

+27 -2
@DolceTriade DolceTriade commented on Unvanquished/updater#118 · April 23, 2024 08:03

That's my feeling too. if enough people request it we can look at implementing it.

@DolceTriade DolceTriade commented on Unvanquished/updater#104 · April 23, 2024 08:00

The downside of deleting the existing dir is that you have to download everything. Currently, we only download new files and changed files.

@VReaperV VReaperV opened DaemonEngine/Daemon#1095 · April 23, 2024 07:47
Don't check overflow for data already in VBOs #1095

Overflow only makes sense when uploading new vertices, models that already have their vertices in vram will not overflow anything.

+2 -2
@slipher slipher commented on Unvanquished/updater#15 · April 23, 2024 04:19

Closing this as I assume no one can reproduce it.

@slipher slipher closed an issue in Unvanquished/updater · April 23, 2024 04:19
Hangs at near-completion: Error extracting update. #15

For me, the updater got stuck showing a progress of 740.3 / 740.7 MiB, 00:00:00 left, still showing DL: 4.9 MiB/s UL: 0.0 Byte/s while there is no …

4 comments
@illwieckz illwieckz commented on Unvanquished/updater#63 · April 23, 2024 02:30

Related to: #117 This also relates with another talk I had in the past, suggesting the updater would just be named “Unvanquished.exe”, considerin…

@slipher slipher commented on Unvanquished/updater#30 · April 23, 2024 01:15

The menu could offer a download and upload speed limit setting. A drop down menu with "unlimited" and a few options (a range/selection of powers o…

@slipher slipher closed an issue in Unvanquished/updater · April 23, 2024 01:15
Feedback on 982b53b. #30

There needs to be a guaranteed-to-be-writable default install location for every OS. For Linux (and maybe also Mac) it should be somewhere in ~ (…

5 comments
@slipher slipher opened an issue in Unvanquished/updater · April 23, 2024 01:06
Offer to move installation if install directory is changed #118

From #30 The reaction to changing the install location via the menu currently is that the old install location is abandoned and the game is re-dow…

@slipher slipher opened an issue in Unvanquished/updater · April 23, 2024 00:59
Distributing updater with universal zip #117

@Viech suggested an interesting idea in #30 to distribute the updater inside the torrent/universal zip. This would let an installation originally m…

@slipher slipher commented on Unvanquished/updater#63 · April 23, 2024 00:48

OK, naming it updater in the install directory makes sense to me. I have changed my mind about this. The executable basename by itself is what yo…

@slipher slipher commented on Unvanquished/updater#104 · April 23, 2024 00:26

I have a feeling some portion of people will get mad that older DPKs are removed. To implement uninstall, I think I will just have it nuke the whol…

Unvanquished
Unvanquished
Monday, 22 April 2024
@slipher slipher commented on Unvanquished/updater#26 · April 22, 2024 23:52

The updater update case is still broken. In my test the game did not respond to inputs of any kind when launched after an updater update.

@slipher slipher commented on DaemonEngine/Daemon#1094 · April 22, 2024 23:02

I think with a float we should be explicit, != 0

@illwieckz illwieckz commented on DaemonEngine/Daemon#1091 · April 22, 2024 22:56

Should this just be an else rather than an else if case? Since no matter what the condition evaluates to lightStage will be set to -1 if that code…

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:55
2 commits to illwieckz/shader-stage-struct
  • @illwieckz 64f2a61
    tr_shader: fix a bug where stages was used instead of stage (and then…
  • @illwieckz bc3d18e
    renderer: use default value from shader_t and shaderStage_t
  • 6 more commits »
@illwieckz illwieckz deleted branch illwieckz/iterators in DaemonEngine/Daemon · April 22, 2024 22:50

Updated Apr 23

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:50
illwieckz/iterators is now 0000000
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:50
1 commit to master
@illwieckz illwieckz merged DaemonEngine/Daemon#1092 · April 22, 2024 22:50
gl_shader: use iterator #1092

Just a minor code rewrite.

+4 -14
@illwieckz illwieckz deleted branch illwieckz/legacy-dynamic-lighting in DaemonEngine/Daemon · April 22, 2024 22:49

Updated Apr 23

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:49
illwieckz/legacy-dynamic-lighting is now 0000000
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:49
2 commits to master
  • @illwieckz a793a65
    renderer: disable attenuation stages when legacy dynamic renderer isn…
  • @illwieckz 7fe2e83
    renderer: set white colormap for lightmap stage at shader loading time
  • 3 more commits »
@illwieckz illwieckz merged DaemonEngine/Daemon#1093 · April 22, 2024 22:49
Make the legacy dynamic light renderer work again #1093

Something is wrong as the light is too dim, but it works. About the wrongness, here with both map dynamic light, and weapon projectile dynamic light:

+48 -14
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 22, 2024 22:20
1 commit to illwieckz/legacy-dynamic-lighting
  • @illwieckz 60a3606
    renderer: disable attenuation stages when legacy dynamic renderer isn…
@illwieckz illwieckz commented on DaemonEngine/Daemon#1094 · April 22, 2024 22:14

Used std::array and ResetStruct. 👍️