Remove UI_DrawProportionalString from cg_local.h
Remove ui/ui_public.h from code::blocks engine project

It's only used by cgame VM.
Remove UI_DrawTextBox
Use CG_DrawRect instead of UI_DrawRect
Merge UI_DrawHandlePic and UI_DrawNamedPic with CG_* code
Use CG_FillRect instead of UI_FillRect
Use CG_AdjustFrom640 instead of UI_AdjustFrom640
Use CG_SetClipRegion and CG_ClearClipRegion in UI
Use CG_Argv instead of UI_Argv
Rename UI_Cvar_VariableString to CG_Cvar_VariableString
Remove UI_UpdateScreen
Remove UI_SetColor

Just use the syscall like everywhere else in UIs and cgame.
Fix const issue with CG_Argv in UI_ConsoleCommand
Use Com_Clamp instead of UI_ClampCvar
Remove UI_StartDemoLoop
Remove unused variable 'newUI'
Remove m_entersound from missionpack UI

It's only used in q3_ui.
Make CG_CrosshairPlayer/CG_LastAttacker return -1 if not in-game
Register cgame commands while at main menu

Many are set to only execute while in-game though.
Remove UI_DrawCenteredPic