Back to the Vavoom Forum Archives


Forum

DB2 Configurations + LightColor bug

Wed, 31 Mar 2010 22:12:54

kraigc

Hello, I've been working on a small Vavoom project, to get my feet wet in Vavoom's implementation of DECORATE and the VavoomC language... but I want it to be able to use UDMF maps... yet no configuration file exists for DB2 for Vavoom. The ZDoom engine maps work fine when I tweak the namespace (or even with the ZDoom namespace) of an existing configuration, and add stuff so it uses Vavoom's ACS definitions. But lightcolor and fadecolor properties are mixed up, causing colors to mess up. I notice this in the Vavoom source code: p_setup_udmf.cpp:
S.params.LightColour = 0x00ffffff;
I notice there is an extra set of zeros - two of them - before the 3 pairs of Fs. ZDoom's color scheme ONLY has RRGGBB (in hex format), so should this be 0xFFFFFF?. I do not know if this is a bug or not, but every sector I try to color using lightcolor or fadecolor turns [color=#000040:3pvghbh0]dark bluish purple.[/color:3pvghbh0] no matter what values I use. So yeah, having some troubles. Move this as needed, but I needed to say that, as I dunno if it's a bug or if editing the DB2 config is causing problems.
Sat, 03 Apr 2010 11:40:58

Janis Legzdinsh

What values did you use?
Sat, 03 Apr 2010 11:44:32

kraigc

[quote="Janis Legzdinsh":sezoygdu]What values did you use? one of them was the DB2 color picker for red, which was [color=#FF0000:sezoygdu]#FF0000[/color:sezoygdu].

Back to the Vavoom Forum Archives