Commit Graph

11 Commits

Author SHA1 Message Date
Marco Cawthorne 42b1abf668 Menu-FN/FS: Only parse sprays from logos/, not root of mod-dir
anymore. Users with giant BMP screenshots will rejoice
2021-08-29 09:53:36 +02:00
Marco Cawthorne 4952e7fbe0 Menu-FN & GLSL: Hack to allow for .colormap style top/bottom color
onto vertexlit entities. Requires .colormod[2] to be 2.
Used by the menu with MODEL_PREVIEW.
2021-08-27 21:52:41 +02:00
Marco Cawthorne 6de82ca18c Menu-FN: if a menu.dat is compiled with MODEL_PREVIEW defined,
we'll use a 3D player-model previews instead of the image based one
2021-08-27 21:15:57 +02:00
Marco Cawthorne fc63f9af55 Menu-FN: disable models/spray widgets in m_customize if we've got none. 2021-06-26 17:14:00 +02:00
Marco Cawthorne 6c59c47c93 Menu-FN: Top/Bottom color sliders should only be visible when gameinfo says
nomodels is 0.
2021-05-25 08:34:35 +02:00
Marco Cawthorne c821112d05 Menu-FN: Store top and bottomcolor in a global and recalculate the RGB values only
when the sliders are used.
2021-05-22 15:42:41 +02:00
Marco Cawthorne 09528c2944 Add support for top/bottom color on players and viewmodels.
Fix func_breakable's sound shader from precaching non existing sounds.
2021-05-20 16:01:07 +02:00
Marco Cawthorne 5e181c1128 Menu-FN: Spray-logo precaching optimisation 2021-02-17 11:59:38 +01:00
Marco Cawthorne adc951dd96 Menu-FN: Strip file extension from player model lookup, that avoids some
headaches when figuring out what model we're supposed to be using
2021-02-17 11:34:55 +01:00
Marco Cawthorne 82a501c0be Menu-FN: add 'nosprays' gameinfo setting as a companion to the 'nomodels'
setting, as some mods may choose not to support them
2021-02-17 11:28:09 +01:00
Marco Cawthorne 02efa21e3d Move game-specific sources into their respective mod-dirs. This was planned
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00
Renamed from src/menu-fn/m_customize.cpp (Browse further)