Commit Graph

14 Commits

Author SHA1 Message Date
Joshua Ashton fc0e5c3ccc
Handle Half-Life 1 styled point light info
This adds support for the vector version of _light, where the first 3 values are the color and the alpha is the intensity.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-08-22 15:43:11 +01:00
Joshua Ashton f68d4836e1
Support for other formats of light_surface entities
In the light_surfaces we want to use, the light brighness is stored in the alpha of _light and the color as color255 in _texcolor.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-08-22 15:43:11 +01:00
Marco Cawthorne de441e71fa Run uncrustify over the codebase. 2021-08-04 22:23:18 +02:00
Marco Cawthorne 4e16e2dd49 Change back some of the behaviour, because it'd break usability with
specialized functions.
2021-08-04 12:09:49 +02:00
Marco Cawthorne 661d11c87a vmap: implement style, bouncescale, backsplash_fraction and backsplash_distance keys into light_surface 2021-07-12 10:13:00 +02:00
Marco Cawthorne b75af3b6c4 vmap: implement our own "light_surface" entity. 2021-07-12 09:26:05 +02:00
Marco Cawthorne 75565d2c0a vmap: no longer assume any entity with a classname starting with light* is
meant to be a static light.
2021-07-09 14:59:55 +02:00
Marco Cawthorne 223182aac5 vmap: Allow non underscore versions of light key/value pairs 2021-06-29 21:11:40 +02:00
Marco Cawthorne af91433555 Destroy the cmake dependency. 2021-06-02 12:31:03 +02:00
Marco Cawthorne 79b2c431b2 Work towards redoing some of the UX has begun, affecting our side-bar, the
way we spawn and manipulate objects... etc. Mail the feedback.
2020-12-19 21:17:19 +01:00
Marco Cawthorne f63e9baab4 vmap: We no longer have the minimap code, so strip the help output for it. 2020-12-08 13:14:47 +01:00
Marco Cawthorne 7f2d9153e2 Dropped support for the RtCW lighting model (linear only). You can still
mark select lights as linear if you please.
2020-12-07 18:58:58 +01:00
Marco Cawthorne 4891ea16f8 Delete -cpma light flag. As we cannot support it. -slow is now replacing
the -fast flag that should really be the default.
2020-12-07 17:02:57 +01:00
Marco Cawthorne 600a90924e Initial commit 2020-11-17 12:16:16 +01:00