Unvanquished Development activity

Events from:

Daemon Engine
Daemon Engine
Friday, 26 April 2024
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 03:04
1 commit to illwieckz/maxfps
  • @illwieckz 0d1177e
    qcommon: never sleep with common.framerate.max -2
@illwieckz illwieckz commented on DaemonEngine/Daemon#1102 · April 26, 2024 03:02

I was just going to say the same. 🤣️ I wrote that yesterday late in the night, it looks like my brain wasn't fully functionnal. 🤡️

@slipher slipher commented on DaemonEngine/Daemon#1102 · April 26, 2024 03:01

How is the new version supposed to be different than putting minMsec = 0?

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 03:00
1 commit to illwieckz/maxfps
  • @illwieckz 6244b99
    qcommon: never sleep with common.framerate.max -2
@illwieckz illwieckz commented on DaemonEngine/Daemon#1102 · April 26, 2024 02:59

How can a busy loop where you just poll for events a million times per second possibly be better than sleeping? Hmm… right I should better skip t…

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 02:58
1 commit to illwieckz/maxfps
  • @illwieckz 8d5daab
    qcommon: never sleep with common.framerate.max -2
@slipher slipher commented on DaemonEngine/Daemon#1102 · April 26, 2024 02:54

How can a busy loop where you just poll for events a million times per second possibly be better than sleeping?

@illwieckz illwieckz opened DaemonEngine/Daemon#1103 · April 26, 2024 02:30
tr_sky: delete now useless tests and use pstage #1103

Two commits extracted from #1099: #1099 They are in fact the continuation of (already merged) #1075: #1075

+2 -6
@illwieckz illwieckz created a branch in DaemonEngine/Daemon · April 26, 2024 02:27
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 02:27
2 commits to illwieckz/cleanup-sky
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 02:25
1 commit to illwieckz/maxfps
  • @illwieckz 9209ceb
    qcommon: never sleep with common.framerate.max -2
@illwieckz illwieckz opened DaemonEngine/Daemon#1102 · April 26, 2024 02:21
Never sleep with common.framerate.max -2 #1102

Never sleep with common.framerate.max -2. This is useful when benchmarking for performance, to avoid benchmarking the sleep function.

+20 -8
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 26, 2024 02:18
2 commits to illwieckz/maxfps
@illwieckz illwieckz created a branch in DaemonEngine/Daemon · April 26, 2024 02:18
Unvanquished
Unvanquished
Thursday, 25 April 2024
@DolceTriade DolceTriade commented on Unvanquished/Unvanquished#2955 · April 25, 2024 16:25

Cool, looks ready to merge.

@sweet235 sweet235 commented on Unvanquished/Unvanquished#2947 · April 25, 2024 16:18

This is not the solution. Some big maps still do not get complete navmeshes without this.

@sweet235 sweet235 commented on Unvanquished/Unvanquished#2955 · April 25, 2024 15:49

My server does not have the means to test this. But this is about local games mostly, and you already tested this.

@illwieckz illwieckz commented on Unvanquished/Unvanquished#2682 · April 25, 2024 03:25

With version 2024.1.0 (Based on Clang 18), Intel ICX entered the select club of compilers that produce a native gamecode that crashes when firing t…

@illwieckz illwieckz opened DaemonEngine/Daemon#1101 · April 25, 2024 00:25
tr_shade: do not use reflective specular code on PBR material #1101

It is not implemented yet and the shader permutation is disabled. It now makes possible to run buildcubemaps command even when there are PBR materi…

+5 -3
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 25, 2024 00:25
1 commit to illwieckz/pbr-no-reflective-specular
  • @illwieckz 1833ab1
    tr_shade: do not use reflective specular code on PBR material
@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 25, 2024 00:19
2 commits to illwieckz/pbr-no-reflective-specular
Unvanquished
Unvanquished
Wednesday, 24 April 2024
@slipher slipher commented on Unvanquished/updater#63 · April 24, 2024 22:54

I wouldn't call the updater unvanquished.exe because that's not the process open 99% of the time that you're playing. The honor of being renamed to u…

@slipher slipher pushed to Unvanquished/updater · April 24, 2024 22:46
1 commit to master
  • @slipher 7aa8c28
    Fix TryExec in Linux .desktop files (no quotes)
@slipher slipher merged Unvanquished/updater#119 · April 24, 2024 22:46
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
@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 21:07

This accounting variable already existed How do you mean? I think table is not temporary, but other than that the tmp idea seems decent.

@slipher slipher commented on DaemonEngine/Daemon#1099 · April 24, 2024 19:32

I know that it works with exactly how it is written now. I'm saying that it looks suspicious; provokes a "WTF" from the reader. In another part of …

@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 13:24

Why do I get that? AppVeyor was unable to build non-mergeable pull request

@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 13:21

I replaced uint8_t by size_t.

@illwieckz illwieckz pushed to DaemonEngine/Daemon · April 24, 2024 13:21
2 commits to illwieckz/iterate-stages
@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 13:12

This if is the solution for your other remark: Testing whether the begin pointer is null doesn't look good because it really depends on the detail…

@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 13:09

If there is no stage at all the code explicitly sets this pointer to nullptr and does no allocation at all.

@illwieckz illwieckz commented on DaemonEngine/Daemon#1099 · April 24, 2024 13:06

This data is only used when processing the global temporary stages array. I don't see why that global temporary numStage variable would have more o…

@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 license 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 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 …