|
19 | 19 | #include "egypt_1500/egypt_1500_capture_context6.h" |
20 | 20 | #include "free_fire/free_fire_capture_context3.h" |
21 | 21 | #include "manhattan_10/manhattan_10_capture_context6.h" |
| 22 | +#include "marvel_contest_of_champions/marvel_contest_of_champions_capture_context2.h" |
22 | 23 | #include "mobile_legends/mobile_legends_capture_context3.h" |
23 | 24 | #include "nba2k20_800/nba2k20_800_capture_context1.h" |
24 | 25 | #include "temple_run_300/temple_run_300_capture_context1.h" |
@@ -57,6 +58,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { |
57 | 58 | {manhattan_10::kReplayFrameStart, manhattan_10::kReplayFrameEnd, |
58 | 59 | manhattan_10::kReplayDrawSurfaceWidth, manhattan_10::kReplayDrawSurfaceHeight, |
59 | 60 | "manhattan_10"}}, |
| 61 | + {RestrictedTraceID::marvel_contest_of_champions, |
| 62 | + {marvel_contest_of_champions::kReplayFrameStart, marvel_contest_of_champions::kReplayFrameEnd, |
| 63 | + marvel_contest_of_champions::kReplayDrawSurfaceWidth, |
| 64 | + marvel_contest_of_champions::kReplayDrawSurfaceHeight, "marvel_contest_of_champions"}}, |
60 | 65 | {RestrictedTraceID::mobile_legends, |
61 | 66 | {mobile_legends::kReplayFrameStart, mobile_legends::kReplayFrameEnd, |
62 | 67 | mobile_legends::kReplayDrawSurfaceWidth, mobile_legends::kReplayDrawSurfaceHeight, |
@@ -106,6 +111,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex) |
106 | 111 | case RestrictedTraceID::manhattan_10: |
107 | 112 | manhattan_10::ReplayContext6Frame(frameIndex); |
108 | 113 | break; |
| 114 | + case RestrictedTraceID::marvel_contest_of_champions: |
| 115 | + marvel_contest_of_champions::ReplayContext2Frame(frameIndex); |
| 116 | + break; |
109 | 117 | case RestrictedTraceID::mobile_legends: |
110 | 118 | mobile_legends::ReplayContext3Frame(frameIndex); |
111 | 119 | break; |
@@ -153,6 +161,9 @@ void ResetReplay(RestrictedTraceID traceID) |
153 | 161 | case RestrictedTraceID::manhattan_10: |
154 | 162 | manhattan_10::ResetContext6Replay(); |
155 | 163 | break; |
| 164 | + case RestrictedTraceID::marvel_contest_of_champions: |
| 165 | + marvel_contest_of_champions::ResetContext2Replay(); |
| 166 | + break; |
156 | 167 | case RestrictedTraceID::mobile_legends: |
157 | 168 | mobile_legends::ResetContext3Replay(); |
158 | 169 | break; |
@@ -200,6 +211,9 @@ void SetupReplay(RestrictedTraceID traceID) |
200 | 211 | case RestrictedTraceID::manhattan_10: |
201 | 212 | manhattan_10::SetupContext6Replay(); |
202 | 213 | break; |
| 214 | + case RestrictedTraceID::marvel_contest_of_champions: |
| 215 | + marvel_contest_of_champions::SetupContext2Replay(); |
| 216 | + break; |
203 | 217 | case RestrictedTraceID::mobile_legends: |
204 | 218 | mobile_legends::SetupContext3Replay(); |
205 | 219 | break; |
@@ -247,6 +261,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir) |
247 | 261 | case RestrictedTraceID::manhattan_10: |
248 | 262 | manhattan_10::SetBinaryDataDir(dataDir); |
249 | 263 | break; |
| 264 | + case RestrictedTraceID::marvel_contest_of_champions: |
| 265 | + marvel_contest_of_champions::SetBinaryDataDir(dataDir); |
| 266 | + break; |
250 | 267 | case RestrictedTraceID::mobile_legends: |
251 | 268 | mobile_legends::SetBinaryDataDir(dataDir); |
252 | 269 | break; |
@@ -294,6 +311,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba |
294 | 311 | case RestrictedTraceID::manhattan_10: |
295 | 312 | manhattan_10::SetBinaryDataDecompressCallback(callback); |
296 | 313 | break; |
| 314 | + case RestrictedTraceID::marvel_contest_of_champions: |
| 315 | + marvel_contest_of_champions::SetBinaryDataDecompressCallback(callback); |
| 316 | + break; |
297 | 317 | case RestrictedTraceID::mobile_legends: |
298 | 318 | mobile_legends::SetBinaryDataDecompressCallback(callback); |
299 | 319 | break; |
|
0 commit comments