Unvanquished Development activity

Events from:

Daemon Engine
Daemon Engine
Sunday, 17 February 2019
@illwieckz
illwieckz pushed to DaemonEngine/Urcheon Feb 17, 2019
2 commits to master
  • @illwieckz c1c6295
    only set -dirty on version string for current tree, not past references
  • @illwieckz 5125c3e
    pak_config is required to build since reference
Unvanquished
Unvanquished
Saturday, 16 February 2019
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

I uploaded a backport dpk on my server, people can test this by joining. It features all the ui scaling changes I've done but the console one (sinc…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

While I was at tit, I fixed the boring displacement of cells in datagrid. before (see the ping value under the ping header, same for other columns):

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

This is how the console looks now: XGA: HD1080 (FullHD): UHD (~4K): People with very large screens can still leverage their big screen to displa…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#161 Feb 16, 2019

This is how console looked before: This is how it looks now: XGA: HD1080 (FullHD): UHD (~4K): People with very large screens can still leverag…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#161 Feb 16, 2019

The problem is that to get things properly displayed, and to provide consistent ui, and consistent interaction, things have to be at the same place…

@slipher
slipher commented on pull request DaemonEngine/Daemon#161 Feb 16, 2019

It's a bit odd to have the font size change when the window is resized. Not many applications do that (though come to think of it, the old UI syste…

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Feb 16, 2019
+5 -1
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

The console still needs to be scaled:

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

OK, I got the cursor scaled by making the engine rewriting its size. I also removed the hacky code that was adding an extra space above the main me…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 16, 2019

I managed to get the checkbox properly scaled, the only remaining issue now is the cursor… it looks like libRocket cursor only works with px or pt,…

Unvanquished
Unvanquished
Friday, 15 February 2019
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 15, 2019

For the range sliders, it was just using the default width because it was undefined, once a width is set these input are properly scaled. 👍

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 15, 2019

Showcase of the cursor and check box problem, you'll also notice that the slider bar length has fixed size too, this size looks to not be set in rcss

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 15, 2019

note that there is two kind of things I failed to made responsive cursor, for whatever reason the game expects px. checkbox, as it's a pixmap c…

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 15, 2019

Responsive circle-menu and hud: SVGA: FullHD: QHD: 4k:

@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 15, 2019

So, I added a commit to switch circlermenu radius from px unit to em unit. In fact it's a pseudo-em as it uses the em size of the root document, no…

Unvanquished
Unvanquished
Thursday, 14 February 2019
@illwieckz
illwieckz commented on pull request Unvanquished/Unvanquished#1106 Feb 14, 2019

An additional cvar may be added do scale down the default font size for people who have really large screen and want a smaller font.

@illwieckz
illwieckz opened a pull request in Unvanquished/Unvanquished Feb 14, 2019
WIP: responsive ui: compute font size from screen size #1106

/!\ Do not merge, this is work in progress! This is an attempt to set default size relative to screen size. Default libRocket font size is 12px, si…

+5 -0
@illwieckz
illwieckz opened a pull request in UnvanquishedAssets/unvanquished_src.dpkdir Feb 14, 2019
WIP: responsive ui: set font size using em unit to be relative to default font size #6

Do not merge, this is work in progress! To be really useful the game must compute the default font size relatively to screen size.

+12 -18
Daemon Engine
Daemon Engine
Monday, 11 February 2019
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 11, 2019

Sure, that's a problem, and we (Unvanquished) have a bigger problem: we have a playable character that have eyes almost on floor level: the Dretch.…

@Viech
Viech commented on issue DaemonEngine/Daemon#30 Feb 11, 2019

The last three screenshots look really noisy. You might want to set a minimum texture resolution for any notion of auto-enable of that feature, bec…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 11, 2019

Do the above scripts work automatically? I thought you were talking about the xonotic .shader files, but now I think you maybe talked about the m…

@slipher
slipher commented on pull request DaemonEngine/Daemon#157 Feb 11, 2019

Had to add some extra preprocessor magic since bool was defined as a macro on gcc.

@slipher
slipher commented on pull request DaemonEngine/Daemon#157 Feb 11, 2019

Convert bool to int

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 11, 2019

By no performance issue I mean it's playable with 100+ FPS while my GPU is on powersaving mode. It's a powerful GPU (R9 390X) but I run it in power…

@DolceTriade
DolceTriade commented on issue DaemonEngine/Daemon#30 Feb 11, 2019

By no performance issue, what do you mean (ie, what FPS do you get with parllax mapping vs without)? Also, those screenshots look really nice. Do t…

@ensiform
ensiform forked ensiform/Daemon from DaemonEngine/Daemon Feb 11, 2019

The Dæmon game engine.

C++ 54 Updated Feb 16

Daemon Engine
Daemon Engine
Sunday, 10 February 2019
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 10, 2019
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 10, 2019

Setting r_parallaxDepthScale -0.03 displays parallax correctly, as an additional proof xonotic's height maps they are reversed: It proves that par…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 10, 2019

So, currently this: textures/phillipk2x/computer-pk02_switches01c { qer_editorimage textures/phillipk2x/computer/pk02_switches01c dpoffsetmapping - .

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 10, 2019

So, I pushed a new attempt. Instead of waiting the end of the shader parsing (and having to store the diffuse map name somewhere), the code does a …

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#160 Feb 10, 2019

To be sure we talk about the same thing: the purpose of this is to only list what's loaded because of it being used, not to list what's available.

@slipher
slipher commented on pull request DaemonEngine/Daemon#160 Feb 10, 2019

This is not the only interface for opening a pak file, for example there is also FS::PakPath::ReadFile. So it's not exactly correct.

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 10, 2019

I also think that changing the stage type bits later does not work because the image is already loaded, and I guess the bits must be set before the…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 10, 2019

I have not tried but I'm now almost sure it won't work because this is a colorMap stage: { map textures/exomorphx/light/metal_light03 } and a diff…

@DolceTriade
DolceTriade commented on pull request DaemonEngine/Daemon#160 Feb 10, 2019

I feel like some combination of "which" and autocomplete somehow already does this.

@slipher
slipher commented on pull request DaemonEngine/Daemon#159 Feb 10, 2019

If you actually write the shader in this comment in a file, does it do what you want?

Daemon Engine
Daemon Engine
Saturday, 09 February 2019
@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 9, 2019

Basically in one case black is up and in the other case black is down. In Dæmon case the lack of alphachannel in normalmap produces a down height m…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 9, 2019

Quote from #159: Note that since Xonotic ships a heightmap with almost all its normalmap, I enabled temporarily parallax on all shaders just to ha…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

Note that since Xonotic ships a heightmap with almost all its normalmap, I enabled temporarily parallax on all shaders just to have a look. It work…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

If I hack stuff by disabling the color map stage and creating a brand new diffuse map stage instead with the same texture path, it works, but it's …

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

When I print numActiveStages the in CollapseStages() I get the expected amount of stages, for example 6 for this shader: textures/exomorphx/light-m…

@illwieckz
illwieckz commented on issue DaemonEngine/Daemon#30 Feb 9, 2019

So, after investigation, this is what I discovered: height maps are required (no magic computation at run time) height maps are expected to be sto…

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Feb 9, 2019
Add list files command #160

old commit by @slipher initially wrote for kharnov's purpose, was intensively used to clean-up the game packs from dust for 0.51 release. This is a…

+22 -0
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

Also, when this function is only used to tell if a file with a given basename exists (like in DarkPlaces compat code), both the prefix and the fina…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

I renamed it to R_FindImageLoader because it's its primary purpose, a loader is found because an alternative image is found for this loader, and th…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

To get a testbed, people may copy (or symlink) xonotic-20170401-maps.pk3 into a brand new directory, then run this code within that directory: p="$(l…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

At this point the engine code claims to turn this: textures/phillipk2x/computer-pk02_switches01c { qer_editorimage textures/phillipk2x/computer/pk0…

@VN0

An FPS/RTS hybrid game powered by the Daemon engine (a combination of ioq3 and XreaL)

C++ 426 Updated Feb 16

@slipher
slipher pushed to DaemonEngine/Daemon Feb 9, 2019
2 commits to master
@slipher
slipher merged a pull request in DaemonEngine/Daemon Feb 9, 2019
+67 -100
1 comment
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

For information this is how it looks on console: Debug: looking for extra maps for color map: 'textures/phillipk2x/computer/pk02_switches01c' Debug…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

I think there is a special command to list opened files, does someone remember it?

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

also the prefix is only set on rare use case (dds prefix like DarkPlaces/Doom3), it looks a bit costly to compute a string for every texture becaus…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

maybe, naming is part of "work in progress"

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

in fact the function takes filename as argument (in fact a basename, I edited this), then return a prefix string and an index to a given format (fo…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

for reference, this comment is misleading (I verified the keyword is never there): Daemon/src/engine/renderer/tr_shader.cpp Lines 1330 to 1336…

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

I've put Log::Notice everywhere, and when there is normalMap something in a shader, the original code passes something to ParseNormalMap.

@slipher
slipher commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

It looks to me like the 2nd parameter to Parse*Map functions is supposed the code of a q3 shader, rather than a filename.

@slipher
slipher commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

If the immediately preceding for loop does not find anything, this reads from an uninitialized value.

@illwieckz
illwieckz pushed to DaemonEngine/Daemon Feb 9, 2019
2 commits to master
@illwieckz
illwieckz merged a pull request in DaemonEngine/Daemon Feb 9, 2019
drop references to xmap #158

xmap was the name of the XreaL's fork of q3map no need to check for those keywords since original XreaL content is very unlikely to reach Dæmon wi…

+13 -14
@slipher
slipher commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

I'd suggest putting the entire filename in an std::string rather than the prefix in a char*.

@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#159 Feb 9, 2019

By not working I mean the engine reports to find the extra texture files, but unfortunately it only renders diffuse maps.

@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Feb 9, 2019
WIP: DarkPlaces compatibility: loads extra textures using suffixes [does not work yet] #159

Work in progress, I plan to disable it by default and to add a cvar to optionally enable it. The purpose is to load extra maps (normal map, specula…

+125 -36
@DolceTriade
DolceTriade commented on issue Unvanquished/Unvanquished#714 Feb 9, 2019

hm, ok. maybe we need an HTML escape function or something

Unvanquished
Unvanquished
Friday, 08 February 2019
@illwieckz
illwieckz commented on issue Unvanquished/Unvanquished#714 Feb 8, 2019

I just reproduced it, I've bound the < key as sprint key and I guess this continuously warning displayed, of course that character is not displayed…

@illwieckz
illwieckz reopened an issue in Unvanquished/Unvanquished Feb 8, 2019
Warning XML parse error on line 1 of . #714

Warning XML parse error on line 1 of . I'm having this spammed, so was another player. It got less common after a while, then triggered at random.

9 comments
@illwieckz
illwieckz opened a pull request in DaemonEngine/Daemon Feb 8, 2019
drop references to xmap #158

xmap was the name of the XreaL's fork of q3map no need to check for those keywords since original XreaL content is very unlikely to reach Dæmon wi…

+13 -14
Daemon Engine
Daemon Engine
Tuesday, 05 February 2019
@DolceTriade
DolceTriade commented on pull request DaemonEngine/Daemon#157 Feb 5, 2019
Daemon Engine
Daemon Engine
Monday, 04 February 2019
@slipher
slipher opened a pull request in DaemonEngine/Daemon Feb 4, 2019
Don't serialize bools by copying memory #157

Mostly fixes #148 although there could be a few more bools hiding out in structs.

+69 -52
@slipher
slipher pushed to DaemonEngine/Daemon Feb 4, 2019
2 commits to for-0.52.0
@slipher
slipher pushed to Unvanquished/Unvanquished Feb 4, 2019
2 commits to for-0.52.0
@illwieckz
illwieckz commented on pull request DaemonEngine/Daemon#156 Feb 4, 2019

abstract from irc: <illwieckz> I wonder for what the MinimumDelay class was useful for. is it a kind of cron? or does it just prevent to not do too…

@slipher
slipher opened a pull request in DaemonEngine/Daemon Feb 4, 2019
Daemon Engine
Daemon Engine
Tuesday, 29 January 2019
@slipher
slipher pushed to DaemonEngine/Daemon Jan 29, 2019
1 commit to for-0.52.0
  • @slipher 9875e80
    Remove parse.cpp (C preprocessor/tokenization library) and trapcalls
@slipher
slipher pushed to DaemonEngine/Daemon Jan 29, 2019
2 commits to master
@slipher
slipher merged a pull request in DaemonEngine/Daemon Jan 29, 2019
@slipher
slipher commented on pull request DaemonEngine/Daemon#155 Jan 29, 2019

I'm hoping to do some more work on initialization and shutdown soon. In the meantime I like to give it a name that highlights the weirdness.

@DolceTriade
DolceTriade commented on pull request DaemonEngine/Daemon#155 Jan 29, 2019

heh, maybe rename it to ShutdownSubsystems() or something and don't have it call Hunk_Clear()... idk, this seems like a weird construct anyways.

Daemon Engine
Daemon Engine
Monday, 28 January 2019
@slipher
slipher commented on pull request DaemonEngine/Daemon#155 Jan 28, 2019

The lifetime was... it gets leaked when svs gets memset. I've changed it to use a unique_ptr and destroy svs instead of using memset.

@slipher
slipher closed an issue in Unvanquished/Unvanquished Jan 28, 2019
warped battlesuit+chainsaw combinations leading to cgame numBones spam #503

"Playing" on chasm on the dev server with the tty client on current master of c5bb4b5 during the dev game gave me a continuous stream of [skipnotif…

10 comments
@slipher
slipher pushed to Unvanquished/Unvanquished Jan 28, 2019
2 commits to master
@slipher
slipher merged a pull request in Unvanquished/Unvanquished Jan 28, 2019
+4,595 -153
1 comment
@DolceTriade
DolceTriade commented on pull request DaemonEngine/Daemon#155 Jan 28, 2019

Please comment about the lifetime of the allocations.

Unvanquished
Unvanquished
Sunday, 27 January 2019
@slipher
slipher commented on pull request DaemonEngine/Daemon#155 Jan 27, 2019

It was broken but now it isn't.

Daemon Engine
Daemon Engine
Saturday, 26 January 2019
@slipher
slipher pushed to DaemonEngine/Daemon Jan 26, 2019
2 commits to master
@slipher
slipher merged a pull request in DaemonEngine/Daemon Jan 26, 2019
Unvanquished
Unvanquished
Tuesday, 22 January 2019
@slipher
slipher pushed to Unvanquished/Unvanquished Jan 22, 2019
1 commit to for-0.52.0
  • 6aa08b1
    Delete unused CG_CrosshairPlayer() and associated IPC message
@slipher
slipher merged a pull request in Unvanquished/Unvanquished Jan 22, 2019
@slipher
slipher pushed to DaemonEngine/Daemon Jan 22, 2019
2 commits to for-0.52.0
@slipher
slipher merged a pull request in DaemonEngine/Daemon Jan 22, 2019