Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.36 and a few earlier updates #35

Merged
merged 6 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,803 changes: 1,878 additions & 925 deletions dumper/dump

Large diffs are not rendered by default.

40 changes: 32 additions & 8 deletions files/engine-enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"name": "PseudoRandom",
"members": [
{
"name": "DOTA_PSEUDO_RANDOM_ANTIMAGE_SILENT",
"shortName": "ANTIMAGE_SILENT"
},
{
"name": "DOTA_PSEUDO_RANDOM_ARMADILLO_HEARTPIERCER",
"shortName": "ARMADILLO_HEARTPIERCER"
Expand Down Expand Up @@ -38,6 +34,10 @@
"name": "DOTA_PSEUDO_RANDOM_CHAOS_DOUBLE_CRIT",
"shortName": "CHAOS_DOUBLE_CRIT"
},
{
"name": "DOTA_PSEUDO_RANDOM_CHAOS_KNIGHT_INNATE_REFUND",
"shortName": "CHAOS_KNIGHT_INNATE_REFUND"
},
{
"name": "DOTA_PSEUDO_RANDOM_CHAOS_TRIPLE_CRIT",
"shortName": "CHAOS_TRIPLE_CRIT"
Expand Down Expand Up @@ -130,6 +130,10 @@
"name": "DOTA_PSEUDO_RANDOM_GENERIC_MISS",
"shortName": "GENERIC_MISS"
},
{
"name": "DOTA_PSEUDO_RANDOM_HOODWINK_REDIRECT",
"shortName": "HOODWINK_REDIRECT"
},
{
"name": "DOTA_PSEUDO_RANDOM_ITEM_ABYSSAL",
"shortName": "ITEM_ABYSSAL"
Expand Down Expand Up @@ -290,6 +294,10 @@
"name": "DOTA_PSEUDO_RANDOM_OGRE_MAGI_FIREBLAST",
"shortName": "OGRE_MAGI_FIREBLAST"
},
{
"name": "DOTA_PSEUDO_RANDOM_PANGOLIER_PARRY",
"shortName": "PANGOLIER_PARRY"
},
{
"name": "DOTA_PSEUDO_RANDOM_PHANTOMASSASSIN_CRIT",
"shortName": "PHANTOMASSASSIN_CRIT"
Expand Down Expand Up @@ -318,6 +326,10 @@
"name": "DOTA_PSEUDO_RANDOM_SLARDAR_BASH",
"shortName": "SLARDAR_BASH"
},
{
"name": "DOTA_PSEUDO_RANDOM_SNAPFIRE_GLANCING",
"shortName": "SNAPFIRE_GLANCING"
},
{
"name": "DOTA_PSEUDO_RANDOM_SNIPER_HEADSHOT",
"shortName": "SNIPER_HEADSHOT"
Expand Down Expand Up @@ -2627,10 +2639,6 @@
"name": "ACT_HL2MP_GESTURE_RELOAD_MELEE",
"shortName": "HL2MP_GESTURE_RELOAD_MELEE"
},
{
"name": "ACT_HL2MP_IDLE_CROUCH_MELEE",
"shortName": "HL2MP_IDLE_CROUCH_MELEE"
},
{
"name": "ACT_HL2MP_IDLE_MELEE",
"shortName": "HL2MP_IDLE_MELEE"
Expand Down Expand Up @@ -5948,6 +5956,10 @@
"name": "FIELD_FUNCTION",
"shortName": "FUNCTION"
},
{
"name": "FIELD_GLOBALSYMBOL",
"shortName": "GLOBALSYMBOL"
},
{
"name": "FIELD_HMATERIAL",
"shortName": "HMATERIAL"
Expand Down Expand Up @@ -6430,6 +6442,10 @@
"name": "DOTA_ABILITY_BEHAVIOR_IMMEDIATE",
"shortName": "IMMEDIATE"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_INNATE_UI",
"shortName": "INNATE_UI"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_ITEM",
"shortName": "ITEM"
Expand Down Expand Up @@ -6490,6 +6506,10 @@
"name": "DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES",
"shortName": "SHOW_IN_GUIDES"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_SKIP_FOR_KEYBINDS",
"shortName": "SKIP_FOR_KEYBINDS"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_SUPPRESS_ASSOCIATED_CONSUMABLE",
"shortName": "SUPPRESS_ASSOCIATED_CONSUMABLE"
Expand Down Expand Up @@ -6551,6 +6571,10 @@
"name": "DOTA_UNIT_TARGET_HERO",
"shortName": "HERO"
},
{
"name": "DOTA_UNIT_TARGET_HEROES_AND_CREEPS",
"shortName": "HEROES_AND_CREEPS"
},
{
"name": "DOTA_UNIT_TARGET_NONE",
"shortName": "NONE"
Expand Down
180 changes: 171 additions & 9 deletions files/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -1977,16 +1977,36 @@
"type": "short"
},
{
"name": "killer_playerid",
"type": "PlayerID"
"name": "barracks_type",
"type": "short"
},
{
"name": "teamnumber",
"type": "short"
},
{
"name": "killer_userid",
"type": "EntityIndex"
},
{
"name": "killer_team",
"type": "short"
},
{
"name": "bounty_amount",
"name": "gold",
"type": "short"
},
{
"name": "pos_x",
"type": "float"
},
{
"name": "pos_y",
"type": "float"
},
{
"name": "pos_z",
"type": "float"
}
]
},
Expand All @@ -2006,6 +2026,22 @@
{
"name": "gold",
"type": "short"
},
{
"name": "tier",
"type": "short"
},
{
"name": "pos_x",
"type": "float"
},
{
"name": "pos_y",
"type": "float"
},
{
"name": "pos_z",
"type": "float"
}
]
},
Expand All @@ -2017,6 +2053,30 @@
{
"name": "killer_userid",
"type": "EntityIndex"
},
{
"name": "teamnumber",
"type": "short"
},
{
"name": "gold",
"type": "short"
},
{
"name": "tier",
"type": "short"
},
{
"name": "pos_x",
"type": "float"
},
{
"name": "pos_y",
"type": "float"
},
{
"name": "pos_z",
"type": "float"
}
]
},
Expand Down Expand Up @@ -3370,6 +3430,10 @@
{
"name": "entindex_hero",
"type": "EntityIndex"
},
{
"name": "playerid_victim",
"type": "PlayerID"
}
]
},
Expand Down Expand Up @@ -3998,12 +4062,6 @@
}
]
},
{
"name": "map_location_updated",
"sourceFile": "game",
"local": false,
"fields": []
},
{
"name": "richpresence_custom_updated",
"sourceFile": "game",
Expand Down Expand Up @@ -4683,6 +4741,94 @@
}
]
},
{
"name": "dota_custom_camera_updated",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "flags",
"description": "DOTACustomCameraEventFlags_t.",
"type": "int"
},
{
"name": "zoom",
"type": "float"
},
{
"name": "x",
"type": "float"
},
{
"name": "y",
"type": "float"
},
{
"name": "extra_yaw",
"type": "float"
},
{
"name": "pitch",
"type": "float"
},
{
"name": "duration",
"type": "float"
},
{
"name": "player_id",
"description": "Only used if associated flag is set.",
"type": "int"
}
]
},
{
"name": "dota_event_game_camera_zoom_updated",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "zoom",
"type": "int"
},
{
"name": "duration",
"description": "0 - instantaneous camera update.",
"type": "float"
}
]
},
{
"name": "dota_event_game_camera_position_updated",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "x",
"type": "float"
},
{
"name": "y",
"type": "float"
},
{
"name": "duration",
"description": "0 - instantaneous camera update.",
"type": "float"
}
]
},
{
"name": "dota_custom_camera_pitch_updated",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "pitch",
"type": "float"
}
]
},
{
"name": "colorblind_mode_changed",
"sourceFile": "game",
Expand Down Expand Up @@ -5131,5 +5277,21 @@
"type": "byte"
}
]
},
{
"name": "dota_hero_on_gain_aggro",
"sourceFile": "game",
"description": "An NPC has gained aggro (is attacking) a hero.",
"local": false,
"fields": [
{
"name": "entindex_attacker",
"type": "EntityIndex"
},
{
"name": "entindex_hero",
"type": "EntityIndex"
}
]
}
]
44 changes: 44 additions & 0 deletions files/panorama/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,50 @@
"border-color: #FF0000FF #00FF00FF #0000FFFF #00FFFFFF;"
]
},
"border-image": {
"description": "Shorthand for specifying all the border-image related properties at once.\nTechnical syntax is: <border-image-source> || <border-image-slice> [ / <border-image-width>? [ / <border-image-outset> ]? ]? || <border-image-repeat>, see the explanations for individual properties for details on each.",
"examples": [
"border-image: url( \"file://message_border.png\" ) 25% repeat;",
"border-image: url( \"file://message_border.png\" ) 25% / 1 / 20px repeat;"
]
},
"border-image-outset": {
"description": "Specifies the amount by which the border image should draw outside of the normal content/border box, this allows the border image to extend into the margin area and draw outside the panels bounds. This may still result in clipping of the image by a parent panel if the parents bounds are too close to the edges of the panel with the border-image. Values are specified as px or % in top, right, bottom, left order with the 2nd through 4th values optional.",
"examples": [
"border-image-outset: 0px;",
"border-image-outset: 20px 20px 20px 20px;"
]
},
"border-image-repeat": {
"description": "Specifies how the top/right/bottom/left/middle images of the 9 slice regions are stretched to fit the available space. Options are stretch, repeat, round or space. Stretch/repeat are self explanatory, round means tile (repeat) but scale firstto ensure that a whole number of tiles is used with no partial tile at the edge of the space, space means tile (repeat) but add padding between tiles to ensure a whole number of tiles with no partial tile at the edge is needed.\nTwo values are specified, the first applies to how we stretch the top/middle/bottom horizontally to fill space, the second applies to how we stretch the left/middle/right vertically to fill space.",
"examples": [
"border-image-repeat: stretch stretch;",
"border-image-outset: repeat;",
"border-image-outset: round;",
"border-image-outset: stetch space;"
]
},
"border-image-slice": {
"description": "Specifies the insets for top, right, bottom, and left (in order) slice offsets to use for slicing the source image into 9 regions. The 'fill' keyword may optionally appear before or after the length values and specifies to draw the middle region as a fill for the body background of the panel, without it the middle region will not be drawn.",
"examples": [
"border-image-slice: 10px 10px 10px 10px;",
"border-image-slice: 20% 10% 20% 10% fill;"
]
},
"border-image-source": {
"description": "Specifies the source image to use as the 9-slice border-image.",
"examples": [
"border-image-source: url( \"file://message_border.png\" );"
]
},
"border-image-width": {
"description": "By default after slicing the image as specified in border-image-slice the 9 regions will be used to fill the space specified by the standard border-width property. This border-image-width property may be used to override that and specify different widths. The values appear in top, right, bottom, left order, the 2nd through 4th may be omitted and corresponding earlier values will be used. Values may be straight floats which specify a multiple of the corresponding border-width value, a percentage (which is relative to the size of the border image in the corresponding dimension), or 'auto' which means to use the intrinsic size of the corresponding border-image-slice.",
"examples": [
"border-image-width: 1 1 1 1;",
"border-image-slice: 50% 50% 50% 50%;",
"border-image-slice: auto;"
]
},
"border-left": {
"description": "Shorthand for setting the left panel border. Specify width, style, and color. Supported styles are: solid, dashed, none.",
"examples": [
Expand Down
Loading
Loading