Commit Graph

1608 Commits

Author SHA1 Message Date
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
LittleKu
f5164a9c02 Update statsx.txt 2014-08-01 12:25:36 +08:00
skyrim
f1b2c802e6 Fix of a possible buffer overflow 2014-07-30 22:43:26 +02:00
LittleKu
8f6f49c9f3 Update scrollmsg.txt 2014-07-31 00:55:54 +08:00
LittleKu
a397dfffb7 Update telemenu.txt 2014-07-31 00:50:09 +08:00
LittleKu
dc9237c1d8 Update time.txt 2014-07-31 00:49:06 +08:00
LittleKu
7248c5e731 Update timeleft.txt 2014-07-31 00:41:38 +08:00
LittleKu
4970aaf02d Update multilingual.txt 2014-07-31 00:36:12 +08:00
LittleKu
6da929dc95 Update miscstats.txt 2014-07-31 00:24:18 +08:00
Arkshine
6040dbfbb9 Fix compilation. 2014-07-30 10:19:41 +02:00
skyrim
0de8ee48d0 Replaced sizeof(str)-1 and magic nums with charsmax 2014-07-29 16:32:32 +02:00
Vincent Herbet
f1e07caca4 Fix compilation. 2014-07-29 12:22:32 +02:00
Vincent Herbet
0365676262 Merge pull request #88 from xPaw/client-cmd-be-g
Remove some client_cmd
2014-07-29 12:15:20 +02:00
xPaw
c084965cf1 Remove some client_cmd 2014-07-29 13:13:39 +03:00
Vincent Herbet
b4365e3fb9 Merge pull request #87 from xPaw/what-is-this
Instead of assigning FCVAR_PROTECTED to cvars after startup, register cv...
2014-07-28 23:41:40 +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
xPaw
ab46adc91c Trim target in amx_ban to prevent bypassing equali checks 2014-07-29 00:00:07 +03:00
Vincent Herbet
919af60ca9 Merge pull request #85 from xPaw/missing-tr
Add missing [tr] translations
2014-07-28 21:45:14 +02:00
xPaw
437ce48f42 Add missing [tr] translations 2014-07-28 22:40:38 +03:00
Vincent Herbet
16d19097c5 Merge pull request #84 from xPaw/amx-help
Replace hardcoded defines in adminhelp with cvars
2014-07-27 15:05:44 +02:00
xPaw
fea209fa7f Replace hardcoded defines in adminhelp with cvars 2014-07-27 15:59:09 +03:00
Vincent Herbet
8d719e1191 Merge pull request #83 from xPaw/leet-speek-can-go-to-hell
Remove leet speak
2014-07-27 13:09:44 +02: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
fecf24ebfd Add missing [tr] translation in time.txt 2014-07-27 13:05:06 +03:00
xPaw
d65cedf8c7 Remove leet speak 2014-07-27 13:03:23 +03:00
Vincent Herbet
88042ce5a9 Merge pull request #82 from xPaw/ml-plugin-update
Multilingual plugin update
2014-07-27 11:57:51 +02:00
xPaw
dff6dc53f4 Use formatex and charsmax 2014-07-27 12:51:36 +03:00
Vincent Herbet
87c0be470b Merge pull request #80 from xPaw/package-script
Package script fixes
2014-07-27 11:44:56 +02:00
xPaw
499b5a1ac8 Use MAX_PLAYERS 2014-07-27 12:37:58 +03:00
xPaw
c5ba642630 Change zeroes to manual in predefined version.inc 2014-07-27 11:43:50 +03:00
xPaw
ef1e1edea5 Update copyright year 2014-07-27 11:22:40 +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
xPaw
1d17835e9a Update multilingual plugin
- User pcvars
- Remove vault usage
- Remove amx_setlang (not very useful, it's covered by the cvar now)
- Remove server language from the menu (covered by the cvar now)
- Add a cvar for previously hardcoded DISPLAY_MSG
2014-07-27 10:54:46 +03:00
9iky6
aa37e7f4e8 Update statsx.sma 2014-07-26 21:30:45 +06:00
9iky6
795131cd9f Update statsx.sma 2014-07-26 21:18:40 +06:00
9iky6
d4cdec6f11 Update statsx.sma 2014-07-26 21:13:49 +06:00
9iky6
6fbf08869c Update statsx.sma 2014-07-26 21:03:05 +06:00
9iky6
279a053dbe Update statsx.sma 2014-07-26 21:01:07 +06:00
9iky6
cfaf862249 Update statsx.sma 2014-07-26 20:58:30 +06:00
9iky6
dae467032b Update statsx.sma 2014-07-26 20:57:23 +06:00
9iky6
6ae11ed755 Update statsx.sma 2014-07-26 20:56:42 +06:00
9iky6
fec17e2bf5 Update statsx.sma
Fix MAX_PLAYERS -> MaxClients
2014-07-26 20:33:07 +06:00
Arkshine
42fa547cb4 Improve CellArray. 2014-07-25 21:28:23 +02:00
LittleKu
cf93ad50fa Update menufront.txt 2014-07-21 22:28:46 +08:00
LittleKu
46c9535087 Update mapsmenu.txt 2014-07-21 22:24:49 +08:00
LittleKu
57d621ac14 Update mapsmenu.txt 2014-07-21 22:24:19 +08:00
LittleKu
59219d3825 Update mapchooser.txt 2014-07-21 21:41:18 +08:00
LittleKu
8a6f6d7e36 Update languages.txt 2014-07-21 21:37:46 +08:00
LittleKu
477b61c5aa Update imessage.txt 2014-07-21 21:34:02 +08:00
LittleKu
2930654c7d Update common.txt 2014-07-21 21:32:10 +08:00
LittleKu
1f98a77ba0 Update cmdmenu.txt 2014-07-21 21:26:40 +08:00
LittleKu
9f513a755b Update antiflood.txt 2014-07-21 21:25:13 +08:00
LittleKu
8c46046fdb Update adminvote.txt 2014-07-21 21:23:09 +08:00
LittleKu
178516ac17 Update adminslots.txt 2014-07-21 20:59:41 +08:00
LittleKu
6b6a7bdc2b Update adminhelp.txt 2014-07-21 20:56:19 +08:00
LittleKu
4346a59035 Update admincmd.txt 2014-07-21 20:50:50 +08:00
LittleKu
da90ed748b Update adminchat.txt 2014-07-21 02:25:38 +08:00
LittleKu
2fccafb3ca update admin.txt
add a chinese language
2014-07-21 01:00:25 +08:00