mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
db10e0db87
In the old times the refresher was a stand alone DLL. For performance reasons and to avoid laggy input parts of the input system were implemented in this DLL. Now that the renfresher is part of the main binary and initialized at client startup we can remove most of the abstractions between input system, refresher and client. Also the input system can be treated as a normal subsystem. Changes: - Untangle the VID_* stuff and the IN_* stuff. The functions called by function pointers in in_state are now called directly and 'struct in_state' was removed. - Remove input.h and rename the appropriate backend functions. There's no longer a need for an abstraction layer between the input backend and the input frontend. - Move input initialization and shutdown into CL_Init(), like it's already done for all other subsystems. - Remove Key_ClearStates(). I'm pretty sure that's a left over from the old Win 9x backends and unnecessary. - General cleanup. |
||
---|---|---|
.. | ||
backends | ||
client | ||
common | ||
game | ||
server |