~a1batross/xash3d-fwgs#13: 
Hard-coded gamedir hacks

Do we really need to hardcode features and bugcomp workarounds in engine source? Maybe provide separate configuration file to control this? For example, if mod is based on original valve or cstrike libraries, it may want to enable or not some of this features without doing it in game code This also will allow to enable engine-side features for mods

Status
REPORTED
Submitter
~mittorn
Assigned to
No-one
Submitted
1 year, 3 months ago
Updated
1 year, 3 months ago
Labels
No labels applied.

~mittorn 1 year, 3 months ago

I think, every workaround (non-feature) may be presented in separate flags field. We already have flag-to-string for features, but some short name will be useful too. we may hardcode default features and bugcomp flags in engine or in separate text file. Mod may override it by some text configuration file

~a1batross 1 year, 3 months ago

We still have no global configuration files btw.

~mittorn 1 year, 3 months ago

The issue is that renaming gamedir will change behavoiur. All such things should be configurable

~a1batross 1 year, 3 months ago

Well, I wanted some kind of gameinfo extension to allow setting individual features, since not everyrhing can be recompiled.

But not all features are actually require restarting the engine (and thus a game info key, or hell, even a feature bit)

Register here or Log in to comment, or comment via email.