Skip to content

Commit

Permalink
Update Fun module (#421)
Browse files Browse the repository at this point in the history
* Fun: Replace ENTINDEX with TypeConversion for consistency

* Fun: Add a class wrapping player's data

* Fun: Make TraceLine a post forward

Reason: as it is it breaks plugins hooking TraceLine because of the original game call is being superceded and other modules can't catch it. It looks like it's this way from the very start fun module has been introduced 13 years ago before. Fakemeta module comes a little later.

* Fun: Clean up code

* Fun: Toggle PlayerPreThink forward on demand

* Fun: Toggle TraceLine forward on demand

* Fun: Add HITZONE* constants for use with set/get_user_hitzone()

* Fun: Refactor a litte the player class

* Fun: Clean up a little more

* Fun: Fix typo in set_user_hitzones from previous commit
  • Loading branch information
Arkshine committed Aug 30, 2018
1 parent 6e9947b commit 1a2dd9e
Show file tree
Hide file tree
Showing 4 changed files with 490 additions and 470 deletions.

0 comments on commit 1a2dd9e

Please sign in to comment.