Commit Graph
85 Commits
Author SHA1 Message Date
Nicholas Hastings 9d6fea857b Fix another syntax error in files.inc 2014-08-22 06:55:45 -07:00
Nicholas Hastings 8d60fecb96 Fix syntax errors in files.inc 2014-08-22 06:30:25 -07:00
Nicholas Hastings 73115f7afa Add support for specifying gameinfo search path when using valveFS in file natives 2014-08-22 06:00:43 -07:00
Nicholas Hastings b95e7ff145 Add missing use_valve_fs param to CreateDirectory native def 2014-08-22 05:59:41 -07:00
Nicholas Hastings e1158889e5 Fix backwards use_valve_fs logic for OpenDirectory 2014-08-22 05:56:23 -07:00
Nicholas Hastings 5716927cbf Fix compile error on with MSVC. 2014-08-20 21:37:47 -04:00
Nicholas Hastings 4e5b1a58ce Add ValveFS support to more filesystem functions: OpenDirectory (CloseHandle on directory) ReadDirEntry DirExists CreateDirectory RenameFile 2014-08-06 13:15:24 -07:00
Nicholas Hastings f2b19e6c87 Add more accurate return value for DeleteFile when using Valve FS. 2014-08-03 09:10:02 -04:00
Nicholas Hastings 573aea20fb More progress:
Abstracted many fs funcs with helper class.
Removed much duplicated code.
Fixed ReadFile assuming FS errors for ValveFS.
Added ValveFS support for ReadFileString, WriteFile, WriteFileString, DeleteFile.
Added missing param in doc for OpenFile.
2014-08-01 12:38:51 -07:00
Nicholas Hastings 5e7e7ce551 Improved FPrint(f) passthrough 2014-08-01 06:09:09 -07:00
Nicholas Hastings 8d5fe316e0 Merge pull request #114 from VoiDeD/tf2-removewearable
Implement TF2_RemoveWearable native (r=psychonic).
2014-07-30 18:43:34 -04:00
Nicholas Hastings b979d707db Update Fistful of Frags gamedata. 2014-07-30 06:35:45 -04:00
Nicholas Hastings ac371aa639 Merge pull request #96 from peace-maker/reloadpost_hook
Fix regression. SDKHook_ReloadPost never firing (r=psychonic).
2014-07-16 15:09:44 -04:00
Nicholas Hastings a8a64cabee Update some Contagion gamedata. 2014-07-13 10:15:18 -04:00
Nicholas Hastings 44b2b02a1e Merge pull request #85 from alliedmodders/more-prop-data-types
Fix regression stopping -1 from being a valid value in SetEntPropEnt (r=VoiDeD).
2014-07-09 22:47:54 -04:00
Nicholas Hastings 31a79231f8 Fix regression stopping -1 from being a valid value in SetEntPropEnt. 2014-07-09 22:23:20 -04:00
Nicholas Hastings d4c676aed2 Merge pull request #83 from alliedmodders/more-prop-data-types
Add support to Get/SetEntPropEnt for FIELD_CLASSPTR and FIELD_EDICT datadesc fields (r=KyleS).
2014-07-09 21:00:49 -04:00
Nicholas Hastings 0b5e587db9 Remove unnecessary null check. 2014-07-09 20:33:38 -04:00
Nicholas Hastings f7a64167fc Fix Dota 2 build. 2014-07-09 19:25:45 -04:00
Nicholas Hastings 3a94bd4fef Add support to Get/SetEntPropEnt for FIELD_CLASSPTR and FIELD_CLASSPTR datadesc fields. 2014-07-09 17:32:32 -04:00
Nicholas Hastings 63aeeb8672 Merge pull request #70 from VoiDeD/classname-no-world-entity
GetEntityClassname should handle the case where the world entity has not been created yet (r=psychonic).
2014-07-06 11:26:01 -04:00
Nicholas Hastings ffa1887c48 Merge pull request #65 from powerlord/master
New functions for SDKTools to get information from game_sound files (r=psychonic).
2014-07-04 17:17:00 -04:00
Nicholas Hastings cde927112a Merge pull request #66 from alliedmodders/tf2-iserver
Switch TF2 to use IVEngineServer::GetIServer in SDKTools to find IServer ptr (r=voided).
2014-07-03 12:45:18 -04:00
Nicholas Hastings 3254f6f362 Switch TF2 to use IVEngineServer::GetIServer in SDKTools to find IServer ptr. 2014-07-03 12:26:52 -04:00
Nicholas Hastings e6f6e6df70 Merge pull request #59 from alliedmodders/csgo-weapon-drop
Update CStrike extension CSWeaponDrop to use Vector overload on CS:GO (r=asherkin).
2014-07-02 10:44:04 -04:00
Nicholas Hastings eeba5b93c5 Update CStrike extension CSWeaponDrop to use Vector overload on CS:GO. 2014-07-02 10:08:56 -04:00
Nicholas Hastings 5e596819c5 Update CS:GO CSWeaponDrop gamedata. 2014-07-01 21:06:39 -04:00
Nicholas Hastings 0e015027fc Merge pull request #57 from VoiDeD/reservedslots-override-fix
sm_reskick_immunity access check should not check for commands (r=psychonic).
2014-07-01 10:18:04 -04:00
Nicholas Hastings aedd1eb49c Add HudText gamedata support for Synergy (bug 6161). 2014-06-29 20:23:07 -04:00
Nicholas Hastings 6e34a530b4 Update Dota Linux EntityFactoryDictionary gamedata. 2014-06-28 17:04:43 -04:00
Nicholas Hastings 367c557a77 Update Synergy gamedata and switch NMRiH gamedata on linux to use symbols. 2014-06-28 09:52:03 -04:00
Nicholas Hastings 3983dc10ed Update non-auto version for 1.7.0 for compiled plugins. 2014-06-23 19:46:26 -04:00
Nicholas Hastings c5e2d49b8f Merge pull request #52 from alliedmodders/bug-6137
Update TF2_IsHolidayActive native to virtually call gamerules IsHolidayActive (bug 6137, r=VoiDeD).
2014-06-23 19:39:14 -04:00
Nicholas Hastings bbdf40160c Add missing thisptr to call. 2014-06-23 19:24:27 -04:00
Nicholas Hastings de0f49248d Update TF2_IsHolidayActive native to virtually call gamerules IsHolidayActive. 2014-06-23 16:23:49 -04:00
Nicholas Hastings dbcfbdb21a Merge pull request #42 from alliedmodders/bug-6137
Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137, r=VoiDeD).
2014-06-22 21:23:27 -04:00
Nicholas Hastings fe485836f1 Remove redundant code. 2014-06-19 23:48:15 -04:00
Nicholas Hastings 1daf629a42 Remove dead variable. 2014-06-19 23:34:35 -04:00
Nicholas Hastings 151c6d246e Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137). 2014-06-19 23:22:47 -04:00
Nicholas Hastings 210759907d Merge pull request #41 from alliedmodders/c++11
Enable C++11 on posix (r=dvander).
2014-06-19 21:20:13 -04:00
Nicholas Hastings 8b7ce5eed2 Enable C++ support on "like" gcc builds. 2014-06-19 20:59:15 -04:00
Nicholas Hastings 4a75be1c92 Fix KE_OVERRIDE typo in amtl (already fixed upstream). 2014-06-19 20:58:26 -04:00
Nicholas Hastings 3d114e5506 Update linux platform check in KePlatform.h to be consistent with others. 2014-06-19 20:57:54 -04:00
Nicholas Hastings 58158ce607 Merge pull request #40 from alliedmodders/fix-invalid-string-index
Fix FindStringIndex native not returning INVALID_STRING_INDEX when string not found (bug 6144, r=DS).
2014-06-19 14:40:16 -04:00
Nicholas Hastings 0f39825699 Merge pull request #39 from alliedmodders/outputs-getentclassname
Update SDKTools entity output functions to use core's GetEntityClassname instead of own (r=DS).
2014-06-19 14:39:49 -04:00
Nicholas Hastings 291ef6fdc4 Fix FindStringIndex native not returning INVALID_STRING_INDEX when string not found (bug 6144). 2014-06-19 11:40:01 -04:00
Nicholas Hastings 75254bbf25 Update SDKTools entity output functions to use core's GetEntityClassname instead of own. 2014-06-19 11:27:26 -04:00
Nicholas Hastings b0e466edae Revert "Disable FireOutput gamedata on TF2 until proper fix is found."
This reverts commit 9af7eefe07.
2014-06-19 00:34:41 -04:00
Nicholas Hastings e95309a603 Add early-exit in entity output detour if entity has no classname. 2014-06-19 00:33:54 -04:00
Nicholas Hastings 9af7eefe07 Disable FireOutput gamedata on TF2 until proper fix is found. 2014-06-18 23:16:20 -04:00
Nicholas Hastings b5c5aba588 Revert "Update TF2 FireOutput gamedata."
This reverts commit 633f219cf7.
2014-06-18 23:15:38 -04:00
Nicholas Hastings 13f27821ad Bump version for master branch. 2014-06-18 19:24:06 -04:00
Nicholas Hastings 7553106eee Merge pull request #34 from WildCard65/Spacing
Added spacing to compile.sh (r=psychonic).
2014-06-17 21:44:05 -04:00
Nicholas Hastings 5cf73385c5 Merge pull request #37 from FlaminSarge/tf_weapon_enum_2014jun11
Update TF_WEAPON enum and tf2_stocks.inc (r=psychonic).
2014-06-17 16:52:11 -04:00
Nicholas Hastings 00c09584c7 Update Fistful of Frags gamedata. 2014-06-13 13:40:06 -04:00
Nicholas Hastings 7677e8af79 Merge pull request #27 from VoiDeD/convar-cache
Utilize convar cache for FindConVar (r=KyleS, r=psychonic)..
2014-06-12 19:47:33 -04:00
Nicholas Hastings 17a7d4802d Update TF2 SDKHooks Reload gamedata. 2014-06-12 10:00:49 -04:00
Nicholas Hastings 0b2610e3b3 Update CSGO Windows SetClanTag gamedata (bug 6150). 2014-06-12 09:56:50 -04:00
Nicholas Hastings 51a02652d8 Merge pull request #33 from alliedmodders/tf2-iservertools
Use updated IServerTools iface on TF2 for getting tempent list and FindEntityByClassname (PR #33, r=KyleS).
2014-06-11 23:43:48 -04:00
Nicholas Hastings e7870da5ff Add ifdef section notes on endifs. 2014-06-11 23:37:02 -04:00
Nicholas Hastings a697e81427 Use updated IServerTools iface on TF2 for getting tempent list and FindEntityByClassname. 2014-06-11 22:44:42 -04:00
Nicholas Hastings 5f8288dc70 Update TF2 CalcIsAttackCritical gamedata. 2014-06-11 17:48:51 -04:00
Nicholas Hastings feb5050df1 Merge pull request #5 from peace-maker/pawn_stringconcat
Add string literal concatenation using ellipses "..." (bug 4261, PR #5, r=dvander).
2014-06-11 08:16:04 -04:00
Nicholas Hastings e4328f9211 Fix build. 2014-06-10 12:30:04 -04:00
Nicholas Hastings 0ca218931a Trigger build again for hl2sdk-l4d and hl2sdk-dota changes. 2014-06-02 09:57:02 -04:00
Nicholas Hastings 1d9f769a42 Trigger build for hl2sdk-dota changes. 2014-06-02 09:30:25 -04:00
Nicholas Hastings 4c7cf6ce06 Trigger build for hl2sdk-l4d changes. 2014-06-01 16:27:52 -04:00
Nicholas Hastings 39993c7019 Merge pull request #20 from psychonic/bot-hibernation-disconnect
Fix case where bots leave server without disconnect notice (hibernation) (r=KyleS).
2014-05-31 23:00:03 -04:00
Nicholas Hastings a0f3410f3b Fix a case where bots can leave server without disconnect notice (hibernation), triggering other issues. 2014-05-31 15:18:17 -04:00
Nicholas Hastings 76a589f689 Merge pull request #16 from psychonic/client-disconnect-quirks
Fix inconsistencies with OnClientDisconnected calls (bug 5988, r=kyles)
2014-05-30 19:09:50 -04:00
Nicholas Hastings e7621ad8a7 Fix inconsistencies with OnClientDisconnected calls (bug 5988) 2014-05-30 17:45:49 -04:00
Nicholas Hastings c4232510a1 Merge pull request #15 from 50Wliu/contributing
Create CONTRIBUTING.md (r=psychonic).
2014-05-29 23:27:12 -04:00
Nicholas Hastings 5cb10441d7 Merge pull request #7 from Bara20/patch-1
Add CS_DMG_HEADSHOT define (r=psychonic).
2014-05-29 15:39:33 -04:00
Nicholas Hastings 6ee42dc7fe Really fix Mac build. 2014-05-29 15:09:38 -04:00
Nicholas Hastings e0f6544c86 Fix Mac build. 2014-05-29 14:16:11 -04:00
Nicholas Hastings beb3f8c1d4 Replace magic numbers for sm_show_activity with named constants. 2014-05-29 13:54:51 -04:00
Nicholas Hastings 35784c018d Move adminsys and more natives from core to logic. 2014-05-29 13:31:12 -04:00
Nicholas Hastings 9ff6cdef8c Merge pull request #12 from psychonic/more2logic
Move many player natives from core to logic.
2014-05-29 00:51:29 -04:00
Nicholas Hastings dbc881143b Move many player natives from core to logic. 2014-05-28 23:20:41 -04:00
Nicholas Hastings 6456b937be Fix build. 2014-05-28 21:10:40 -04:00
Nicholas Hastings f1387c892e Merge pull request #10 from psychonic/platform-defs
Fix up PLATFORM defs to match same-name ones in some SDK versions.
2014-05-28 21:01:17 -04:00
Nicholas Hastings cae5d48d31 Merge pull request #8 from psychonic/travis-ci
Add support for Travis-CI
2014-05-28 20:56:14 -04:00
Nicholas Hastings d83d72fd88 Give define value (of 1) to PLATFORM defs to match the same-name defs in some SDKs. 2014-05-28 20:36:52 -04:00
Nicholas Hastings ff42e854bb Add Travis-CI config file. 2014-05-28 14:38:55 -04:00
Nicholas Hastings a462feee61 Fix version script failing when HEAD directly contains hash instead of ref to it. 2014-05-28 14:38:17 -04:00