David Anderson
d5177fdc74
Switch EventManager off KTrie (bug 5884 part 13, r=ds).
2013-08-25 12:17:26 -07:00
David Anderson
80eba57e6b
Switch sm_srvcmds off KTrie (bug 5884 part 12, r=ds).
2013-08-25 12:17:25 -07:00
David Anderson
3985dd639a
Switch UserMessages off KTrie (bug 5884 part 11, r=ds).
2013-08-25 12:16:07 -07:00
David Anderson
3000445af9
Switch smn_console off KTrie (bug 5884 part 10, r=ds).
2013-08-25 12:15:27 -07:00
David Anderson
0235d57625
Switch ConsoleDetours off KTrie (bug 5884 part 9, r=ds).
2013-08-25 12:15:26 -07:00
David Anderson
77c7b312ea
Switch ConVar, CoreConfig off KTrie (bug 5884 part 8, r=ds).
2013-08-25 12:13:30 -07:00
David Anderson
3850765759
Switch HalfLife2 off KTrie (bug 5884 part 7, r=ds).
2013-08-25 11:59:48 -07:00
David Anderson
0b8e2fd5c9
Switch Profiler off KTrie (bug 5884 part 6, r=ds).
2013-08-25 11:59:48 -07:00
David Anderson
ebe9ee8114
Switch ShareSys off KTrie (bug 5884 part 5, r=ds).
2013-08-25 11:59:47 -07:00
David Anderson
a8ab617ee9
Switch smn_maplists off KTrie (bug 5884 part 4, r=ds).
2013-08-25 11:59:47 -07:00
David Anderson
414440589e
Switch PluginSys off KTrie (bug 5884 part 3, r=ds).
2013-08-25 11:59:46 -07:00
David Anderson
544b6d94aa
Switch HandleSys off KTrie (bug 5884 part 2, r=ds).
2013-08-25 11:59:45 -07:00
David Anderson
0144062126
Introduce NameHashSet (bug 5884 part 1, r=ds).
2013-08-25 11:59:44 -07:00
David Anderson
db1b7a8067
Fix build.
2013-08-25 11:26:37 -07:00
Nicholas Hastings
a9905ec95e
Add missing MarkNativeAsOptional calls for cstrike.inc (r=me).
2013-08-25 11:01:55 -04:00
Kyle Sanderson
7e2afacf34
Fix broken translating in some plugins and natives (bug 5612, r=psychonic).
2013-08-25 10:15:35 -04:00
Kyle Sanderson
2b6257e94e
Fixed potential deadlock in HandleSystem::TryAndFreeSomeHandles (bug 5665, r=dvander).
2013-08-25 09:59:13 -04:00
David Anderson
d14b5fe00b
Switch GameConfigs to hash tables (bug 5878 part 3, r=ds).
2013-08-25 01:42:16 -07:00
David Anderson
04bb2d1066
Switch Translator to hash tables (bug 5878 part 2, r=ds).
2013-08-25 01:42:15 -07:00
David Anderson
3b9037397a
Add new StringHashMap container (bug 5878 part 1, r=ds).
2013-08-25 01:42:14 -07:00
Nicholas Hastings
ea3e602835
Fix cmd listener callback return behavior to match func doc (bug 5882, r=asherkin).
2013-08-24 23:56:39 -04:00
Nicholas Hastings
96e971084a
Fix SDKHooks hook ent validation missing first datatable name (bug 5881, r=asherkin).
2013-08-24 21:59:52 -04:00
Nicholas Hastings
9bf78a96cc
Replace hardcoded "/ff" check in basetriggers (bug 5863, r=drifter).
2013-08-24 21:59:52 -04:00
Nicholas Hastings
ba55ef0b2e
Don't call SayCommand forwards for chat triggers (bug 5863, r=asherkin).
2013-08-24 21:59:52 -04:00
Nicholas Hastings
0c00f7393c
Fixed regression causing public triggers to no longer display (bug 5863, r=drifter).
2013-08-24 21:59:52 -04:00
Nicholas Hastings
1824826474
Removed unused var m_bTriggerWasSilent from core ChatTriggers (bug 5863, r=asherkin).
2013-08-24 21:59:52 -04:00
David Anderson
57e1c7d55f
Fix build problems when using HashMap.
2013-08-24 01:29:43 -07:00
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