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

Consistency overhaul #34

Open
wants to merge 106 commits into
base: master
Choose a base branch
from
Open

Consistency overhaul #34

wants to merge 106 commits into from

Commits on Apr 27, 2021

  1. Consistency improvements:

    * No `_` in parameter names.
    * ` = ` not `=` in defaults.
    * `sizeof (param)`.
    * Removed excess blank lines.
    * No Hungarian `f` on floats.
    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    d1ae325 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c151017 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bad002 View commit details
    Browse the repository at this point in the history
  4. id -> ID

    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    78ef1ca View commit details
    Browse the repository at this point in the history
  5. Revert forwards again.

    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    35e40a9 View commit details
    Browse the repository at this point in the history
  6. ID is bad...

    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    c37b66d View commit details
    Browse the repository at this point in the history
  7. More tweaks:

    * Change `<p/>` to `<br />`.
    * More `bool:` tags.
    * Refine more parameter names.
    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    e3584e1 View commit details
    Browse the repository at this point in the history
  8. Idiomatic DB function naming.

    Y-Less committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    6ec7e5f View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Name tweaks.

    Y-Less committed May 4, 2021
    Configuration menu
    Copy the full SHA
    a41db32 View commit details
    Browse the repository at this point in the history
  2. Fix clobbered names.

    Y-Less committed May 4, 2021
    Configuration menu
    Copy the full SHA
    04ca6ac View commit details
    Browse the repository at this point in the history
  3. Another tag and name clobber.

    Y-Less committed May 4, 2021
    Configuration menu
    Copy the full SHA
    2fa5a19 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2021

  1. More tags.

    Y-Less committed May 8, 2021
    Configuration menu
    Copy the full SHA
    c5b0181 View commit details
    Browse the repository at this point in the history
  2. More enums.

    Y-Less committed May 8, 2021
    Configuration menu
    Copy the full SHA
    5e45fae View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Lost a load of commits due to repo corruption:

    * `0xFF...`
    * Long names.
    * Spacing.
    * `#pragma unused SAMP_INCLUDES_VERSION`
    * Control tag generation with `NO_TAGS`, `WEAK_TAGS`, and `STRONG_TAGS`.
    * `WEAK_TAGS`.
    * `__MORE` and `__LESS`.
    * Proper constants.
    * Normal looking tags.
    Y_Less committed May 9, 2021
    Configuration menu
    Copy the full SHA
    a14dace View commit details
    Browse the repository at this point in the history
  2. More correct tag syntax.

    Y_Less committed May 9, 2021
    Configuration menu
    Copy the full SHA
    fc55463 View commit details
    Browse the repository at this point in the history
  3. Callback tags.

    Y_Less committed May 9, 2021
    Configuration menu
    Copy the full SHA
    1c03741 View commit details
    Browse the repository at this point in the history
  4. Document progressive tag enhancement.

    Y_Less committed May 9, 2021
    Configuration menu
    Copy the full SHA
    3704e48 View commit details
    Browse the repository at this point in the history
  5. List of all updated callbacks.

    Y_Less committed May 9, 2021
    Configuration menu
    Copy the full SHA
    cf78bdb View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. KEY:.

    Y-Less committed May 11, 2021
    Configuration menu
    Copy the full SHA
    1d46eb2 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    e075fb1 View commit details
    Browse the repository at this point in the history
  2. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    367be13 View commit details
    Browse the repository at this point in the history
  3. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    54eadde View commit details
    Browse the repository at this point in the history
  4. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    32f9805 View commit details
    Browse the repository at this point in the history
  5. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    8bd490d View commit details
    Browse the repository at this point in the history
  6. Internal enum names.

    Y-Less committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    7dc15f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2021

  1. Configuration menu
    Copy the full SHA
    5ad1825 View commit details
    Browse the repository at this point in the history
  2. More robust file inclusion/lookup.

    Y_Less committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    e13694a View commit details
    Browse the repository at this point in the history
  3. More definitions.

    Y_Less committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    72a0bbd View commit details
    Browse the repository at this point in the history
  4. INVALID_TIMER.

    Y_Less committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    6b39b0b View commit details
    Browse the repository at this point in the history
  5. Integrate recent PRs.

    Y_Less committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    1f9f768 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. typo fix: MAX_PLAYER_NAME minimum number.

    Kirima2nd committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    6fd3ac2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #41 from Kirima2nd/consistency-overhaul

    typo fix: MAX_PLAYER_NAME minimum number.
    Southclaws committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    51c9d9a View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Sync some defines with a_npc.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    1fcfac3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26ebabf View commit details
    Browse the repository at this point in the history
  3. Two small camel case fixes.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    29fa6fa View commit details
    Browse the repository at this point in the history
  4. More parameter renames, and GPCI.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    b9aa7e9 View commit details
    Browse the repository at this point in the history
  5. Missing tags.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    5ebff26 View commit details
    Browse the repository at this point in the history
  6. GetPlayerVehicleid -> GetPlayerVehicleID.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    2a73ac8 View commit details
    Browse the repository at this point in the history
  7. Remove lenof.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    171bb78 View commit details
    Browse the repository at this point in the history
  8. Spacing fix.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    f1667df View commit details
    Browse the repository at this point in the history
  9. Rename CAMERA: to CAM_MOVE: and add CAM_MODE:, for less clashy …

    …names.
    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    ebea75e View commit details
    Browse the repository at this point in the history
  10. Fonts and centre.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    6ffb6a8 View commit details
    Browse the repository at this point in the history
  11. TD fonts.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    7e89741 View commit details
    Browse the repository at this point in the history
  12. forceSync isn't a boolean.

    Y_Less committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    9e17152 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    643f3bb View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

  1. Variable name fix.

    Y_Less committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    7927f63 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Fix the pawndoc bug on print/printf.

    Y_Less committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    f9d22ce View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2022

  1. Switch pawndoc style.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    9f1f59f View commit details
    Browse the repository at this point in the history
  2. <library> header.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    10fe067 View commit details
    Browse the repository at this point in the history
  3. Fix some comment closes.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    f95bc67 View commit details
    Browse the repository at this point in the history
  4. Fix some comment closes.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    994f48c View commit details
    Browse the repository at this point in the history
  5. Add <library> identifier to all natives.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    048515f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9a3180 View commit details
    Browse the repository at this point in the history
  7. Fix some inclusions.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    e9b8955 View commit details
    Browse the repository at this point in the history
  8. Old-style include guards as well.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    2c1593a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d2b4ee3 View commit details
    Browse the repository at this point in the history
  10. Wrap pawndoc.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    af6b7d6 View commit details
    Browse the repository at this point in the history
  11. Wrap lines more aggressively.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    fd0663d View commit details
    Browse the repository at this point in the history
  12. Make the library declaration conditional.

    Y_Less committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    054510b View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. Set library on constants.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    475a955 View commit details
    Browse the repository at this point in the history
  2. Better constants.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    1e5a62d View commit details
    Browse the repository at this point in the history
  3. enum documentation

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    85b2063 View commit details
    Browse the repository at this point in the history
  4. Return the correct enum names.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    89e8cf7 View commit details
    Browse the repository at this point in the history
  5. Trying to fix the bug.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    c885739 View commit details
    Browse the repository at this point in the history
  6. Fix pawndoc bugs.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    3afdb09 View commit details
    Browse the repository at this point in the history
  7. Add /// before all enum documentation.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    72c76dd View commit details
    Browse the repository at this point in the history
  8. Add pawndoc.xsl.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    9c14138 View commit details
    Browse the repository at this point in the history
  9. Fix close tag.

    Y_Less committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    01a9527 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. description= to summary=

    Y_Less committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    3bcd294 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Switch back to real defines so #MAX_PLAYERS etc work correctly. Som…

    …e won't because they have brackets, but there's not much we can do about that except get 2.10.11 released. You can also define things like `MAX_PLAYERS` before including `a_samp` and it will check the tags.
    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    ab9c69e View commit details
    Browse the repository at this point in the history
  2. Re-enable deprecation warnings.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    873c512 View commit details
    Browse the repository at this point in the history
  3. Fix replacement loop.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    bde8012 View commit details
    Browse the repository at this point in the history
  4. Hide some pawndoc better.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    f98c14a View commit details
    Browse the repository at this point in the history
  5. Two missing a_npc library tags.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    c8ad7a5 View commit details
    Browse the repository at this point in the history
  6. Move some player defines around.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    c335579 View commit details
    Browse the repository at this point in the history
  7. Separate header comments.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    2295182 View commit details
    Browse the repository at this point in the history
  8. Move some defines to more appropriate files:

    *a_samp* and *a_players* share standard `playerid` callbacks.  *a_samp* has the basic ones, *a_players* has the ones that respond to functions within it, and those that are for actions between two players.  a_vehicles and a_objects have fairly obvious sets of callbacks.
    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    b0f9fe7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5b3d3a8 View commit details
    Browse the repository at this point in the history
  10. And match the checks.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    72f3957 View commit details
    Browse the repository at this point in the history
  11. Try fix old a_http includes even more.

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    e55f57a View commit details
    Browse the repository at this point in the history
  12. Add pawndoc="true".

    Y_Less committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    3d89fb0 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Remove #define HTTP.

    Y_Less committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    61501d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ec4cb3 View commit details
    Browse the repository at this point in the history
  3. Remove empty pawndoc blocks.

    Y_Less committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    eff8bfd View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. RACECP_TYPE:

    Y_Less committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    bfb8b6f View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Rename (simplify) the checkpoint tag.

    Y_Less committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    045fd54 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Some more bool: return tags.

    Y_Less committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    aafb808 View commit details
    Browse the repository at this point in the history
  2. Actor bool: returns.

    Y_Less committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    2b6b093 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. a_vehicle tags.

    Y_Less committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    819876e View commit details
    Browse the repository at this point in the history
  2. Another tag.

    Y_Less committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    570867e View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

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

Commits on Apr 3, 2022

  1. __OPEN_MP_VERSION

    Y_Less committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    2f9dbd3 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. More bool: return tags.

    Y_Less committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    98d7160 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. More tags

    Y_Less committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    bcd211b View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2022

  1. Unfortunately callbacks can't have their parameter names changed, so …

    …we are stuck with `color` in `OnClientMessage`.
    Y_Less committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    f058247 View commit details
    Browse the repository at this point in the history
  2. Remove accidental comments from warnings.

    Y_Less committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    e10ff99 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Switch strong/weak tag prefixes to T_/t_ - they're less widely us…

    …ed as a prefix.
    Y_Less committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    0bf3fc8 View commit details
    Browse the repository at this point in the history
  2. Move something.

    Y_Less committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    f2d13fd View commit details
    Browse the repository at this point in the history
  3. OnPlayerRequestDownload tag.

    Y_Less committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    7b10fd3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Merge remote-tracking branch 'remotes/origin/master' into consistency…

    …-overhaul
    
    # Conflicts:
    #	a_players.inc
    #	a_samp.inc
    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    ae862df View commit details
    Browse the repository at this point in the history
  2. Back-port weapon slots.

    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    ceefd22 View commit details
    Browse the repository at this point in the history
  3. Use weapon slots.

    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    81ba713 View commit details
    Browse the repository at this point in the history
  4. More documentation.

    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    cf49dbe View commit details
    Browse the repository at this point in the history
  5. Typo

    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    ae3989f View commit details
    Browse the repository at this point in the history
  6. PLAYER_VARTYPE_

    Y_Less committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    c2c58d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Prefer <p/>

    Y_Less committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    8b76202 View commit details
    Browse the repository at this point in the history