David Anderson
de8726ab73
Move ke_ headers to new public/amtl folder.
...
--HG--
rename : public/sourcepawn/ke_allocator_policies.h => public/amtl/ke_allocator_policies.h
rename : public/sourcepawn/ke_inline_list.h => public/amtl/ke_inline_list.h
rename : public/sourcepawn/ke_thread_posix.h => public/amtl/ke_thread_posix.h
rename : public/sourcepawn/ke_thread_utils.h => public/amtl/ke_thread_utils.h
rename : public/sourcepawn/ke_thread_windows.h => public/amtl/ke_thread_windows.h
rename : public/sourcepawn/ke_utility.h => public/amtl/ke_utility.h
rename : public/sourcepawn/ke_vector.h => public/amtl/ke_vector.h
2013-08-22 16:30:44 -07:00
David Anderson
94d33a4ef1
Fix various problems with unloading ClientPrefs and SourceMod (bug 5874, r=ds).
...
--HG--
extra : rebase_source : 0a35f8380d651ca65fac9dd402c5cd3625e3105c
2013-08-22 14:05:44 -07:00
Kyle Sanderson
d79b41e4a7
Fix weapon ID checks (bug 5872, r=Dr!fter)
2013-08-21 10:55:12 -04:00
David Anderson
754a6e1177
Rewrite DBManager to use the new synchronization primitives (bug 5870, r=fyren).
2013-08-21 00:01:28 -07:00
David Anderson
b972ea4781
Fix stack alignment when lazily compiling scripted calls (bug 5871, r=ds).
2013-08-20 23:59:11 -07:00
David Anderson
45856816c1
Rewrite IThreader implementation around new synchronization primitives (bug 5862, r=fyren).
2013-08-19 20:58:02 -07:00
David Anderson
582162460f
Fix OP_MOVS to not clobber random memory (bug 5868, r=psychonic).
2013-08-19 12:59:10 -07:00
Nicholas Hastings
e970c36419
Fixed GuessSDKVersion return value when using MM:S versions < 1.10 (r=me).
2013-08-16 11:47:35 -04:00
David Anderson
c48cc0afdc
Fix OS X build.
2013-08-15 16:26:16 -07:00
Nicholas Hastings
3d6d4f5464
typo
2013-08-15 18:53:02 -04:00
Nicholas Hastings
61bc6ec825
snaaaaaaaaaaaaaaaaakes
2013-08-15 18:49:55 -04:00
Nicholas Hastings
6f0f6676db
Fixed char * constant conversion warning in cstrike ext.
2013-08-15 18:43:14 -04:00
Nicholas Hastings
fc240d4dfa
Only add -Wno-narrowing if GCC >= 4.6 or Clang(?).
2013-08-15 18:34:51 -04:00
Dr!fter
6dc0861740
Update some more CS:GO gamedata
2013-08-15 17:22:30 -04:00
Drifter
45cabd756c
Fix CS:GO GetWeaponPrice and OnGetWeaponPrice using outdated method (r=psychonic).
2013-08-15 14:40:30 -04:00
Nicholas Hastings
5fc854ab4f
Fixed chat trigger crash regression on ep1 (bug 5394, r=asherkin).
...
--HG--
extra : rebase_source : 39f0eff210b785b266422157c48b538921e16cc8
2013-08-15 10:18:27 -04:00
David Anderson
caa3343dea
Added missing core.cfg entry.
2013-08-14 23:59:31 -07:00
David Anderson
3ac43497b9
Implement a watchdog timer for scripts that take too long to execute (bug 5837, r=fyren).
...
--HG--
extra : rebase_source : ffacb38457eca581660ce8f15c444ad828b7fedd
2013-08-14 23:54:25 -07:00
Dr!fter
74f1b800c2
Update gdc keys for CS:GO update
2013-08-14 17:18:02 -04:00
Nicholas Hastings
7d431e55df
Update BuyCommand detour in CStrike extension with new param on CS:GO.
2013-08-14 17:08:02 -04:00
Nicholas Hastings
575962569f
Update GivePlayerItem for new params in CS:GO.
2013-08-14 17:07:27 -04:00
Dr!fter
01ef0e93aa
Update some more CS:GO gamedata
2013-08-14 16:42:40 -04:00
Nicholas Hastings
439f4f6f0e
Updated some CS:GO gamedata.
2013-08-14 14:20:57 -04:00
Nicholas Hastings
00b1f33725
Fixed typo in Nuclear Dawn gamedata backcompat fix.
2013-08-14 13:14:59 -04:00
Nicholas Hastings
1204eec8ac
Added compat shim to load on Nuclear Dawn with MM:S < 1.9.3. (bug 5813, r=me).
2013-08-14 12:55:55 -04:00
Nicholas Hastings
f3ac8f6649
Added gamedata and extension loading compat shims for Nuclear Dawn (bug 5813, r=asherkin).
2013-08-14 11:56:34 -04:00
FlaminSarge
7db280a666
Add GetPlayerJingleFile native. (bug 5690, r=asherkin)
2013-08-12 02:08:34 +01:00
David Anderson
a4b7ad0d42
Fixed memory corruption when parsing natives. (bug 5840, r=fyren)
2013-08-12 01:33:04 +01:00
Asher Baker
2b88905b40
Fixed build.
2013-08-12 01:32:44 +01:00
FlaminSarge
ef5263ef9e
Add support for more CalcIsAttackCritical helpers. (bug 5576, r=asherkin)
2013-08-12 01:18:01 +01:00
FlaminSarge
9206512c38
Add support for tracking player conditions >= 64. (bug 5565, r=asherkin)
2013-08-12 01:11:11 +01:00
Peace-Maker
82e16db275
Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin)
2013-08-12 00:58:43 +01:00
Peace-Maker
97fc093eef
Fix crash creating a timer when there are no handles available. (bug 5317, r=asherkin)
2013-08-12 00:57:26 +01:00
Kyle Sanderson
b9cd424186
Add support for nested datatables. (bug 5446, r=asherkin)
2013-08-12 00:54:21 +01:00
Kyle Sanderson
6af85409f1
Dump handle information when a plugin is forcefully unloaded. (bug 5666, r=asherkin)
2013-08-12 00:45:29 +01:00
Kyle Sanderson
86c699dd36
Fixed various memory issues. (bug 5766, r=asherkin)
2013-08-12 00:44:22 +01:00
Kyle Sanderson
3d4e1ffd64
Added helper stock to check if a command exists. (bug 5510, r=asherkin)
2013-08-12 00:42:56 +01:00
David Anderson
b39fcebe65
Remove InfoVars, reassign DAT from EBP to ESI to preserve C++ stacktraces in JIT code (bug 5844 part 10, r=ds).
2013-08-12 00:24:02 +01:00
David Anderson
04129a0841
Remove InfoVars::frm (bug 5844 part 9, r=ds).
2013-08-12 00:23:54 +01:00
David Anderson
a7658f013e
Eliminate InfoVars::hp (bug 5844 part 8, r=ds).
2013-08-12 00:23:00 +01:00
David Anderson
2822bf7a65
Eliminate InfoVars::cip (bug 5844 part 7, r=ds).
2013-08-12 00:22:54 +01:00
David Anderson
87ccd272ee
Eliminate InfoVars::rval (bug 5844 part 6, r=ds).
2013-08-12 00:22:41 +01:00
David Anderson
18275ce2c9
Remove InfoVars::ctx (bug 5844 part 5, r=fyren).
2013-08-11 11:33:47 -07:00
David Anderson
5935070dfa
Remove InfoVars::memory (bug 5844 part 4, r=ds).
2013-08-11 11:33:29 -07:00
David Anderson
8391c83121
Remove InfoVars::stp (bug 5844 part 3, r=fyren).
2013-08-11 11:31:55 -07:00
David Anderson
4255ee105f
Remove InfoVars::data_size (bug 5844 part 2, r=ds).
2013-08-11 11:31:24 -07:00
David Anderson
e3c45bd1f7
Clean up INFO register structure (bug 5844 part 1, r=ds).
2013-08-11 11:30:27 -07:00
David Anderson
449617474b
Statically align the stack at function boundaries (bug 5842, r=ds).
2013-08-11 11:27:19 -07:00
David Anderson
ce542ac5f6
Move tracker related opcodes entirely to C++.
...
The tracker related opcodes:
GENARRAY
GENARRAY_Z
TRACKER_POP_SETHEAP
TRACKER_PUSH_C
All contain some vastly overcomplicated assembly containing logic that could
be implemented much easier in C++. If it were a performance concern, these
opcodes would be entirely in C++, but most of them call out to one or more
routines to do additional work. This patch just moves most of the logic out
to C++ to reduce complexity and fix reported bugs.
--HG--
extra : rebase_source : 1397056ac3ca3efb969e66ec577e2b33ca725e1a
2013-08-10 21:23:02 -07:00
Nicholas Hastings
d0e18ed0ba
Debug build fixes.
...
--HG--
extra : rebase_source : 772710f29b5aca5e0e4b7276fcb19b3702450e3f
2013-08-10 12:22:09 -04:00