Commit Graph

4680 Commits

Author SHA1 Message Date
Arkshine
91c4b5d708 MAX_¨PLAYERS: Fix more. 2015-02-01 20:34:35 +01:00
Arkshine
e441908230 MAX_PLAYERS: Fix plugins 2015-02-01 19:25:36 +01:00
Arkshine
1b350b627b MAX_PLAYERS: Change value in includes 2015-02-01 18:40:20 +01:00
Vincent Herbet
dd38ee103b Merge pull request #189 from Arkshine/feature/add-cs_create_entity
Add cs_create_entity and cs_find_ent_by_class natives
2015-01-31 16:39:43 +01:00
Vincent Herbet
53829a1270 Merge pull request #191 from Arkshine/fix/compiler-tagof
Fix tagof operator used as a default value for function arguments
2015-01-31 16:39:33 +01:00
Vincent Herbet
14b072dd47 Merge pull request #190 from Freeman-AM/small-plmenu-update
Plmenu: small update: formatex, semicolon, missing things, remove useless TABs
2015-01-31 16:39:18 +01:00
Arkshine
30ee4df0fa Fix typo 2015-01-31 15:38:35 +01:00
Arkshine
4ceb767022 Add error messages and fix documentation 2015-01-31 14:45:37 +01:00
Arkshine
b0543a111d Fix tagof operator used as a default value for function arguments 2015-01-30 23:34:04 +01:00
Freeman-AM
7a3ee17093 Remove #pragma semicolon 1
It could disturb non initiated people who want to modify base plugins.
2015-01-30 22:57:31 +01:00
Arkshine
e0426f10b2 Fix typo 2015-01-30 16:01:26 +01:00
Vincent Herbet
6319331a33 Merge pull request #188 from Arkshine/feature/mysql-rw-and-default-timeout
Establish a default timeout for MySQL connectivity
2015-01-30 15:56:40 +01:00
Arkshine
c87d46ad5b Add cs_find_ent_by_class and fix documentation 2015-01-30 15:53:25 +01:00
Vincent Herbet
7d084ee0bf Merge pull request #185 from Arkshine/feature/hooking-cvars
Introduce new features for cvars
2015-01-30 14:20:11 +01:00
Freeman-AM
cfc92ca3db Plmenu: small update: formatex, semicolon, missing things, remove useless TABs 2015-01-30 00:57:45 +01:00
Arkshine
1488b9747f Cvars: De-frenchify by Nextra 2015-01-29 21:44:53 +01:00
Arkshine
2446ff49f2 Add cs_create_entity native 2015-01-29 20:43:01 +01:00
Arkshine
98d4031b5c Add a new line at the end to not traumatize Nextra 2015-01-29 17:55:24 +01:00
Vincent Herbet
7e1911b13b Merge pull request #187 from Arkshine/fix/nvault-formatting-issue
Fix potential formatting issue with nvault_[p]set
2015-01-29 17:26:49 +01:00
Vincent Herbet
1f304d55c4 Merge pull request #186 from Freeman-AM/product-version
Wrong product version for amxmodx-installer.nsi
2015-01-29 17:20:51 +01:00
Arkshine
9f93ff5168 Fix potential formatting issue with nvault_[p]set 2015-01-29 16:52:47 +01:00
Freeman-AM
839bb086b1 Wrong product version for amxmodx-installer.nsi 2015-01-29 14:58:07 +01:00
Arkshine
a5b5c7e9cd Cvars: Fix code to avoid Nextra be confused 2015-01-29 14:01:58 +01:00
Arkshine
f8ec7f94a4 Mysql: Establish a default timeout 2015-01-29 13:50:13 +01:00
Arkshine
f8baef15ca Cvars: Adjust more things
- Moved some functions in CvarManager
- Fixed detour enabled all the time
- Fixed bounds not properly handled
- Refreshed data of regisetered cvars at map change
2015-01-28 23:51:43 +01:00
Arkshine
187b187ef2 Cvars: To not traumatize Nextra 2015-01-28 00:58:07 +01:00
Arkshine
ac50f3ff34 Cvars: Check lower/upper bounds in create_cvar as well 2015-01-28 00:47:01 +01:00
Arkshine
e4a7e67783 Cvars: Adjust few things
- Hook is not as post, because allowing blocking change is not really that useful and this makes a context more simpler.
- Setting a min bound > max bound and reversely throw an error
- set_pcvar_bounds set cvar value on new min/max bound.
- Remove error "A cvar can't be binded with several variables", it's okay to no error such situation.
2015-01-28 00:26:24 +01:00
Arkshine
1a5e1928ec Cvars: Fix field orders and linux compilation 2015-01-27 16:27:26 +01:00
Arkshine
d75b14d4af Cvars: Extend "amxx cvars" command output 2015-01-27 15:07:17 +01:00
Vincent Herbet
0bed55701f Merge pull request #184 from Arkshine/fix/rename-change_level
Rename change_level to engine_changelevel
2015-01-27 00:21:50 +01:00
Arkshine
356a981164 Cvars: Add get/set_pcvar_bool natives 2015-01-26 14:26:48 +01:00
Arkshine
8a241ed0fd Cvars: Add new description param in get_plugins_cvar 2015-01-25 11:38:01 +01:00
Arkshine
cb0b9da51f Cvars: Add bind_pcvar_num/float/string 2015-01-24 21:31:00 +01:00
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
cdc7d550eb Cvars: Rearrange a bit some code
Changed class CCVar -> struct CvarInfo
Added CvarManager class and moved some code there
Code of registering a cvar is rewritten
Cvars datas are stored in a hashtable for fast lookup
For natives compatibility, an inline list is kept (though CList -> ke::InlineList)
Replace some CVAR_GET/SEt_ by FindVar
2015-01-23 19:05:32 +01:00
Arkshine
f973f5beb7 Cvars: Convert CString to ke::AString in CCVar class 2015-01-23 19:05:32 +01:00
Arkshine
6619176a76 Cvars: Move CCVar class to cvars.h 2015-01-23 19:05:31 +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
34d91789c4 Cvars: Hook Cvar_DirectSet from engine library 2015-01-23 19:05:30 +01:00
Arkshine
cdfd789f56 Rename change_level to engine_changelevel 2015-01-23 16:55:16 +01:00
Vincent Herbet
5ca0e5617d Merge pull request #173 from Arkshine/feature/compiler-concatenation
Add string literal concatenation and stringizing operator
2015-01-22 20:00:32 +01:00
Vincent Herbet
c197b58734 Merge pull request #183 from Arkshine/fix/cstrike-remove-stringtolower
Remove use of UTIL_StringToLowwer
2015-01-20 12:04:06 +01:00
Arkshine
8072f90536 Remove use of UTIL_StringToLowwer 2015-01-20 11:53:46 +01:00
Vincent Herbet
252f1919c2 Merge pull request #182 from Arkshine/fix/mysql-crash-amtl
Fix a mysql crash after CString -> ke::AString conversion
2015-01-18 19:27:35 +01:00
Vincent Herbet
2e64e9fd52 Merge pull request #181 from Arkshine/feature/add-new-fcvar
Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc
2015-01-18 18:54:39 +01:00