Commit Graph

1337 Commits

Author SHA1 Message Date
Arkshine
8f6b8588c1 VFS: Do not traumatize Nextra 2015-03-23 18:30:22 +01:00
Arkshine
71ab8d560e VFS: Add more sane FileRead/Write* natives to read/write a single value 2015-03-22 11:14:12 +01:00
Arkshine
a580c8c5e5 VFS: Add SetFilePermissions native 2015-03-22 11:13:36 +01:00
Arkshine
0eeb5942a1 VFS: Reflect changes in natives and documentation 2015-03-22 11:12:21 +01:00
Arkshine
6434c4db77 VFS: Update AMbuild and VS project files 2015-03-22 11:08:22 +01:00
Arkshine
4f4e322ad4 VFS: Add helpers to wrap default and valve system file 2015-03-22 11:00:33 +01:00
Arkshine
553963295f VFS: Add Valve file system interface 2015-03-22 11:00:33 +01:00
Arkshine
d69ddc7234 VFS: Add LibrarySys class helper 2015-03-22 11:00:32 +01:00
Valentin Grünbacher
4fbf4ee03d Merge datapack updates from SoureMod 2015-03-15 22:38:49 +01:00
xPaw
fddebce313 Update modules paths 2015-03-13 15:23:05 +02:00
Vincent Herbet
446029e7cf Merge pull request #220 from Arkshine/feature/third-party-libs
Move third party libraries in own directory and fix/cleanup VS projects files
2015-03-10 18:25:40 +01:00
Arkshine
48d6a3354a Normalize all the line endings 2015-03-10 16:51:45 +01:00
Arkshine
acf910b64b Fix and clean up VS projects files
+ removed unused variable :P
2015-03-10 16:20:21 +01:00
Arkshine
aaafe0f3f2 Compile Hashing lib as static and link to AMXX 2015-03-10 12:15:46 +01:00
Arkshine
5f6756cb4d Zlib: Remove unrelated changes 2015-03-10 00:06:30 +01:00
Arkshine
a565e4a7b1 Zlib: Update library to 1.2.8 2015-03-10 00:06:29 +01:00
Arkshine
265e15116b Zlib: Adjust VS project files 2015-03-10 00:06:29 +01:00
Arkshine
47cd091879 Zlib: Use the generated static library with AMXX 2015-03-09 23:59:11 +01:00
Arkshine
181cbae74c Use upstream AMTL as a submodule 2015-03-09 22:53:58 +01:00
Vincent Herbet
c4497ff17d Merge pull request #211 from Arkshine/fix/cvar-mapchange
Fix issue where at mapchange a cvar current value is overwritten by defined bounds where it should not
2015-02-20 15:50:49 +01:00
HttrckCldHKS
530d0bf570 Replace CLang file hashing with .st_mtime
Replace CLang file hashing with .st_mtime for performance.
Also, fix a problem in CLangMngr::MergeDefinitionFile.
2015-02-19 21:28:45 +02:00
Arkshine
80b01d3505 Fix issue where at mapchange a cvar current value is overwritten by defined bounds where it should not 2015-02-19 16:05:49 +01:00
Valentin Grünbacher
78f577686a Fix ArrayDestroy/DestroyStack erroring on null handle 2015-02-17 23:24:17 +01:00
HttrckCldHKS
c071f53f2c Add new hashers and new natives
Replace the only hasher called MD5 with the ones listed below.

(+) CRC32, MD5, SHA1, SHA256, SHA3 224 BIT, SHA3 256 BIT, SHA3 384 BIT,
SHA3 512 BIT, Keccak 224 BIT, Keccak 256 BIT, Keccak 384 BIT and Keccak
512 BIT.

Add the natives listed below.

(+) hash_string(const string[], hashType:type, output[], const
outputSize)
(+) hash_file(const fileName, hashType:type, output[], const outputSize)
(+) is_arkshine_a_doctor() :  Hidden native, but a sign of recompense
for him being very active since 1.8.3 version of AMX Mod X
(+) get_system_endianness() :  Checks if the system is currently Big
Endian or Little Endian.

Add the following Enum.

(+) hashType {}
(+) sysEndianness {}

Deprecate the following natives.

(-) amx_md5()
(-) amx_md5_file()

It has been tested on Windows and Linux. The sanity checks seems to be
properly working, so no worries about them.

These are useful if people are using Sockets, cURLs or MySQLs in order
to compare hashes of different files On-line for further investigation.
You are not able to check if the files are older or newer, but you can
see if the content is different (Hash Checksum mismatch).

I'm glad I did this. Thanks to
2015-02-16 14:39:45 +02:00
Vincent Herbet
7452317c10 Merge pull request #203 from Arkshine/fix/crash-on-shutdown
Fix crash by freeing memory the right way
2015-02-12 14:46:53 +01:00
Arkshine
120e5b94f9 Fix crash by freeing memory the right way 2015-02-12 14:37:46 +01:00
Vincent Herbet
4ec11496e6 Fix missing new lines in "amxx version" command 2015-02-12 10:46:20 +01:00
Arkshine
fb28b2d416 Fix missing parenthesis. 2015-02-11 00:18:22 +01:00
Arkshine
e99a1c8b09 Fix crash when cvar hook detour is not created 2015-02-10 23:19:03 +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
Arkshine
1488b9747f Cvars: De-frenchify by Nextra 2015-01-29 21:44:53 +01:00
Arkshine
a5b5c7e9cd Cvars: Fix code to avoid Nextra be confused 2015-01-29 14:01:58 +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
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
Arkshine
dd9975cd67 Rename msvc10 directories to msvc12 2015-01-14 10:31:33 +01:00
Arkshine
97369c5d6c Upgrade VS projetcs to use v120_xp toolset and fix missing include paths 2015-01-14 10:25:46 +01:00
Vincent Herbet
7f71cfaee7 Merge pull request #165 from Arkshine/feature/add-version-lib-and-missing-rc
Update versioning system and add missing module RC file (bug 6222)
2015-01-07 18:59:51 +01:00
Arkshine
7c96c30be8 Replace old SVN_* defines by the new ones 2014-12-08 01:42:42 +01:00
Arkshine
1146bcad2c C++11: Fix some code 2014-12-06 14:02:55 +01:00
Arkshine
4ffd847b7a Fix typo in get_user_name() where hostname was returned as blank string 2014-11-13 19:01:26 +01:00
Vincent Herbet
5f824d64da Merge pull request #150 from Arkshine/add-reset_menu
Allow show_menu native to send empty text + add reset_menu stock (bug 6244)
2014-10-25 12:00:08 +02:00
Vincent Herbet
79479e40c6 Merge pull request #151 from Arkshine/add-msg_init-support
Add MSG_INIT support in message_begin native (bug 6254)
2014-10-25 11:45:02 +02:00
Arkshine
1bd022305f Add MSG_INIT support in messsage_begin native (bug 6254) 2014-10-24 21:04:42 +02: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
Arkshine
9cf4564057 Fix linux warning in previous commit 2014-10-24 11:25:52 +02:00
HttrckCldHKS
d1c0b8fea6 Improving Code 2014-10-18 11:09:49 -07:00
HttrckCldHKS
82cbc94f27 Improving Code 2014-10-18 10:58:26 -07:00
HttrckCldHKS
59a1b018ed Improving Code 2014-10-18 10:34:03 -07:00
HttrckCldHKS
aa963603ed Adding New Game Modifications Due Colored Menus
Adding New Game Modifications Due Colored Menus.
2014-10-18 10:09:11 -07:00
Valentin Grünbacher
41d7554efd Fix recursion issues with show_menu and newmenus 2014-10-11 00:35:05 +02:00
WildCard65
a676d9ea52 Fix typo in modules.cpp
Ya...
2014-09-19 20:45:44 -04:00
Vincent Herbet
204004b90e Merge pull request #112 from Arkshine/deduplicate-files
Deduplicate a number of files used by modules by moving them to the public directory
2014-08-23 10:00:13 +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
bf23890a34 Reverse condition for clarity and to make Nextra happy! 2014-08-19 18:25:00 +02:00
Arkshine
68aec7eec0 Use new flags in get_players/find_player instead to avoid breakage. 2014-08-19 15:39:06 +02:00
Arkshine
76811b7b84 Allow get_players() as well. 2014-08-19 10:08:25 +02:00
Arkshine
481e1528d6 Don't show blank line in abort() with AMX_ERR_NONE (bug 6233). 2014-08-17 23:33:00 +02:00
Arkshine
33c0a676fd Allow find_player() and engclient_print() (in console) to be used on connecting players (bug 6229). 2014-08-17 23:31:46 +02:00
Arkshine
41f6932b68 Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00
Arkshine
c497d478ce Move out base sdk folder into public directory. 2014-08-09 17:35:08 +02:00
Arkshine
2c146f564e Fix missing backward compatibility for some Array natives. 2014-08-09 15:22:18 +02:00
Vincent Herbet
570c9cfc6b Merge pull request #110 from Arkshine/replace-more-snprintf
Replace more snprintf by UTIL_Format.
2014-08-08 20:38:38 +02:00
Arkshine
b47aa6871d Replace more snprintf by UTIL_Format. 2014-08-08 12:47:15 +02:00
Arkshine
eeb4ecd109 Update project files. 2014-08-08 11:27:40 +02:00
Vincent Herbet
a7d94a4859 Merge pull request #107 from Arkshine/Fix-array-compatibility-issue
Fix a compatibility issue with the "reserved" parameter.
2014-08-07 21:38:51 +02:00
Arkshine
72b514cdde Make sure reserved parameter is a not a negative value. 2014-08-07 21:31:53 +02:00
Arkshine
aa4e60ae27 Fix a compatibility issue with the "reserved" parameter. 2014-08-07 20:40:07 +02:00
Arkshine
c03271c856 Use server language as fallback if client's "lang" key is not defined. 2014-08-07 14:20:29 +02:00
Arkshine
69c46aff80 Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +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
a0852adf18 Fix wrong log error message. 2014-08-07 00:53:15 +02:00
Arkshine
6da2078067 Replace snprintf by UTIL_Format. 2014-08-07 00:51:01 +02:00
Arkshine
8d2770f2f2 Put back original SM headers. 2014-08-07 00:43:29 +02:00
Arkshine
3369f6d115 Update license in pawn includes and add them in project files. 2014-08-06 09:24:09 +02:00
Arkshine
4b652198f0 Fix compilation. 2014-08-06 09:17:54 +02:00
Arkshine
2d07189e38 Fix few issues. 2014-08-06 09:17:53 +02:00
Arkshine
287cc1a0e8 Update MakeFile. 2014-08-06 09:17:50 +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
10d5c8e9ad Add change_level() native. 2014-08-05 09:49:32 +02:00
Scott Ehlert
9c08b11a75 Update 'amxx gpl' server command with new license text. 2014-08-04 14:31:28 -05:00
Scott Ehlert
1bb54f839e Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
Vincent Herbet
5ddd37eb77 Merge pull request #97 from Arkshine/expose-set_amxstring_utf8
Expose set_amxstring_utf8 to AMXX API
2014-08-02 21:11:23 +02:00
Vincent Herbet
102f88674b Merge pull request #95 from Arkshine/update-project-files
Update project files.
2014-08-02 13:53:18 +02:00
Arkshine
3b6726e0c7 Update project files. 2014-08-02 13:51:17 +02:00
Arkshine
f43570c964 Fix typo and remove unecessary line. 2014-08-02 13:45:31 +02:00
Arkshine
b5fe5d29c9 Add MF_SetAmxStringUTF8Char and MF_SetAmxStringUTF8Cell. 2014-08-02 13:42:14 +02:00
Arkshine
c3c5149fa0 Add new line at the end of file. 2014-08-01 23:20:29 +02:00
Arkshine
e7b7506efa Introduce API to create Stack structures 2014-08-01 23:14:44 +02:00
Arkshine
4ab559ceef Fix various issues. 2014-08-01 22:08:45 +02:00
Arkshine
bbc83291ef Add new format parameters. 2014-08-01 18:55:07 +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
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
Vincent Herbet
88042ce5a9 Merge pull request #82 from xPaw/ml-plugin-update
Multilingual plugin update
2014-07-27 11:57:51 +02:00
Vincent Herbet
87c0be470b Merge pull request #80 from xPaw/package-script
Package script fixes
2014-07-27 11:44:56 +02:00
xPaw
5d85c0a965 Update VS references to amxmodx_version.inc 2014-07-27 11:59:49 +03:00
xPaw
60b1ec222e Add extern amxmodx_language 2014-07-27 11:52:30 +03:00
xPaw
b4d006438c Update core to use amx_language cvar instead of vault 2014-07-27 11:42:34 +03:00
xPaw
ef1e1edea5 Update copyright year 2014-07-27 11:22:40 +03:00
Arkshine
42fa547cb4 Improve CellArray. 2014-07-25 21:28:23 +02:00
Arkshine
8cef1af95d Move check out the loop. 2014-07-19 19:54:57 +02:00
Arkshine
2c4e99fe8d Add some generic constants to amxconst.inc file. 2014-07-19 19:46:40 +02:00
xPaw
1a633ec925 🔥 Remove old file check 2014-07-19 18:19:01 +03:00
Arkshine
ce75bcbf61 Move sm_memtable.h and sm_stringhashmap.h to public directory. 2014-07-03 11:51:30 +02:00
Arkshine
de73007922 Sync AMTL. 2014-07-03 11:26:50 +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
0be46af0c6 🔥 Remove references to compat includes 2014-06-05 17:04:37 +03:00
Vincent Herbet
1b514d6f23 Merge pull request #23 from Arkshine/fix-unicode-issuee
Fix an unicode issue with amx_SetStringOld.
2014-05-27 15:48:19 +02:00
Arkshine
f5a5d8f8e7 Undo last change and change cell cast to unsigned char. 2014-05-27 15:15:56 +02:00
Vincent Herbet
83c2b3ef62 Merge pull request #22 from Arkshine/fix-unicode-issuee
Fix an unicode issue with amx_SetStringOld.
2014-05-27 14:38:27 +02:00
Arkshine
90c4fc1db1 Fix an unicode issue with amx_SetStringOld. 2014-05-27 13:49:59 +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
dc3e68c507 Newmenus: Fix typo in error message 2014-05-27 10:38:25 +02:00
Valentin Grünbacher
a6ffae72f5 Newmenus: Add get_menu_by_id and use it everywhere 2014-05-27 10:33:53 +02:00
Valentin Grünbacher
50fbf29b3b Newmenus: Fix unsigned underflow on "end" variable 2014-05-22 00:07:37 +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
Valentin Grünbacher
c8b7a09028 Newmenus: get_user_menu should also handle newmenu timeouts properly 2014-05-21 19:01:27 +02:00
Valentin Grünbacher
fa5336cade Newmenus: Use Menu::Close everywhere 2014-05-21 18:58:51 +02:00
Valentin Grünbacher
34337fb959 Newmenus: Add Menu::Close to remove a bunch of redundant code 2014-05-21 18:51:55 +02:00
Valentin Grünbacher
6a4c55de7d Newmenus: Fire MENU_TIMEOUT on menuselect client command 2014-05-21 18:47:20 +02:00
Valentin Grünbacher
2e8ce87c23 Newmenus: Add MENU_TIMEOUT status code and pass it where necessary 2014-05-21 18:45:40 +02:00
Valentin Grünbacher
cd7cb8c1a8 Newmenus: Execute menu callback when old-style menu overwrites new menu
show_menu simply resets CPlayer::newmenu. The menu callback is never fired and the plugin never informed that the menu has been closed. This can result in leaking menu handles. Using "menuselect 10" on the client is not an appropriate solution because it is possible to construct newmenus that contain 10 valid items.
2014-05-21 18:17:09 +02:00
Arkshine
0edb16150a CS: Manually set SPECTATOR team index. 2014-05-15 00:01:28 +02:00
Arkshine
24328568ed Fix typo with TrieGetArray return value in #8. 2014-05-07 10:41:55 +02:00
Vincent Herbet
db3933d150 Merge pull request #8 from Arkshine/trie-update
Trie Update
2014-05-04 20:14:10 +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
55456eaf17 Fix format_time (returned length doesn't include null terminator, related to a86ca1491) 2014-05-03 15:41:05 +02:00
Arkshine
12a8864532 Remove refcounting 2014-05-03 14:28:12 +02:00
Arkshine
d933783629 Switch trie_natives off KTrie 2014-05-03 13:22:48 +02:00
Arkshine
f3aee6d766 Add AMTL files 2014-05-03 13:00:21 +02:00
Arkshine
9c191949d8 Add amxclient_cmd native (bug 5887, r=Nextra) 2014-05-02 09:16:16 +02:00
Lev
75822ec227 Reset the status variable on success (bug 5994, r=arkshine) 2014-04-30 15:42:03 +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
512e3ff61c Fix some typo and fix mac. 2014-04-18 22:22:09 +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
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
9815050287 Increase var/func and input line maximum length (bug 5924, r=dvander) 2014-03-24 01:04:17 +01:00
Vincent Herbet
3501e8fa46 Fix conflict with unicode string and bcompat translation layer (bug 5944, r=dvander) 2014-03-22 15:23:55 +01:00
Vincent Herbet
5dc96ddf47 Add strtof native (bug 5909, r=Nextra) 2014-03-20 18:21:38 +01:00
Vincent Herbet
bc97cc0bfb Add missing Pawn includes in VC project file 2014-03-20 18:11:49 +01:00
David Anderson
11d0b204f5 Change winres.h to winresrc.h. 2014-02-15 21:13:12 -08:00
David Anderson
94c864390d Quell GCC madness. 2014-02-10 00:20:00 -08:00
David Anderson
e2855dee7d Undo vim modelines. 2014-02-09 23:49:19 -08:00
David Anderson
aa46469878 Add new variants of strbreak, which is too broken to use. 2014-02-09 23:40:45 -08:00
David Anderson
779e064a17 Add .rc files.
Former-commit-id: 3d9c34eff6
2014-02-08 20:53:01 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe9
2014-02-08 16:26:40 -08:00
David Anderson
922b4802f1 Port AMBuild scripts to Windows.
Former-commit-id: 9af9b5f205
2014-02-08 16:09:29 -08:00
David Anderson
bd586d37e6 Add OS X support to AMBuild and 10.9 support to amxxpc.
Former-commit-id: 91779cb941
2014-02-08 15:25:57 -08:00
David Anderson
c4e90ce865 Initial import of AMBuild infrastructure for C++ projects.
Former-commit-id: 53baa4f8c2
2014-02-08 01:14:15 -08:00
Scott Ehlert
568bec17fc Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7
2013-09-05 19:51:52 -05:00
Scott Ehlert
87d2a54638 Rebuilt amxjitsn object with older version of nasm to fix JIT crash on OS X (r=dvander).
Former-commit-id: 011b69169c
2013-09-03 17:53:42 -05:00
connorr
9971541d78 Fix linux warning to make GCC compiler happy
Former-commit-id: f23bda76a3
2013-08-24 23:42:18 +02:00
Vincent Herbet
af0a1200ab Add client_print_color native (CS only) (bug 5823, r=Nextra)
Former-commit-id: 9e37c60bc5
2013-08-24 01:03:13 +02:00
DynamicBits
7f0c820566 Fix missing new line on client console message which is not truncated server-side if its length exceeds buffer size (bug 3140, r=arkshine)
Former-commit-id: 6373b0238d
2013-08-24 00:58:23 +02:00
Vincent Herbet
6139d52a39 Fix dictionary text files parser failing on BOM marking (bug 5858, r=Nextra)
Former-commit-id: 096464e3d5
2013-08-16 18:50:56 +02:00
Vincent Herbet
da30315556 Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.
Former-commit-id: 4f8b31483d
2013-08-10 19:29:28 +02:00
Vincent Herbet
b5572520c2 Fix uninitialized variables.
Former-commit-id: 21f39612a8
2013-08-10 12:26:32 +02:00
Nextra
917c52ec96 Add ewrite_[coord_f/angle_f], write_[coord_f/angle_f] and [e]message_begin_f natives (bug 5829, r=arkshine)
Former-commit-id: 34ab529d53
2013-08-10 10:22:38 +02:00
Vincent Herbet
86f5c9f031 Make registered server commands case-insensitive (bug 5625, r=Nextra)
Former-commit-id: 44e5f42691
2013-08-09 01:27:02 +02:00
Vincent Herbet
7e11cb5cc1 Add has_map_ent_class native (bug 5814, r=Nextra)
Former-commit-id: bfa749105f
2013-08-07 16:40:37 +02:00
Vincent Herbet
1bf18472c1 Add cellarray.inc/celltrie.inc in project Pawn Includes filter
Former-commit-id: 0122820d6f
2013-08-05 17:11:51 +02:00
Vincent Herbet
5a6d3fde61 Add ArraySortEx/SortADTArray natives and new sort method Sort_Random (bug 5494, r=Nextra)
Former-commit-id: 1ff337d980
2013-08-05 16:56:59 +02:00
Vincent Herbet
735160157c Move datastructs.cpp in Source Files filter
Former-commit-id: 84f7f744b3
2013-08-01 13:44:59 +02:00
Nextra
eb43b69e4d Add strtok2 which fixes a trim issue with strtok (bug 3993, r=arkshine)
Former-commit-id: ad9e3ad972
2013-07-31 23:40:49 +02:00
Nextra
e4d74f199f Fix re-entrancy issue when a [generated] message is sent during register_event forward (bug 3664, r=joropito)
Former-commit-id: 163098892c
2013-07-27 20:49:19 +02:00
Vincent Herbet
0dd14eed43 Add ability to text formatting to set_fail_state (bug 5800, r=me)
Former-commit-id: 2af8a27164
2013-07-27 20:33:17 +02:00
Vincent Herbet
0ddc00727d Comply to AMXX style for more consistency in 7319646e4d61
Former-commit-id: 1722d0cb4f
2013-07-02 23:15:55 +02:00
Vincent Herbet
6912199ae0 Comply to AMXX style for more consistency in 8f3605ea03d5
Former-commit-id: 3075e0b375
2013-07-02 23:13:26 +02:00
Nextra
21a00e00a2 Add menu_addblank2 and menu_addtext2 to fix unexpected behavior with the original ones when slot=1 (bug 3096, r=Arkshine)
Former-commit-id: b4f84a5cee
2013-07-02 14:54:07 +02:00
Vincent Herbet
1026edec6c Add new register_event flags to filter humans and bots (bug 5768, r=me)
Former-commit-id: 15b0fba122
2013-07-02 11:22:43 +02:00
Nextra
bf395c8ac1 Fix definitevely time drift on repeating tasks (bug 3302, r=dvander)
Former-commit-id: 28aa4dfbf7
2013-07-01 22:58:56 +02:00
Vincent Herbet
873fb6924f Add strtol native (bug 3233, r=joropito)
Former-commit-id: 9508f9f86d
2013-06-27 18:55:19 +02:00