This deals with both refactoring and introducing text fading for the ghost cap point
Refactoring to use CNEOHud_WorldPosMarker as the base class, this also puts the hud section of the ghost cap point into its own file also
Utilising CNEOHud_WorldPosMarker as the base class also means it'll able to use it for the text fading from the center of camera which that class provides
The fading has its own separate ConVar neo_cl_hud_center_ghost_cap_size which have a lower threshold of 12.5 compared to the general neo_cl_hud_centre_size ConVar of 25. This makes the fading a lot closer to OG:NT fading of the cap point text.
This also finishes a TODO of alternate team per round handling, now handled by the non-hud class
Cleaned up some few codes, changed around to fit with NEOhud override methods, change scheme handling, pull out some code from .h to .cpp section, use C++11+ default class member variables initialisation
Description
CNEOHud_WorldPosMarker
as the base class, this also puts the hud section of the ghost cap point into its own file alsoCNEOHud_WorldPosMarker
as the base class also means it'll able to use it for the text fading from the center of camera which that class providesneo_cl_hud_center_ghost_cap_size
which have a lower threshold of 12.5 compared to the generalneo_cl_hud_centre_size
ConVar of 25. This makes the fading a lot closer to OG:NT fading of the cap point text..h
to.cpp
section, use C++11+ default class member variables initialisationToolchain
Linked Issues