* Add correct gCV_BoxOffset default value for TF2 bounding box
* Include correct height for TF2 bounding box in SetZoneMinsMaxs
* make shavit_zones_box_offset a bool & use height
* use division-by-2 instead of shift
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
* backup a lot of this zone_cache_t stuff since i'm going to do something else first
* AAAAAAAAAAAAAA
* add the sTarget checking
* this pr will get squashed so this message doesn't matter
* wip Shavit_RemoveZone
* wip ZF_Solid and TODO notes
* move hook thing
* do some zone insert stuff that doesn't reload *every* zone
* condense some zone editing global variables
* add some spaces to some ifs
* remove gV_MapZones
* remove random loop
* big change
* remove ClearZone()
* .
* ..
* add speed to zone beam settings
* add bhop_n0bs1_css stripper cfg for shit zone
* ...
* remove draw timer to OnConfigsExecuted because interval cvar
* change string for mapfixes print
* wew
* rename iSource to iForm and add sSource
* add Shavit_ReloadZones() and rename some source things
* add shavit-zones-http.sp
* add a getarray
* adjust the http api format slightly
* remove Shavit_GetStageZone() & fix zone inserts
* api update
* convar edits
* increase buf size
* wrong buf...
* normalize points inside Shavit_AddZone
* rename ZonesNotLocal to ZonesNotSQL
* small cleanup
* add the zone hooking menu stuff
* make the confirm menu Exit button STOP DRAWING!!!
* only try to draw trigger_multiples
* asdf
* typo
* improvements
* add distance to menu
* use PassesTriggerFilters like rngfix
* finish some docs
* make dist be meters
* more hooking tele things
* remove all this migration stuff
* add entity under crosshair
* shorten stage translation message
* fix normal CP menu spams on changing the style from non-kz to kz styles
* fix normal CP menu spams on changing from non-kz to kz styles, again
* merge OpenKZCPMenu() into OpenNormalCPMenu() and rename it to OpenCPMenu()
* fix handle error on server restart in KZCP styles
* 1. Added "kzcheckpoints_ontele" and "kzcheckpoints_ontele" style settings(merged in `shavit-kz.sp`).
2. Added "force"(ignore style access) parameter for "Shavit_LoadSnapshot()" and "Shavit_LoadCheckpointCache()".
3. Made "segments" as a style setting instead of special strings.
(use "segments" as specialstrings is still feasible)
note: maybe better to change TAS's default ranking multiplier to "0.0" since segmented style is also "0.0".
* 😵💫
* updated shavit-checkpoints.sp
* updated style-settings.sp
* Redo shavit_misc_resettargetname
Also changes the way event abuses are fixed
* Obsolete shavit_misc_resettargetname/classname cvars
Also few minor optimisations to the code
* Revert the deletion of shavit_misc_resettargetname/classname
* Move targetname/classname resets to OnStartPre() forward
* Rename shavit_misc_resettargetname cvar
* Move event reset code to shavit-zones
Also replaces PhysicsCheckForEntityUntouch() function call with PhysicsRemoveTouchedList()
* don't hook teleport on bots & some random code-style changes
* remove added whitespace
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
* Initial czones implementation
* ok men
* read cookie
* :pepega:
* Update shavit-zones.sp
* UltraThin lets goooo
* Translation, ZoneDisplay_None
* format a little bit
* more readable
* Fix typo and i did this on phone
* getting translation properly, thank you haze <3
* make GetZoneName check for >=ZONETYPES_SIZE
* i dont know why this was in common.txt, maybe parallel universe is real
* some random things
* combine custom-zone cookies
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>