Arkshine
8ebb7be36d
Cvars: Add get|set_pcvar_bounds natives
2015-01-24 15:04:49 +01:00
Arkshine
a05d0df50e
Cvars: Add create_cvar native with more options (description, bounds)
2015-01-23 19:05:34 +01:00
Arkshine
15ad1d2247
Cvars: Moving cvars stuffs in its own files
...
cvars.cpp renamed to CvarManager.cpp
all cvars natives moved to a new cvars.cpp file
Pawn include is updated as wall.
2015-01-23 19:05:34 +01:00
Arkshine
768fa2c3bc
Cvars: Add hook_cvar_change, [enable|disable]_cvar_hook natives
2015-01-23 19:05:33 +01:00
Arkshine
0db5963641
Cvars: Remove global forward
2015-01-23 19:05:33 +01:00
Arkshine
faeaf9259e
Cvars: Add OnCvarChanged global forward
...
I really tried to use "cvar_changed" as name, but it bothered me so much to look that weird I could not keep it.
2015-01-23 19:05:31 +01:00
Arkshine
cdfd789f56
Rename change_level to engine_changelevel
2015-01-23 16:55:16 +01:00
Arkshine
03e426fc28
Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc
2015-01-16 23:21:01 +01:00
KliPPy
f3dfc6e4c6
Add any: tag to set_task parameter[]
2014-12-14 19:00:15 +01:00
9iky6
63aff82dc8
Update regex.inc
2014-11-07 18:11:55 +05:00
9iky6
21ae30b985
Fix stock regex_match_simple
...
Fix regex_match_simple.
Where regex_match_ex referred to in this file?
2014-11-07 18:09:10 +05:00
Arkshine
d0ab27092c
Allow show_menu native to send empty text and add reset_menu stock (bug 6244)
2014-10-24 20:36:38 +02:00
HttrckCldHKS
3953db97cd
Improving Code
2014-10-18 11:11:10 -07:00
HttrckCldHKS
7ced590cbc
Improving Code
2014-10-18 11:04:10 -07:00
HttrckCldHKS
5d2b738ec1
Improving Code
2014-10-18 10:36:07 -07:00
HttrckCldHKS
3615e717ca
Adding New Game Modifications Due Colored Menus
...
Adding New Game Modifications Due Colored Menus.
2014-10-18 10:10:58 -07:00
9iky6
8ea62d22cb
Update engine_stocks.inc
...
When compiling was varningov , and the function itself was crooked written
2014-10-05 16:19:47 +06:00
Karol Szuster
47413928c8
Fix a typo in documentation.
2014-08-29 16:48:30 +02:00
Arkshine
520493fab1
Compiler: Add #pragma deprecated.
...
This is based on SM, including patch to support macros/constants (https://hg.alliedmods.net/sourcemod-central/rev/ef8dd1cddc35 ).
Updated also some pawn includes to use this new pragma.
2014-08-26 09:04:36 +02:00
Vincent Herbet
bd08cc5126
Merge pull request #126 from Arkshine/feature-find-player-engclient_print
...
Allow some natives to be used on connecting players (bug 6229).
2014-08-19 18:35:52 +02:00
Arkshine
68aec7eec0
Use new flags in get_players/find_player instead to avoid breakage.
2014-08-19 15:39:06 +02:00
Ryan
4dd53b333f
moving comment
2014-08-18 06:34:18 -05:00
Ryan
b1b47a6d4c
fix compile error
2014-08-18 05:36:37 -05:00
Vincent Herbet
8f2aeed9da
Fix missing TE_BEAMENTPOINT define.
2014-08-15 14:20:51 +02:00
Vincent Herbet
fc1732e758
Fix possible compatibility issue,
...
Unfortunately some plugin doesn't explicit max length, resulting a compilation error with AMXX 1.8.3 compiler.
2014-08-09 13:09:53 +02:00
Valentin Grünbacher
b096f94ca4
amxconst: Purge tabs
2014-08-07 23:13:03 +02:00
Valentin Grünbacher
a63042d961
amxmodx/cellarray: Assorted consistency updates and typo fixes
2014-08-07 23:02:39 +02:00
Valentin Grünbacher
8b42767b19
amxmodx: Precaching documentation is the bane of my existence
2014-08-07 22:01:21 +02:00
Valentin Grünbacher
20a173d8a3
amxmodx: Improve precache comments
2014-08-07 21:49:56 +02:00
Valentin Grünbacher
08315a4329
message_const: Move TE_USERTRACER example into the comment block
2014-08-07 21:42:18 +02:00
Valentin Grünbacher
4231c5a6ae
amxmodx: Sixth and final batch of documentation updates
2014-08-07 21:26:37 +02:00
Valentin Grünbacher
bbffcbf739
cellarray: Update lying ArrayCreate doc
2014-08-07 21:17:45 +02:00
Valentin Grünbacher
88b69ea8a1
amxmodx: Update change_level doc for consistency
2014-08-07 01:46:11 +02:00
Valentin Grünbacher
1fb91dc02e
Merge branch 'master' of ssh://github.com/alliedmodders/amxmodx into inc-doc
...
Conflicts:
plugins/include/amxmodx.inc
plugins/include/message_const.inc
plugins/include/sockets.inc
2014-08-07 01:44:04 +02:00
Vincent Herbet
d3bc58d80b
Merge pull request #101 from Arkshine/textparsers
...
Introduce TextParser API
2014-08-07 01:24:51 +02:00
Vincent Herbet
c72d130fde
Merge pull request #104 from Arkshine/add-change_level
...
Add change_level() native.
2014-08-07 01:24:36 +02:00
Arkshine
58b6f9f353
fix the documentation. How it's possible to not see a double comma!
2014-08-07 01:26:05 +02:00
Arkshine
e9eaae4dd1
Fix documentation.
2014-08-07 01:21:22 +02:00
Arkshine
29eb4e4647
Fix documentation.
2014-08-07 01:18:45 +02:00
Arkshine
6b5387f428
Fix documentation.
2014-08-07 01:16:44 +02:00
Valentin Grünbacher
c1ed795196
sockets: Convert file to UTF-8
2014-08-07 00:51:17 +02:00
Valentin Grünbacher
9a0a52b7b2
amxmodx: Fix typos, touch up some descriptions, remove/merge lonely comments
2014-08-07 00:46:16 +02:00
Valentin Grünbacher
37e22dc22f
amxmodx: Fifth batch of documentation updates
2014-08-07 00:19:24 +02:00
Vincent Herbet
fb4d05fd60
Fix documentation.
2014-08-06 19:39:19 +02:00
Arkshine
3369f6d115
Update license in pawn includes and add them in project files.
2014-08-06 09:24:09 +02:00
Arkshine
037af0aec2
Split INI/SMC API.
2014-08-06 09:17:47 +02:00
Arkshine
0cf5a2e12f
Expose ParseFile_INI to API.
...
Some minor changes have been made in parser:
- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
Arkshine
9af7931a79
Introduce TextParser API.
2014-08-06 09:17:43 +02:00
Arkshine
023c1e3baf
Geoip: Fix missing continent id and fix indentation.
2014-08-05 23:00:00 +02:00
Valentin Grünbacher
3a232f1576
message_const: Add placeholder titles for TE_* messages missing a description
2014-08-05 20:18:16 +02:00
Arkshine
17e0ab99e6
Geoip: Update documentation.
2014-08-05 20:12:20 +02:00
Valentin Grünbacher
9885c926e9
message_const: Fix up all headings and move notes into the new headings
2014-08-05 20:09:57 +02:00
Arkshine
d2ed9e70cd
Geoip: Add an optional parameter in some natves to get a result in player's language.
...
This is new with Geoip2 database where some entries, like country, city, etc, are translated in several languages.
So far: de, en, es, fr, ru, pt-BR, zh-CN.
2014-08-05 20:09:16 +02:00
Arkshine
abaee9f4a3
Geoip: Add geoip_continent_name() native.
2014-08-05 20:08:30 +02:00
Arkshine
fc19f53ea9
Geoip: Add geoip_continent_code() native.
2014-08-05 20:08:28 +02:00
Arkshine
81d56dfdc0
Geoip: Add geoip_distance() native.
2014-08-05 20:08:27 +02:00
Arkshine
6941e406f4
Geoip: Add geoip_latitude() and geoip_longitude() natives.
2014-08-05 20:08:25 +02:00
Arkshine
b439753ac5
Geoip: Add geoip_timezone() native.
2014-08-05 20:08:24 +02:00
Arkshine
c11f721ad4
Geoip: Add geoip_region_name() native.
2014-08-05 20:08:22 +02:00
Arkshine
b61ed9fa3e
Geoip: Add geoip_region_code() native.
2014-08-05 20:08:20 +02:00
Arkshine
95bc1703a6
Geoip: Add geoip_city() native.
2014-08-05 20:08:19 +02:00
Valentin Grünbacher
2659e63483
amxconst: Add some more structure
2014-08-05 18:59:08 +02:00
Valentin Grünbacher
d9b20d7896
amxconst: Move SND_* constants where they belong
2014-08-05 18:48:37 +02:00
Valentin Grünbacher
566596f7b4
cellarray: Touch up documentation to make the parser happy and make it consistent
2014-08-05 16:05:19 +02:00
Arkshine
c9ea68d1d3
Fix typo in documentation.
2014-08-05 11:41:55 +02:00
Arkshine
10d5c8e9ad
Add change_level() native.
2014-08-05 09:49:32 +02:00
Valentin Grünbacher
d60c94cbb1
amxmodx: Fourth batch of documentation updates
2014-08-05 01:39:16 +02:00
Valentin Grünbacher
9e9e3a9abd
hlsdk_const: Fix up section heading to make docgen happy, purge tabs
2014-08-04 23:54:07 +02:00
Scott Ehlert
f787db1be5
Update license headers for plugins and includes.
2014-08-04 13:18:41 -05:00
Valentin Grünbacher
63cf35b904
hlsdk_const: Fix up headings for proper display in api reference
2014-08-04 19:55:45 +02:00
Valentin Grünbacher
bc3808cb3f
ham_const: Fix up headings for proper display in api reference
2014-08-04 19:39:40 +02:00
Valentin Grünbacher
b5aef1856d
amxmodx: Third batch of documentation updates
2014-08-04 19:24:36 +02:00
Valentin Grünbacher
f134ff9fdf
amxmodx: Second batch of documentation updates
2014-08-04 16:29:01 +02:00
Valentin Grünbacher
c9316542be
amxconst: Grant @xPaw his beloved tabs
2014-08-04 02:32:12 +02:00
Valentin Grünbacher
8ba288cfb1
amxmodx: First batch of documentation updates
2014-08-04 00:48:37 +02:00
Valentin Grünbacher
9544364116
amxconst: Purge tabs
2014-08-04 00:35:52 +02:00
Valentin Grünbacher
79f15d5621
amxconst: Fix up the headings some more and move long descriptions to @note
2014-08-04 00:30:49 +02:00
xPaw
c219878ac2
Remove XS__LIBRELEASE and tabs so docgen can catch the stocks
2014-08-03 22:26:54 +03:00
Valentin Grünbacher
5aef27a3ab
amxconst: Add proper headings for all constant types
2014-08-03 16:33:08 +02:00
Vincent Herbet
69371d6d6d
Merge pull request #96 from xPaw/inc
...
Fix some comments
2014-08-02 18:18:27 +02:00
xPaw
c068c0d0f4
Fix some comments
2014-08-02 19:12:32 +03:00
Arkshine
e7b7506efa
Introduce API to create Stack structures
2014-08-01 23:14:44 +02:00
Vincent Herbet
5689be448c
Merge pull request #35 from Freeman-AM/master
...
hlsdk_const.inc : Add iuser1 constants
2014-08-01 19:12:16 +02:00
Freeman-AM
7aa895089a
hlsdk_const.inc : modification of constants description.
2014-08-01 19:09:47 +02:00
Freeman-AM
5ef5f4b41f
hlsdk_const.inc : modification of constants description.
2014-08-01 18:53:19 +02:00
Freeman-AM
600e5dce97
hlsdk_const.inc : modification of constants description.
2014-08-01 18:18:56 +02:00
Vincent Herbet
47dc226393
Merge pull request #76 from Arkshine/improve-cellarray
...
Update dynamic Array.
2014-08-01 18:03:53 +02:00
Arkshine
eabafd4eed
Fix typo, documention and others issues.
2014-08-01 09:21:26 +02:00
xPaw
0e0d7ec9d5
Instead of assigning FCVAR_PROTECTED to cvars after startup, register cvars with said flag
2014-07-29 00:33:08 +03:00
Vincent Herbet
d2595b8b92
Merge pull request #31 from xPaw/burn-baby-burn
...
Remove compatibility stuff from the core
2014-07-27 12:07:58 +02:00
xPaw
c5ba642630
Change zeroes to manual in predefined version.inc
2014-07-27 11:43:50 +03:00
xPaw
57a1004c15
Replace svn_version with default amxmodx_version which should get replaced by AMBuild regardless
2014-07-27 11:07:13 +03:00
Arkshine
42fa547cb4
Improve CellArray.
2014-07-25 21:28:23 +02:00
Arkshine
1fe80667a2
Fix definitively unused variable warning.
2014-07-20 15:25:37 +02:00
Arkshine
ee2ae84d7a
Remove MAX_PLAYERS define assocaited to get_players.
2014-07-20 15:15:45 +02:00
Arkshine
07534edfcd
Use the new constants in various place.
2014-07-20 12:27:02 +02:00
Arkshine
e84653571c
Fix stupid compiler warning on unused wariable.
2014-07-20 10:27:58 +02:00
Arkshine
ee99ee93e4
Add 👍 to MAX_PLAYERS for the sake of convenience.
2014-07-19 19:58:22 +02:00
Arkshine
2c4e99fe8d
Add some generic constants to amxconst.inc file.
2014-07-19 19:46:40 +02:00
Vincent Herbet
3a5cb29e67
Merge pull request #69 from Arkshine/update-regex
...
Update regex module
2014-07-18 18:14:56 +02:00
Arkshine
1c9febfd22
Regex: Fix documention.
2014-07-18 18:02:12 +02:00
Arkshine
dbe95c849b
Engine: Add entity_intersects native.
2014-07-18 16:37:32 +02:00
Arkshine
62e4eb29eb
Regex: Update documentation.
2014-07-17 14:58:57 +02:00
Arkshine
939a724b1a
Regex: Add regex_replace native.
2014-07-17 11:21:06 +02:00
Freeman-AM
e53c30bacf
hlsdk_const.inc : Add iuser1 constants
2014-07-08 12:58:12 +02:00
Arkshine
287f471ac4
Regex: Remove regex_match_ex and RegexError tag, change regex_match_all to use flags and update documentation.
...
- regex_match_ex was kind of duplicated.
- regex_match_all uses now integer flags (header like regex_compiler_ex)
- Removed RegexError tag to allow old natives to use these constants without mismatch tag error.
- Made all error params optional
2014-07-08 00:08:35 +02:00
Arkshine
a44d20b26b
Regex: Add regex_match_all_c and regex_match_all natives (by Nextra)
2014-07-07 20:49:38 +02:00
Arkshine
08475bb0cc
Regex: Update documentation + add regex_match_simple stock.
2014-07-06 12:23:22 +02:00
Arkshine
f9503cb98a
Regex: Add regex_compile_ex and regex_match_ex natives.
...
Purpose is to use the PCRE flags and error num directly.
Harcoding flags letters is really not readable and friendly.
Also this makes error params optionnal.
2014-07-05 12:21:36 +02:00
Arkshine
6c4cb27d3e
Cstrike: Implement CS_OnBuyAttempt forward.
2014-07-04 10:41:13 +02:00
Vincent Herbet
8764321c8d
Fix typos in cstrike.inc (related to #25 )
2014-06-08 19:58:18 +02:00
xPaw
2e6dc308a8
🔥 Remove backwards compatible CreateMultiForwardEx
2014-06-05 23:33:45 +03:00
xPaw
2696f0af0e
🔥 Remove compatibility stuff from the core
2014-06-05 23:00:47 +03:00
xPaw
e3e3d8a255
🔥 Remove NS2AMX utility backwards compatibility
2014-06-05 17:18:25 +03:00
xPaw
ae9315ad48
🔥 Remove amxmod compatability
...
This doesn't remove anything from the engine
2014-06-05 13:48:56 +03:00
Vincent Herbet
08378eed4b
Merge pull request #25 from Arkshine/feature-client_buy-forward
...
Implement CS_OnBuy forward + Do some clean up (bug 5906)
2014-06-03 10:20:13 +02:00
Arkshine
2595fbe764
Cstrike: Remove unused defines and fix typo.
2014-06-03 10:05:56 +02:00
Arkshine
9d99863c7e
Cstrike: Add CSW_SHIELDGUN constant (valid CS value)
2014-05-30 16:56:26 +02:00
Arkshine
f130a8ea89
Cstrike: Implement CS_OnBuy forward.
2014-05-30 16:54:36 +02:00
Vincent Herbet
a828ee8fda
Merge pull request #21 from Nextra/newmenus
...
Newmenus: Add menu timeouts (+ extra bugfix)
2014-05-27 12:31:30 +02:00
Valentin Grünbacher
c91d67912b
Newmenus: Update MENU_TIMEOUT doc
2014-05-27 10:32:28 +02:00
Valentin Grünbacher
ff18b03250
Newmenus: Add MEXIT_FORCE for proper exit button on non-paginated menus
2014-05-21 22:18:48 +02:00
Valentin Grünbacher
3b87c428dc
Newmenus: Add necessary API changes for newmenu timeouts
2014-05-21 19:17:04 +02:00
Vincent Herbet
7e6812f64a
Merge pull request #10 from Arkshine/client_printex
...
Add client_printex Stock (bug 5828)
2014-05-13 14:33:23 +02:00
Arkshine
1c13d0dd6b
Use a more standard if conditionnal way.
2014-05-13 14:09:45 +02:00
Arkshine
c5c2721e60
Fix missing Float tag in some DoD forwards headers.
2014-05-12 16:40:19 +02:00
Arkshine
5f210d3404
Append a note about usage of the new buffer size (related to ce4ef6e272
)
2014-05-08 16:18:50 +02:00
Arkshine
f5921a3535
Refactor code
...
It would seem I was wrong (was I drunk?). It doesn't support custom
message using formating (%s).
This simplifies things, as this stock is now meant to be used only on
predefined message.
* If not a predefined message, we redirect to client_print, as there is
more checks and can deal with ML.
* If length goes above known limits, we redirect to client_print to be
cut properly.
* Changed MSG_ONE to MSG_UNRELIABLE and MSG_ALL to MSG_BROADCAST.
* Updated documention.
2014-05-05 20:42:51 +02:00
Arkshine
f691d2ed79
Fix english
2014-05-05 00:59:36 +02:00
Arkshine
d0b335dc6e
Add missing 'stock' keyword.
2014-05-04 18:32:15 +02:00
Arkshine
0c1931284e
Clean up include file.
2014-05-03 23:50:43 +02:00
Arkshine
9ac3763267
Add iterators natives
2014-05-03 23:21:56 +02:00
Arkshine
b6cd247d12
Add new 'replace' and 'size' paramaters in some natives.
...
Fix some typos
Update the test plugin
2014-05-03 22:36:40 +02:00
Arkshine
f3bce9ecfd
Add TrieGetSize native.
2014-05-03 16:09:31 +02:00
Arkshine
d933783629
Switch trie_natives off KTrie
2014-05-03 13:22:48 +02:00
Arkshine
3b0ce189ea
Add print_radio constant (counter-strike only)
2014-05-02 19:13:38 +02:00
Arkshine
9a2bce66fd
Add client_printex stock
2014-05-02 19:13:15 +02:00
Arkshine
9c191949d8
Add amxclient_cmd native (bug 5887, r=Nextra)
2014-05-02 09:16:16 +02:00
Arkshine
d3f22d2089
Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds)
2014-05-01 10:21:46 +02:00
Arkshine
6eb10a5f5a
Missing modification on a86ca1491
2014-04-30 16:11:27 +02:00
Arkshine
ce4ef6e272
Increase get_amxstring buffer size (bug 5901, r=ds)
2014-04-30 15:22:55 +02:00
Arkshine
a86ca1491f
Add new string natives/stocks, make some UTF-8 safe (bug 6110, r=ds)
2014-04-30 09:33:03 +02:00
Arkshine
3d732bbbb6
Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds).
2014-04-18 22:04:32 +02:00
Arkshine
f78fda6d9c
Add new CellArray natives: Clone/Resize/FindString/FindValue (bug 6104, r=ds)
2014-04-15 10:34:48 +02:00
Arkshine
b3609a23fa
Add missing magic tag in include file (previous patch). For some reason my change was ignored.
2014-04-11 23:02:46 +02:00
Arkshine
8a1464ac41
Introduce DataPacks (bug 5885, r=ds)
2014-04-11 22:57:42 +02:00
Arkshine
5468e9745c
Add set/show_dhudmessage (bug 5979, r=ds)
2014-04-11 21:54:24 +02:00
Arkshine
f097e01c3f
Fix typo in previous commit.
2014-04-10 12:55:58 +02:00
Arkshine
1a7daad657
Update globally Hamsandwich module (bug 5611, r=sawce)
2014-04-09 16:44:02 +02:00
DynamicBits
1503a6571f
Fix TFC_PC_CIVILIAN value (bug 6042, r=arkshine)
2014-03-22 16:59:15 +01:00