Updated ham sandwich offsets for TFC.

Former-commit-id: 561e9d87dfe374662c189bc76ea65bf4b40f07e7
This commit is contained in:
Scott Ehlert 2013-05-24 22:28:06 -05:00
parent 2c2de2169f
commit 7e64cbf543

View File

@ -710,110 +710,110 @@
; TFC Does not have the following "standard" entries in its vtable: ; TFC Does not have the following "standard" entries in its vtable:
; addpoints, addpointstoteam ; addpoints, addpointstoteam
@section tfc linux @section tfc linux
pev 0 pev 4
base 0x470 base 0x0
spawn 3 spawn 2
precache 4 precache 3
keyvalue 5 keyvalue 4
objectcaps 8 objectcaps 7
activate 9 activate 8
setobjectcollisionbox 10 setobjectcollisionbox 9
classify 11 classify 10
deathnotice 12 deathnotice 11
traceattack 13 traceattack 12
takedamage 14 takedamage 13
takehealth 15 takehealth 14
killed 16 killed 15
bloodcolor 17 bloodcolor 16
tracebleed 18 tracebleed 17
istriggered 19 istriggered 18
mymonsterpointer 20 mymonsterpointer 19
mysquadmonsterpointer 21 mysquadmonsterpointer 20
gettogglestate 22 gettogglestate 21
addplayeritem 23 addplayeritem 22
removeplayeritem 24 removeplayeritem 23
giveammo 25 giveammo 24
getdelay 26 getdelay 25
ismoving 27 ismoving 26
overridereset 28 overridereset 27
damagedecal 29 damagedecal 28
settogglestate 30 settogglestate 29
startsneaking 31 startsneaking 30
stopsneaking 32 stopsneaking 31
oncontrols 33 oncontrols 32
issneaking 34 issneaking 33
isalive 35 isalive 34
isbspmodel 36 isbspmodel 35
reflectgauss 37 reflectgauss 36
hastarget 38 hastarget 37
isinworld 39 isinworld 38
isplayer 40 isplayer 39
isnetclient 41 isnetclient 40
getnexttarget 43 getnexttarget 42
think 44 think 43
touch 45 touch 44
use 46 use 45
blocked 47 blocked 46
respawn 48 respawn 47
updateowner 49 updateowner 48
fbecomeprone 50 fbecomeprone 49
center 51 center 50
eyeposition 52 eyeposition 51
earposition 53 earposition 52
bodytarget 54 bodytarget 53
illumination 55 illumination 54
fvisible 56 fvisible 55
fvecvisible 57 fvecvisible 56
player_jump 135 player_jump 134
player_duck 136 player_duck 135
player_prethink 137 player_prethink 136
player_postthink 138 player_postthink 137
player_shouldfadeondeath 69 player_shouldfadeondeath 68
player_impulsecommands 139 player_impulsecommands 138
item_addtoplayer 67 item_addtoplayer 66
item_addduplicate 68 item_addduplicate 67
item_getiteminfo 70 item_getiteminfo 69
item_candeploy 71 item_candeploy 70
item_deploy 72 item_deploy 71
item_canholster 73 item_canholster 72
item_holster 74 item_holster 73
item_updateiteminfo 75 item_updateiteminfo 74
item_preframe 76 item_preframe 75
item_postframe 77 item_postframe 76
item_drop 78 item_drop 77
item_kill 79 item_kill 78
item_attachtoplayer 80 item_attachtoplayer 79
item_primaryammoindex 81 item_primaryammoindex 80
item_secondaryammoindex 82 item_secondaryammoindex 81
item_updateclientdata 83 item_updateclientdata 82
item_getweaponptr 84 item_getweaponptr 83
item_itemslot 69 item_itemslot 68
weapon_extractammo 85 weapon_extractammo 84
weapon_extractclipammo 86 weapon_extractclipammo 85
weapon_addweapon 87 weapon_addweapon 86
weapon_playemptysound 88 weapon_playemptysound 87
weapon_resetemptysound 89 weapon_resetemptysound 88
weapon_sendweaponanim 90 weapon_sendweaponanim 89
weapon_isusable 91 weapon_isusable 90
weapon_primaryattack 92 weapon_primaryattack 91
weapon_secondaryattack 93 weapon_secondaryattack 92
weapon_reload 94 weapon_reload 93
weapon_weaponidle 95 weapon_weaponidle 94
weapon_retireweapon 96 weapon_retireweapon 95
weapon_shouldweaponidle 97 weapon_shouldweaponidle 96
tfc_engineeruse 58 tfc_engineeruse 57
tfc_finished 59 tfc_finished 58
tfc_empexplode 60 tfc_empexplode 59
tfc_calcempdmgrad 61 tfc_calcempdmgrad 60
tfc_takeempblast 62 tfc_takeempblast 61
tfc_empremove 63 tfc_empremove 62
tfc_takeconcussionblast 64 tfc_takeconcussionblast 63
tfc_concuss 65 tfc_concuss 64
@end @end
@section tfc windows @section tfc windows
pev 4 pev 4
@ -922,6 +922,114 @@
tfc_takeconcussionblast 62 tfc_takeconcussionblast 62
tfc_concuss 63 tfc_concuss 63
@end @end
@section tfc mac
pev 4
base 0x0
spawn 2
precache 3
keyvalue 4
objectcaps 7
activate 8
setobjectcollisionbox 9
classify 10
deathnotice 11
traceattack 12
takedamage 13
takehealth 14
killed 15
bloodcolor 16
tracebleed 17
istriggered 18
mymonsterpointer 19
mysquadmonsterpointer 20
gettogglestate 21
addplayeritem 22
removeplayeritem 23
giveammo 24
getdelay 25
ismoving 26
overridereset 27
damagedecal 28
settogglestate 29
startsneaking 30
stopsneaking 31
oncontrols 32
issneaking 33
isalive 34
isbspmodel 35
reflectgauss 36
hastarget 37
isinworld 38
isplayer 39
isnetclient 40
getnexttarget 42
think 43
touch 44
use 45
blocked 46
respawn 47
updateowner 48
fbecomeprone 49
center 50
eyeposition 51
earposition 52
bodytarget 53
illumination 54
fvisible 55
fvecvisible 56
player_jump 134
player_duck 135
player_prethink 136
player_postthink 137
player_shouldfadeondeath 68
player_impulsecommands 138
item_addtoplayer 66
item_addduplicate 67
item_getiteminfo 69
item_candeploy 70
item_deploy 71
item_canholster 72
item_holster 73
item_updateiteminfo 74
item_preframe 75
item_postframe 76
item_drop 77
item_kill 78
item_attachtoplayer 79
item_primaryammoindex 80
item_secondaryammoindex 81
item_updateclientdata 82
item_getweaponptr 83
item_itemslot 68
weapon_extractammo 84
weapon_extractclipammo 85
weapon_addweapon 86
weapon_playemptysound 87
weapon_resetemptysound 88
weapon_sendweaponanim 89
weapon_isusable 90
weapon_primaryattack 91
weapon_secondaryattack 92
weapon_reload 93
weapon_weaponidle 94
weapon_retireweapon 95
weapon_shouldweaponidle 96
tfc_engineeruse 57
tfc_finished 58
tfc_empexplode 59
tfc_calcempdmgrad 60
tfc_takeempblast 61
tfc_empremove 62
tfc_takeconcussionblast 63
tfc_concuss 64
@end
; ns's linux binary is compiled with gcc 3.3, so the "base" is 0, and pev is 4 ; ns's linux binary is compiled with gcc 3.3, so the "base" is 0, and pev is 4
@section ns linux @section ns linux
pev 4 pev 4