-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code consistency, fixes, etc (#1194)
* tweak: list every enum value - these are meant to be easily copy/pastable, given that Lua doesn't have an `enum` type we should include every enum value so that all they have to do is convert it to a table * tweak: keep enum naming consistent, make sure language type is set, put comments on line before - this improves readability when scrolling through the docs, some enums need to scroll horizontal this will hopefully make this less common * tweak(entity): cleanup some of the APPLY_FORCE native docs * tweak(entity): convert rotation order to an enum * tweak(fire): update explosion eExplosionTag to known names * tweak(misc): cleanup native docs, point to ENABLE_DISPATCH_SERVICE for dispatch types * tweak(ped): refer APPLY_PED_DAMAGE_DECAL to GET_PED_DECORATION_ZONE_FROM_HASHES for the zones * tweak(shapetest): change 'flags' to 'traceFlags' * tweak(vehicle): update enum with known types * fix(ped): fix oversight with enums not being properly formatted - fixes wrong enum formatting that was introduced in 8e5c126 and was missed in review
- Loading branch information
1 parent
5d90f60
commit 9690545
Showing
48 changed files
with
945 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.