Commit Graph

5235 Commits

Author SHA1 Message Date
Valentin Grünbacher
d9f792b712 engine: Add documentation, group similar natives 2015-05-10 14:37:16 +02:00
Vincent Herbet
42d80a666a Merge pull request #242 from Nextra/nullvec
Add NULL_VECTOR and expose null functions to AMXX API
2015-05-06 14:34:01 +02:00
Valentin Grünbacher
abf7f1a41b Expose get_amxstring_null and get_amxvector_null to modules 2015-05-06 12:01:15 +02:00
Valentin Grünbacher
fdb180e062 Add NULL_VECTOR 2015-05-06 11:28:54 +02:00
Vincent Herbet
39cc240a4e Merge pull request #240 from Nextra/kvd
Improve handling of KeyValueData
2015-05-05 12:01:29 +02:00
Valentin Grünbacher
79189c86ab Add basic kvd doc to fakemeta.inc and fix ham_const.inc lies 2015-05-05 11:16:26 +02:00
Arkshine
9fd0f1c231 Sync AMTL submodule 2015-04-22 00:55:23 +02:00
Valentin Grünbacher
8172519389 Improve handling of KeyValueData in FM and make it compatible with Ham
- KVD_Wrapper compatibility with Ham by making |&kvdw == &kvdw.kvd|
- Replaces g_kvd_hook with a generic g_kvd_ext to support raw KVD from Ham
- Adds create_kvd() and free_kvd() so plugins have something to feed Ham with
2015-04-21 00:18:21 +02:00
Vincent Herbet
cc11191e57 Merge pull request #236 from Arkshine/fix/missing-sqlite-charset
Fix missing SQL_SetCharset native in SQLite
2015-04-20 22:47:16 +02:00
Vincent Herbet
81e091e005 Merge pull request #237 from Arkshine/fix/ke-string-null
Fix potential crash using ke::AString and a valid given null string (bug 6351)
2015-04-19 21:05:50 +02:00
Vincent Herbet
08d684a90f Merge pull request #238 from Arkshine/feature/container-build
Use the new Travis-CI Container environment
2015-04-19 21:05:42 +02:00
Arkshine
54223e9a99 Use the new Travis-CI Container environment 2015-04-19 20:10:04 +02:00
Arkshine
871e14178b Fix a tag typo in datapack.inc 2015-04-19 19:58:57 +02:00
Arkshine
1c1b949648 Fix potential crash using ke::AString and given null string 2015-04-19 19:52:53 +02:00
Arkshine
b88841c6ef Fix missing SQL_SetCharset native in SQLite 2015-04-12 21:08:03 +02:00
Vincent Herbet
0bfc04bb14 Merge pull request #235 from Arkshine/fix/file-fgets
Fix fgets native not setting always the plugin buffer
2015-04-12 20:52:51 +02:00
Arkshine
10c0204b16 Fix fgets native not setting the plugin buffer on null result 2015-04-12 20:20:21 +02:00
Valentin Grünbacher
a35bc43cab datapack.inc: Fix copy-pasted error description 2015-04-06 13:33:55 +02:00
Vincent Herbet
044e6b22b2 Merge pull request #233 from Ni3znajomy/update-copyright-year
Update copyright year
2015-03-30 13:44:55 +02:00
Vincent Herbet
0b2c33bcd2 Merge pull request #231 from Nextra/datapack-update
Datapack update
2015-03-30 13:43:50 +02:00
Valentin Grünbacher
081b683e03 Update datapack test plugin 2015-03-30 04:14:55 +02:00
Valentin Grünbacher
2166c32047 Make datapack natives error consistently, stop using IsPackReadable 2015-03-30 04:14:55 +02:00
Valentin Grünbacher
1d57677426 Add CanRead[Cell|Float|String|Memory] to CDataPack 2015-03-30 04:14:54 +02:00
Valentin Grünbacher
9abe6cd8f6 Add IsPackEnded native (IsPackReadable replacement) 2015-03-30 04:14:54 +02:00
Valentin Grünbacher
9d4c02f7ca Nuke IsPackReadable
This native exposes/requires knowledge about implementation details of the
internal DataPack structure. Plugins can not properly deal with this, and
abusing this functionality results in a chance of future breakage.
2015-03-30 03:48:52 +02:00
Ni3znajomy
92c2c84617 Update copyright year 2015-03-29 20:01:25 +02:00
Vincent Herbet
d4bfebec22 Merge pull request #232 from Arkshine/fix/tfc-crash-medic
Fix crash in TFCX module when Infection weapon is used (bug 6333)
2015-03-28 17:29:47 +01:00
Arkshine
db9421d0be Fix crash in TFCX module when Infection weapon is used 2015-03-28 16:47:07 +01:00
Vincent Herbet
a59b72f96a Merge pull request #229 from Arkshine/feature/trans-format-and-native
Add %l format specifier and SetTranslationTarget() native (bug 6331)
2015-03-26 22:54:11 +01:00
Arkshine
8831166705 Add %l format specifier and SetTranslationTarget() native 2015-03-26 22:42:55 +01:00
Vincent Herbet
bebe9f8e2e Merge pull request #230 from Ni3znajomy/fix-checking-cvar-bounds
Fix checking cvar's bounds
2015-03-26 21:49:33 +01:00
Vincent Herbet
69d41b65d4 Merge pull request #227 from Freeman-AM/plmenu-update
Plmenu: improve readability, more compliance to amxmodx style, small improvements
2015-03-26 21:32:39 +01:00
Ni3znajomy
4d3c49f93b Fix checking cvar's bounds 2015-03-26 21:31:16 +01:00
Freeman-AM
f44ec00133 Plmenu: rollback macros 2015-03-26 21:17:46 +01:00
Vincent Herbet
b4b86113e4 Merge pull request #217 from Arkshine/feature/valve-fs-support
Add support for Valve FS to natives that use file handles
2015-03-26 11:45:33 +01:00
Arkshine
52c73126e1 VFS: Fix various things
- The "ALL" fake pathID is replaced by what does SM, having a public var NULL_STRING which will acts as NULL when needed.
  To make compiler accepting public array, this patch was needed: https://hg.alliedmods.net/sourcemod-central/rev/b12f329def09
- The offset thing in read_dir: considering that's something very specific to this native and that implementation in CDirectory doesn't make sense because of the offset compatibility for windows, all code is now in the native.
2015-03-25 13:50:07 +01:00
Vincent Herbet
4d97a24dd8 Merge pull request #228 from Arkshine/fix/crash-ham
Fix crash under linux in Hamsandwich module (bug 6323)
2015-03-24 02:40:27 +01:00
Arkshine
b6febae2fa Fix crash under linux in Hamsandwich module
Fix crash under linux in Hamsandwich module
2015-03-24 02:18:11 +01:00
Arkshine
8f6b8588c1 VFS: Do not traumatize Nextra 2015-03-23 18:30:22 +01:00
Arkshine
ba11085ddc VFS: Add constant in pawn include to define max path 2015-03-22 11:14:13 +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
Freeman-AM
c156c220c4 Replace some arrays by bitfield macros 2015-03-21 16:14:14 +01:00
Vincent Herbet
a182ca62c8 Merge pull request #226 from Arkshine/fix/compiler
Fix compiler output
2015-03-21 15:38:25 +01:00
Arkshine
d397619939 Fix compiler output 2015-03-21 15:29:55 +01:00