Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document various HUD/CAM natives #933

Closed
wants to merge 12 commits into from
Closed

Document various HUD/CAM natives #933

wants to merge 12 commits into from

Commits on Nov 17, 2023

  1. Document various HUD natives

    Used actual names and documented what purpose they serve.
    freedy69 committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    d14a898 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d87de2b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Configuration menu
    Copy the full SHA
    6ed2209 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Added descriptions for a few camera DoF natives (#866)

    * Update SetCamFarDof.md
    
    Reduce redundancy by referencing examples instead.
    
    * Update SetUseHiDof.md
    
    Better to not link to URLs that could get lost in the future.
    
    ---------
    
    Co-authored-by: ammonia-cfx <[email protected]>
    coalaura and 4mmonium authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    9bf46ca View commit details
    Browse the repository at this point in the history
  2. Update SetMinimapComponent.md (#932)

    * Update SetMinimapComponent.md
    
    Add more component id's, an example and make some minor adjustments.
    
    * Accommodate review requests
    
    Reverted back to ID instead of id, and correct the return value to state that it is hardcoded to return 1.
    
    I'm going to leave the Any to int change as I think it would be better to specify it than not (However, I do see your point), if you desire it to be changed I'll do so.
    
    * Additional information
    
    Add info on component ID 9 and add information about what component IDs 6 through 14 are used for in the game.
    
    * Update SetMinimapComponent.md
    
    Slight corrections to the markdown, moved hud colors to parameters section.
    
    ---------
    
    Co-authored-by: ammonia-cfx <[email protected]>
    MadsLeander and 4mmonium authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    9ce8cd9 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    c1e35c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. feat(natives): expand example and update natives for enhanced functio… (

    #934)
    
    * feat(natives): expand example and update natives for enhanced functionality
    
    * Update ClearWeatherTypeNowPersistNetwork.md
    
    Provide a usage example, remove wrongly assigned alias and rename the `milliseconds` parameter to `transitionTimeInMs`.
    
    ---------
    
    Co-authored-by: ammonia-cfx <[email protected]>
    spacevx and 4mmonium authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    58e12b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. feat(natives/streaming): examples and updated natives for switch tran…

    …sition (#935)
    
    * feat(natives/streaming): examples and updated natives for switch transition
    
    * Update SwitchToMultiFirstpart.md
    
    Moved the note out of the code block.
    
    * Update SetCloudsAlpha.md
    
    Nitpicking on some grammar and slight correctness on what this native actually does.
    
    ---------
    
    Co-authored-by: ammonia-cfx <[email protected]>
    spacevx and 4mmonium authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    99a7a82 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Update GetInteriorHeading.md (#936)

    * Update GetInteriorHeading.md
    
    Added information about return value
    
    * Update GetInteriorHeading.md
    
    Added alias, added inroduction version back and changed return value text
    freedy69 authored Nov 26, 2023
    Configuration menu
    Copy the full SHA
    a432c57 View commit details
    Browse the repository at this point in the history
  2. IsPlayerDrivingDangerously (#813)

    * IsPlayerDrivingAgainstTraffic
    
    * Change name
    
    * Update IsPlayerDrivingDangerously.md
    
    Added an enum with different violation types.
    Added type 0 which I was able to test in-game, it only returns true when driving on paved sidewalks.
    
    ---------
    
    Co-authored-by: ammonia-cfx <[email protected]>
    Lucas7yoshi and 4mmonium authored Nov 26, 2023
    Configuration menu
    Copy the full SHA
    e499934 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Document cam shake natives

    freedy69 committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    19081b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a51ec16 View commit details
    Browse the repository at this point in the history