David Anderson
e489b4a570
Fix build problems when using HashTable.
2013-08-24 01:29:26 -07:00
David Anderson
83dc7f0855
Fix performance problems in AString.
2013-08-24 01:29:03 -07:00
David Anderson
90a2d1bb39
Update AMTL with a number of changes.
...
- Introduce HashMap, a key-value map based on HashTable.
- Introduce LinkedList, to port from SourceHook::List.
- Introduce AString, to port from SourceHook::String.
- Introduce KE_OVERRIDE and KE_DELETE helpers for C++11.
- HashTable now constructs/destructs only live items.
- Fix insert-on-removed-item bug in HashTable.
- Fix Vector keeping a new maxsize if allocation fails.
- Renamed am-inline-list.h to am-inlinelist.h.
--HG--
rename : public/amtl/am-inline-list.h => public/amtl/am-inlinelist.h
2013-08-23 22:29:44 -07:00
systematicmania
da650606e3
Fixed optional dependencies logging errors (again) (bug 5739, r=dvander).
...
Regression from changeset 4c93f74cae51 and changeset 7dae5b0b8e28 in bug 5860.
2013-08-24 00:12:21 -04:00
Nicholas Hastings
bc789d7c1a
Add missing GetFunctionCount check in ChatTriggers::OnSayCommand_Pre (bug 5864, r=kyles).
...
--HG--
extra : rebase_source : afa6969f8319c80b027c4ae81e6b8db6b8d5c14f
2013-08-23 18:48:06 -04:00
David Anderson
5999b50e10
Fix Windows build errors.
2013-08-23 15:45:07 -07:00
Peace-Maker
e5428a3c27
Fixed crash in OnSayCommand_Post with console chat, pass console chat (bug 5864, r=kyles).
2013-08-23 07:31:04 -04:00
Nicholas Hastings
cf39bc97a5
Backed out changeset: 4af1c2ab3816 (bug 5864).
...
--HG--
extra : rebase_source : 7a3f03aaa4bb80d4b01c59cdb4dc12b0f5e020da
2013-08-23 07:28:07 -04:00
David Anderson
4d43374fde
Add atomic reference counting and port DBI (bug 5876 part 3, r=ds).
...
--HG--
extra : rebase_source : a6defaf477e7a856ce91f92d5f3143f12c141da3
2013-08-23 00:18:13 -07:00
David Anderson
dac42ee272
Add reference counting to IDatabase (bug 5876 part 2, r=ds).
...
--HG--
extra : rebase_source : 9fef982c3923a2f5cb842b3b8a5cca235ef9c6b9
2013-08-23 00:18:12 -07:00
David Anderson
f7991185ba
Add reference counting and use it for CGameConfig (bug 5876 part 1, r=ds).
...
--HG--
extra : rebase_source : 42b033d005ae3118b6505c530227c84e0e8a7553
2013-08-23 00:18:11 -07:00
Nicholas Hastings
5954f15989
Fixed crash in OnSayCommand_Post with console chat, pass console chat (bug 5864, r=voided);
...
--HG--
extra : rebase_source : 4a1a1945efc119f40e7d55d4fdfcc250bdc0febc
2013-08-22 21:45:42 -04:00
Nicholas Hastings
4d2eb7af30
Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).
...
--HG--
extra : rebase_source : cb9bd8d35bddfb5feb3bead7284398eb8bd7d6b4
2013-08-22 21:45:40 -04:00
Nicholas Hastings
50083048f6
Fixed SDKHooks thinking a hook type was supported when gamedata missing (r=voided).
...
--HG--
extra : rebase_source : 88a08b03ecbbbaa3bf1c91db30c2e08ceb106e95
2013-08-22 21:45:19 -04:00
David Anderson
dab2932550
Fix Linux build.
2013-08-22 18:03:00 -07:00
David Anderson
a8cebbe3fd
Fix windows build.
2013-08-22 17:55:49 -07:00
David Anderson
d6a6194e68
Make amtl headers BSD-licensed and clean up outstanding style issues.
2013-08-22 17:11:17 -07:00
David Anderson
c373527851
Rename ke_* headers to am-*
...
--HG--
rename : public/amtl/ke_allocator_policies.h => public/amtl/am-allocator-policies.h
rename : public/amtl/ke_inline_list.h => public/amtl/am-inline-list.h
rename : public/amtl/ke_thread_posix.h => public/amtl/am-thread-posix.h
rename : public/amtl/ke_thread_utils.h => public/amtl/am-thread-utils.h
rename : public/amtl/ke_thread_windows.h => public/amtl/am-thread-windows.h
rename : public/amtl/ke_utility.h => public/amtl/am-utility.h
rename : public/amtl/ke_vector.h => public/amtl/am-vector.h
2013-08-22 17:10:59 -07:00
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