multiplayer/network/delta.lst
author David Anderson <dvander@alliedmods.net>
Sat Feb 02 21:55:29 2013 -0800 (2013-02-02)
changeset 3 0ef753efd252
parent 0 5ca3e43f92ab
child 5 b1abd5d0c860
permissions -rw-r--r--
Fix erroneous typedef.
[email protected]
     1
// structure name
[email protected]
     2
// none == no conditional encode routine
[email protected]
     3
// gamedll routine_name : before transmitting data, invoke the named function from the game .dll to reset fields as needed
[email protected]
     4
// clientdll routine_name : same as above, except the routine is called via the client.dll
[email protected]
     5
[email protected]
     6
clientdata_t none                    
[email protected]
     7
{
[email protected]
     8
	DEFINE_DELTA( flTimeStepSound, DT_INTEGER, 10, 1.0 ),
[email protected]
     9
	DEFINE_DELTA( origin[0], DT_SIGNED | DT_FLOAT, 21, 128.0 ),
[email protected]
    10
	DEFINE_DELTA( origin[1], DT_SIGNED | DT_FLOAT, 21, 128.0 ),
[email protected]
    11
	DEFINE_DELTA( velocity[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    12
	DEFINE_DELTA( velocity[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    13
[email protected]
    14
	DEFINE_DELTA( m_flNextAttack, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
    15
[email protected]
    16
	DEFINE_DELTA( origin[2], DT_SIGNED | DT_FLOAT, 21, 128.0 ),
[email protected]
    17
	DEFINE_DELTA( velocity[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    18
[email protected]
    19
	DEFINE_DELTA( ammo_nails, DT_SIGNED | DT_INTEGER, 10, 1.0 ),
[email protected]
    20
	DEFINE_DELTA( ammo_shells, DT_SIGNED | DT_INTEGER, 10, 1.0 ),
[email protected]
    21
	DEFINE_DELTA( ammo_cells, DT_SIGNED | DT_INTEGER, 10, 1.0 ),
[email protected]
    22
	DEFINE_DELTA( ammo_rockets, DT_SIGNED | DT_INTEGER, 10, 1.0 ),
[email protected]
    23
[email protected]
    24
	DEFINE_DELTA( m_iId, DT_INTEGER, 5, 1.0 ),
[email protected]
    25
[email protected]
    26
	DEFINE_DELTA( punchangle[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    27
	DEFINE_DELTA( flags, DT_INTEGER, 32, 1.0 ), // Cut to 3 bits?
[email protected]
    28
	DEFINE_DELTA( weaponanim, DT_INTEGER, 8, 1.0 ),
[email protected]
    29
	DEFINE_DELTA( health, DT_SIGNED | DT_FLOAT, 10, 1.0 ), // Cut # of bits?
[email protected]
    30
	DEFINE_DELTA( maxspeed, DT_FLOAT, 16, 10.0 ),
[email protected]
    31
	DEFINE_DELTA( flDuckTime, DT_INTEGER, 10, 1.0 ),
[email protected]
    32
	DEFINE_DELTA( view_ofs[2], DT_SIGNED | DT_FLOAT, 10, 4.0 ),
[email protected]
    33
	DEFINE_DELTA( punchangle[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    34
	DEFINE_DELTA( punchangle[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    35
	DEFINE_DELTA( viewmodel, DT_INTEGER, 10, 1.0 ),
[email protected]
    36
	DEFINE_DELTA( weapons, DT_INTEGER, 32, 1.0 ),
[email protected]
    37
[email protected]
    38
	DEFINE_DELTA( pushmsec, DT_INTEGER, 11, 1.0 ),
[email protected]
    39
	DEFINE_DELTA( deadflag, DT_INTEGER, 3, 1.0 ),
[email protected]
    40
	DEFINE_DELTA( fov, DT_FLOAT, 8, 1.0 ),
[email protected]
    41
	DEFINE_DELTA( physinfo, DT_STRING, 1, 1.0 ),
[email protected]
    42
	DEFINE_DELTA( bInDuck, DT_INTEGER, 1, 1.0 ),
[email protected]
    43
	DEFINE_DELTA( flSwimTime, DT_INTEGER, 10, 1.0 ),
[email protected]
    44
	DEFINE_DELTA( waterjumptime, DT_INTEGER, 15, 1.0 ),
[email protected]
    45
	DEFINE_DELTA( waterlevel, DT_INTEGER, 2, 1.0 ),
[email protected]
    46
[email protected]
    47
	DEFINE_DELTA( vuser1[0], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    48
	DEFINE_DELTA( vuser1[1], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    49
	DEFINE_DELTA( vuser1[2], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    50
[email protected]
    51
	DEFINE_DELTA( vuser2[0], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    52
	DEFINE_DELTA( vuser2[1], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    53
	DEFINE_DELTA( vuser2[2], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    54
[email protected]
    55
	DEFINE_DELTA( vuser3[0], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    56
	DEFINE_DELTA( vuser3[1], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    57
	DEFINE_DELTA( vuser3[2], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    58
[email protected]
    59
	DEFINE_DELTA( vuser4[0], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    60
	DEFINE_DELTA( vuser4[1], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    61
	DEFINE_DELTA( vuser4[2], DT_SIGNED | DT_FLOAT, 10, 1.0 ),
[email protected]
    62
	
[email protected]
    63
	DEFINE_DELTA( fuser1, DT_SIGNED | DT_FLOAT, 22, 128.0 ),
[email protected]
    64
	DEFINE_DELTA( fuser2, DT_SIGNED | DT_FLOAT, 10, 128.0 ),
[email protected]
    65
	DEFINE_DELTA( fuser3, DT_SIGNED | DT_FLOAT, 10, 128.0 ),
[email protected]
    66
	DEFINE_DELTA( fuser4, DT_SIGNED | DT_FLOAT, 2, 128.0 )
[email protected]
    67
}
[email protected]
    68
[email protected]
    69
entity_state_t gamedll Entity_Encode
[email protected]
    70
{
[email protected]
    71
	DEFINE_DELTA( animtime, DT_TIMEWINDOW_8, 8, 1.0 ),
[email protected]
    72
	DEFINE_DELTA( frame, DT_FLOAT, 10, 4.0 ),
[email protected]
    73
	DEFINE_DELTA( origin[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    74
	DEFINE_DELTA( angles[0], DT_ANGLE, 16, 1.0 ),
[email protected]
    75
	DEFINE_DELTA( angles[1], DT_ANGLE, 16, 1.0 ),
[email protected]
    76
	DEFINE_DELTA( origin[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    77
	DEFINE_DELTA( origin[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    78
	DEFINE_DELTA( sequence, DT_INTEGER, 8, 1.0 ),
[email protected]
    79
	DEFINE_DELTA( modelindex, DT_INTEGER, 10, 1.0 ),
[email protected]
    80
	DEFINE_DELTA( movetype, DT_INTEGER, 4, 1.0 ),
[email protected]
    81
	DEFINE_DELTA( solid, DT_SHORT, 3, 1.0 ),
[email protected]
    82
	DEFINE_DELTA( mins[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    83
	DEFINE_DELTA( mins[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    84
	DEFINE_DELTA( mins[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    85
	DEFINE_DELTA( maxs[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    86
	DEFINE_DELTA( maxs[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    87
	DEFINE_DELTA( maxs[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
    88
[email protected]
    89
	DEFINE_DELTA( endpos[0], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    90
	DEFINE_DELTA( endpos[1], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    91
	DEFINE_DELTA( endpos[2], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    92
	DEFINE_DELTA( startpos[0], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    93
	DEFINE_DELTA( startpos[1], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    94
	DEFINE_DELTA( startpos[2], DT_SIGNED | DT_FLOAT, 13, 1.0 ),
[email protected]
    95
	DEFINE_DELTA( impacttime, DT_TIMEWINDOW_BIG, 13, 100.0 ),
[email protected]
    96
	DEFINE_DELTA( starttime, DT_TIMEWINDOW_BIG, 13, 100.0 ),
[email protected]
    97
	
[email protected]
    98
	DEFINE_DELTA( weaponmodel, DT_INTEGER, 10, 1.0 ),
[email protected]
    99
	DEFINE_DELTA( owner, DT_INTEGER, 5, 1.0 ),
[email protected]
   100
	DEFINE_DELTA( effects, DT_INTEGER, 8, 1.0 ),
[email protected]
   101
	DEFINE_DELTA( eflags, DT_INTEGER, 1, 1.0 ),
[email protected]
   102
	DEFINE_DELTA( angles[2], DT_ANGLE, 16, 1.0 ),
[email protected]
   103
	DEFINE_DELTA( colormap, DT_INTEGER, 16, 1.0 ),
[email protected]
   104
	DEFINE_DELTA( framerate, DT_SIGNED | DT_FLOAT, 8, 16.0 ),
[email protected]
   105
	DEFINE_DELTA( skin, DT_SHORT | DT_SIGNED, 9, 1.0 ),
[email protected]
   106
	DEFINE_DELTA( controller[0], DT_BYTE, 8, 1.0 ),
[email protected]
   107
	DEFINE_DELTA( controller[1], DT_BYTE, 8, 1.0 ),
[email protected]
   108
	DEFINE_DELTA( controller[2], DT_BYTE, 8, 1.0 ),
[email protected]
   109
	DEFINE_DELTA( controller[3], DT_BYTE, 8, 1.0 ),
[email protected]
   110
	DEFINE_DELTA( blending[0], DT_BYTE, 8, 1.0 ),
[email protected]
   111
	DEFINE_DELTA( blending[1], DT_BYTE, 8, 1.0 ),
[email protected]
   112
	DEFINE_DELTA( body, DT_INTEGER, 8, 1.0 ),
[email protected]
   113
	DEFINE_DELTA( rendermode, DT_INTEGER, 8, 1.0 ),
[email protected]
   114
	DEFINE_DELTA( renderamt, DT_INTEGER, 8, 1.0 ),
[email protected]
   115
	DEFINE_DELTA( renderfx, DT_INTEGER, 8, 1.0 ),
[email protected]
   116
	DEFINE_DELTA( scale, DT_FLOAT, 16, 256.0 ),
[email protected]
   117
	DEFINE_DELTA( rendercolor.r, DT_BYTE, 8, 1.0 ),
[email protected]
   118
	DEFINE_DELTA( rendercolor.g, DT_BYTE, 8, 1.0 ),
[email protected]
   119
	DEFINE_DELTA( rendercolor.b, DT_BYTE, 8, 1.0 ),
[email protected]
   120
	DEFINE_DELTA( aiment, DT_INTEGER, 11, 1.0 ),
[email protected]
   121
	DEFINE_DELTA( basevelocity[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   122
	DEFINE_DELTA( basevelocity[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   123
	DEFINE_DELTA( basevelocity[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   124
[email protected]
   125
	// Playerclass signifies it's a decalable glass item when referring to an object
[email protected]
   126
[email protected]
   127
	DEFINE_DELTA( playerclass, DT_INTEGER, 1, 1.0 )
[email protected]
   128
}
[email protected]
   129
[email protected]
   130
entity_state_player_t gamedll Player_Encode
[email protected]
   131
{
[email protected]
   132
	DEFINE_DELTA( animtime, DT_TIMEWINDOW_8, 8, 1.0 ),
[email protected]
   133
	DEFINE_DELTA( frame, DT_FLOAT, 8, 1.0 ),
[email protected]
   134
	DEFINE_DELTA( origin[0], DT_SIGNED | DT_FLOAT, 18, 32.0 ),
[email protected]
   135
	DEFINE_DELTA( angles[0], DT_ANGLE, 16, 1.0 ),
[email protected]
   136
	DEFINE_DELTA( angles[1], DT_ANGLE, 16, 1.0 ),
[email protected]
   137
	DEFINE_DELTA( origin[1], DT_SIGNED | DT_FLOAT, 18, 32.0 ),
[email protected]
   138
	DEFINE_DELTA( origin[2], DT_SIGNED | DT_FLOAT, 18, 32.0 ),
[email protected]
   139
	DEFINE_DELTA( gaitsequence, DT_INTEGER, 8, 1.0 ),
[email protected]
   140
	DEFINE_DELTA( sequence, DT_INTEGER, 8, 1.0 ),
[email protected]
   141
	DEFINE_DELTA( modelindex, DT_INTEGER, 10, 1.0 ),
[email protected]
   142
	DEFINE_DELTA( movetype, DT_INTEGER, 4, 1.0 ),
[email protected]
   143
	DEFINE_DELTA( solid, DT_SHORT, 3, 1.0 ),
[email protected]
   144
	DEFINE_DELTA( mins[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   145
	DEFINE_DELTA( mins[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   146
	DEFINE_DELTA( mins[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   147
	DEFINE_DELTA( maxs[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   148
	DEFINE_DELTA( maxs[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   149
	DEFINE_DELTA( maxs[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   150
	DEFINE_DELTA( weaponmodel, DT_INTEGER, 10, 1.0 ),
[email protected]
   151
	DEFINE_DELTA( team, DT_INTEGER, 4, 1.0 )
[email protected]
   152
	DEFINE_DELTA( playerclass, DT_INTEGER, 4, 1.0 )
[email protected]
   153
	DEFINE_DELTA( owner, DT_INTEGER, 5, 1.0 ),
[email protected]
   154
	DEFINE_DELTA( effects, DT_INTEGER, 8, 1.0 ),
[email protected]
   155
	DEFINE_DELTA( angles[2], DT_ANGLE, 16, 1.0 ),
[email protected]
   156
	DEFINE_DELTA( colormap, DT_INTEGER, 16, 1.0 ),
[email protected]
   157
	DEFINE_DELTA( framerate, DT_SIGNED | DT_FLOAT, 8, 16.0 ),
[email protected]
   158
	DEFINE_DELTA( skin, DT_SHORT | DT_SIGNED, 9, 1.0 ),
[email protected]
   159
	DEFINE_DELTA( controller[0], DT_BYTE, 8, 1.0 ),
[email protected]
   160
	DEFINE_DELTA( controller[1], DT_BYTE, 8, 1.0 ),
[email protected]
   161
	DEFINE_DELTA( controller[2], DT_BYTE, 8, 1.0 ),
[email protected]
   162
	DEFINE_DELTA( controller[3], DT_BYTE, 8, 1.0 ),
[email protected]
   163
	DEFINE_DELTA( blending[0], DT_BYTE, 8, 1.0 ),
[email protected]
   164
	DEFINE_DELTA( blending[1], DT_BYTE, 8, 1.0 ),
[email protected]
   165
	DEFINE_DELTA( body, DT_INTEGER, 8, 1.0 ),
dvander[email protected]
   166
	DEFINE_DELTA( rendermode, DT_INTEGER, 8, 1.0 ),
[email protected]
   167
	DEFINE_DELTA( renderamt, DT_INTEGER, 8, 1.0 ),
[email protected]
   168
	DEFINE_DELTA( renderfx, DT_INTEGER, 8, 1.0 ),
[email protected]
   169
	DEFINE_DELTA( scale, DT_FLOAT, 16, 256.0 ),
[email protected]
   170
	DEFINE_DELTA( rendercolor.r, DT_BYTE, 8, 1.0 ),
[email protected]
   171
	DEFINE_DELTA( rendercolor.g, DT_BYTE, 8, 1.0 ),
[email protected]
   172
	DEFINE_DELTA( rendercolor.b, DT_BYTE, 8, 1.0 ),
[email protected]
   173
	DEFINE_DELTA( friction, DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   174
	DEFINE_DELTA( usehull, DT_INTEGER, 1, 1.0 ),
[email protected]
   175
	DEFINE_DELTA( gravity, DT_SIGNED | DT_FLOAT, 16, 32.0 ),
[email protected]
   176
	DEFINE_DELTA( aiment, DT_INTEGER, 11, 1.0 ),
[email protected]
   177
	DEFINE_DELTA( basevelocity[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   178
	DEFINE_DELTA( basevelocity[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   179
	DEFINE_DELTA( basevelocity[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   180
	DEFINE_DELTA( spectator, DT_INTEGER, 1, 1.0 )
[email protected]
   181
}
[email protected]
   182
[email protected]
   183
custom_entity_state_t gamedll Custom_Encode
[email protected]
   184
{
[email protected]
   185
	DEFINE_DELTA( rendermode, DT_INTEGER, 8, 1.0 ),
[email protected]
   186
	DEFINE_DELTA( origin[0], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   187
	DEFINE_DELTA( origin[1], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   188
	DEFINE_DELTA( origin[2], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   189
	DEFINE_DELTA( angles[0], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   190
	DEFINE_DELTA( angles[1], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   191
	DEFINE_DELTA( angles[2], DT_SIGNED | DT_FLOAT, 17, 8.0 ),
[email protected]
   192
	DEFINE_DELTA( sequence, DT_INTEGER, 16, 1.0 ),
[email protected]
   193
	DEFINE_DELTA( skin, DT_INTEGER, 16, 1.0 ),
[email protected]
   194
	DEFINE_DELTA( modelindex, DT_INTEGER, 16, 1.0 ),
[email protected]
   195
	DEFINE_DELTA_POST( scale, DT_FLOAT, 8, 1.0, 0.1 ),
[email protected]
   196
	DEFINE_DELTA( body, DT_INTEGER, 8, 1.0 ),
[email protected]
   197
	DEFINE_DELTA( rendercolor.r, DT_BYTE, 8, 1.0 ),
[email protected]
   198
	DEFINE_DELTA( rendercolor.g, DT_BYTE, 8, 1.0 ),
[email protected]
   199
	DEFINE_DELTA( rendercolor.b, DT_BYTE, 8, 1.0 ),
[email protected]
   200
	DEFINE_DELTA( renderfx, DT_INTEGER, 8, 1.0 ),
[email protected]
   201
	DEFINE_DELTA( renderamt, DT_INTEGER, 8, 1.0 ),
[email protected]
   202
	DEFINE_DELTA( frame, DT_FLOAT, 8, 1.0 ),
[email protected]
   203
	DEFINE_DELTA_POST( animtime, DT_FLOAT, 8, 1.0, 0.1 )
[email protected]
   204
}
[email protected]
   205
[email protected]
   206
usercmd_t none
[email protected]
   207
{
[email protected]
   208
	DEFINE_DELTA( lerp_msec, DT_SHORT, 9, 1.0 ),
[email protected]
   209
	DEFINE_DELTA( msec, DT_BYTE, 8, 1.0 ),
[email protected]
   210
	DEFINE_DELTA( viewangles[1], DT_ANGLE, 16, 1.0 ),
[email protected]
   211
	DEFINE_DELTA( viewangles[0], DT_ANGLE, 16, 1.0 ),
[email protected]
   212
	DEFINE_DELTA( buttons, DT_SHORT, 16, 1.0 ),
[email protected]
   213
	DEFINE_DELTA( forwardmove, DT_SIGNED | DT_FLOAT, 12, 1.0 ),
[email protected]
   214
	DEFINE_DELTA( lightlevel, DT_BYTE, 8, 1.0 ),
[email protected]
   215
	DEFINE_DELTA( sidemove, DT_SIGNED | DT_FLOAT, 12, 1.0 ),
[email protected]
   216
	DEFINE_DELTA( upmove, DT_SIGNED | DT_FLOAT, 12, 1.0 ),
[email protected]
   217
	DEFINE_DELTA( impulse, DT_BYTE, 8, 1.0 ),
[email protected]
   218
	DEFINE_DELTA( viewangles[2], DT_ANGLE, 16, 1.0 ),
[email protected]
   219
	DEFINE_DELTA( impact_index, DT_INTEGER, 6, 1.0 ),
[email protected]
   220
	DEFINE_DELTA( impact_position[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   221
	DEFINE_DELTA( impact_position[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   222
	DEFINE_DELTA( impact_position[2], DT_SIGNED | DT_FLOAT, 16, 8.0 )
[email protected]
   223
}
[email protected]
   224
[email protected]
   225
weapon_data_t none
[email protected]
   226
{
[email protected]
   227
	DEFINE_DELTA( m_flTimeWeaponIdle, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   228
	DEFINE_DELTA( m_flNextPrimaryAttack, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   229
	DEFINE_DELTA( m_flNextReload, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   230
	DEFINE_DELTA( m_fNextAimBonus, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   231
	DEFINE_DELTA( m_flNextSecondaryAttack, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   232
	DEFINE_DELTA( m_iClip, DT_SIGNED | DT_INTEGER, 10, 1.0 ),
[email protected]
   233
	DEFINE_DELTA( m_flPumpTime, DT_FLOAT | DT_SIGNED, 22, 1000.0 ),
[email protected]
   234
	DEFINE_DELTA( m_fInSpecialReload, DT_INTEGER, 2, 1.0 ),
[email protected]
   235
	DEFINE_DELTA( m_fReloadTime, DT_FLOAT, 16, 100.0 ),
[email protected]
   236
	DEFINE_DELTA( m_fInReload, DT_INTEGER, 1, 1.0 ),
[email protected]
   237
	DEFINE_DELTA( m_fAimedDamage, DT_FLOAT, 6, 0.1 ),
[email protected]
   238
	DEFINE_DELTA( m_fInZoom, DT_INTEGER, 1, 1.0 ),
[email protected]
   239
	DEFINE_DELTA( m_iWeaponState, DT_INTEGER, 2, 1.0 ),
[email protected]
   240
	DEFINE_DELTA( m_iId, DT_INTEGER, 5, 1.0 ),
[email protected]
   241
	DEFINE_DELTA( iuser1, DT_SIGNED | DT_INTEGER, 10, 1.0  ),
[email protected]
   242
	DEFINE_DELTA( iuser2, DT_SIGNED | DT_INTEGER, 10, 1.0  ),
[email protected]
   243
	DEFINE_DELTA( iuser3, DT_SIGNED | DT_INTEGER, 10, 1.0  ),
[email protected]
   244
	DEFINE_DELTA( fuser1, DT_SIGNED | DT_FLOAT, 22, 1000.0 ),
[email protected]
   245
	DEFINE_DELTA( fuser2, DT_SIGNED | DT_FLOAT, 22, 128.0  ),
[email protected]
   246
	DEFINE_DELTA( fuser3, DT_SIGNED | DT_FLOAT, 22, 128.0  )
[email protected]
   247
}
[email protected]
   248
[email protected]
   249
event_t none
[email protected]
   250
{
[email protected]
   251
	DEFINE_DELTA( entindex, DT_INTEGER, 10, 1.0 ),
[email protected]
   252
	DEFINE_DELTA( bparam1, DT_INTEGER, 1, 1.0 ),
[email protected]
   253
	DEFINE_DELTA( bparam2, DT_INTEGER, 1, 1.0 ),
[email protected]
   254
	DEFINE_DELTA( origin[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   255
	DEFINE_DELTA( origin[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   256
	DEFINE_DELTA( origin[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   257
	DEFINE_DELTA( fparam1, DT_FLOAT | DT_SIGNED, 20, 100.0 ),
[email protected]
   258
	DEFINE_DELTA( fparam2, DT_FLOAT | DT_SIGNED, 20, 100.0 ),
[email protected]
   259
	DEFINE_DELTA( iparam1, DT_INTEGER | DT_SIGNED, 16, 1.0 ),
[email protected]
   260
	DEFINE_DELTA( iparam2, DT_INTEGER | DT_SIGNED, 16, 1.0 ),
[email protected]
   261
	DEFINE_DELTA( angles[0], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   262
	DEFINE_DELTA( angles[1], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   263
	DEFINE_DELTA( angles[2], DT_SIGNED | DT_FLOAT, 16, 8.0 ),
[email protected]
   264
	DEFINE_DELTA( ducking, DT_INTEGER, 1, 1.0 )
[email protected]
   265
}