]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Clean up HUD code:
authorterencehill <piuntn@gmail.com>
Thu, 8 Oct 2015 19:02:50 +0000 (21:02 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 8 Oct 2015 19:02:50 +0000 (21:02 +0200)
commit8c7cd804a5fa9b90d8c2753265727f5ea32087cb
treef83e71d91af0c509dbc7e6a63f4caa861893d2eb
parente4eb7cbc96528b6bf17bbb074774086b20266268
Clean up HUD code:

* vehicle crosshair code is now separated from vehicle HUD code and gets called right after the normal crosshair code
* the new function HUD_Draw() takes care of drawing HUD and crosshair, instead of UpdateCrosshair(!)
qcsrc/client/view.qc
qcsrc/common/vehicles/cl_vehicles.qc
qcsrc/common/vehicles/vehicle.qh
qcsrc/common/vehicles/vehicle/bumblebee.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/vehicles/vehicle/raptor.qc
qcsrc/common/vehicles/vehicle/spiderbot.qc