Just the YSI include files, none of the extra stuff.
https://github.com/pawn-lang/YSI-Includes/compare/v5.09.0982...v5.10.0006
const
data to legacy (const-incorrect) functions.__const
everywhere internally.https://github.com/pawn-lang/YSI-Includes/compare/v5.08.4329...v5.09.0982
Tiny fix from v5.08.4328. See that release for a full list of improvements.
omp-server -- args go here
input.-O2
and 64-bit compatibility, plus way more readability via y_emit constants.P:
macros. If you want debug prints use Debug_Print
.@cmd
, @test
and @hook
instead of the old-style fake keywords.ASK
implementation (from before open.mp had implemented dialogs).SetTimer
and SetTimerEx
to avoid unused public
functions being compiled.<library>
tags on way more functions and variables for -r
XML generation.hook
and hook function
).Server_HasNative
, Server_CallNative
, etc).Iter_Remove
usage directly inside foreach
loops.Iter_Add
for many different cases.__pawn_build
.There's probably way more. It has been over a year and over 1000 commits since the last release (and the repo only has around 3000 commits...)
New y_utils sub-libraries:
memset
, memcpy
, Quicksort
(1d, otherwise use md-sort) etc.IsNumeric
, HexStr
, etc.BernsteinHash
, base-64 encoding, etc.ftouch
, ftemporary
(with auto-cleanup), copying files, etc.IsNull
, unpacking, etc.getstringarg
etc.Vince0789 DEntis-T zsoolt997 leHeix mysy00 Sancky EOussama ohmypxl omcho420
Who all contributed to this version.
Nightly release, always synced to the latest version on github.
#pragma pack
, #pragma codepage
, #pragma semicolon
and #pragma option
detection.__pragma
backwards-compatibility.Random
for more min/max/exclude options.HashMap_Has
.y_ctrl
library.y_ascii
library.y_percent
library.decl
keyword from AMXModX.Bit_Toggle
.Plus, of course, many many fixes, tweaks, and compatibility improvemets to almost every part of the code. And documentation.
Changes:
CamelCase
.ENABLE_YSI_UNSAFE_STARTUP
for faster startup in very special cases where the scripter understands the risks.TryPercentage
, TryPermille
, and TryPPM
for random likelihoods.__emit
function inlining on the new compiler.P:F
(fatal error message) stops execution instantly.YSI_TESTS
mode.hook OnScriptInit
.CGEN
code space defaults._C<>
and _A<>
macros for common-case code generation (smaller intermediate steps).New features:
ftemporary
(with ftemp
wrapper) to create files with a defined lifetime.P:Q(varname);
for debuggin.repeat[n]
to y_timers.Abs()
and FloatAbs()
.FUNCTION_LENGTH
used throughout to support rare compilers.y_sparsearray
API improved.__emit
.Minor include path updates.