Skip to content

Commit e765a13

Browse files
committed
oh my god i thought doing this with mac was bad enough
1 parent 056e70e commit e765a13

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

Encore/src/gameplay/GameplayInputHandler.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//
22
// Created by marie on 15/09/2024.
33

4-
#include "GameplayInputHandler.h"
4+
//#include "GameplayInputHandler.h"
55

6-
#include "enctime.h"
7-
#include "settings-old.h"
8-
#include "GLFW/glfw3.h"
9-
#include "song/songlist.h"
6+
//#include "enctime.h"
7+
//#include "settings-old.h"
8+
//#include "GLFW/glfw3.h"
9+
//#include "song/songlist.h"
1010
/*
1111
int GameplayInputHandler::calculatePressedMask(PlayerGameplayStats *&stats) {
1212
int mask = 0;

Encore/src/gameplay/GameplayInputHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef INPUTHANDLER_H
66
#define INPUTHANDLER_H
77

8-
#include "users/playerManager.h"
8+
// #include "users/playerManager.h"
99

1010
// enum EventLanes {
1111
// OVERDRIVE_ACT = -1,

Encore/src/song/song.h

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -225,43 +225,43 @@ class Song {
225225
jsonPath.parent_path() / path.value.GetString()
226226
)) {
227227
if (stem == "drums")
228-
stemsPath.push_back(
229-
{ (jsonPath.parent_path() / path.value.GetString()
228+
stemsPath.emplace_back(
229+
(jsonPath.parent_path() / path.value.GetString()
230230
)
231231
.string(),
232-
PartDrums }
232+
PartDrums
233233
);
234234

235235
else if (stem == "bass")
236-
stemsPath.push_back(
237-
{ (jsonPath.parent_path() / path.value.GetString()
236+
stemsPath.emplace_back(
237+
(jsonPath.parent_path() / path.value.GetString()
238238
)
239239
.string(),
240-
PartBass }
240+
PartBass
241241
);
242242

243243
else if (stem == "lead")
244-
stemsPath.push_back(
245-
{ (jsonPath.parent_path() / path.value.GetString()
244+
stemsPath.emplace_back(
245+
(jsonPath.parent_path() / path.value.GetString()
246246
)
247247
.string(),
248-
PartGuitar }
248+
PartGuitar
249249
);
250250

251251
else if (stem == "vocals")
252-
stemsPath.push_back(
253-
{ (jsonPath.parent_path() / path.value.GetString()
252+
stemsPath.emplace_back(
253+
(jsonPath.parent_path() / path.value.GetString()
254254
)
255255
.string(),
256-
PartVocals }
256+
PartVocals
257257
);
258258

259259
else if (stem == "backing")
260-
stemsPath.push_back(
261-
{ (jsonPath.parent_path() / path.value.GetString()
260+
stemsPath.emplace_back(
261+
(jsonPath.parent_path() / path.value.GetString()
262262
)
263263
.string(),
264-
5 }
264+
5
265265
);
266266
}
267267
} else if (path.value.IsArray()) {
@@ -270,38 +270,38 @@ class Song {
270270
jsonPath.parent_path() / path2.GetString()
271271
)) {
272272
if (stem == "drums")
273-
stemsPath.push_back(
274-
{ (jsonPath.parent_path() / path2.GetString())
273+
stemsPath.emplace_back(
274+
(jsonPath.parent_path() / path2.GetString())
275275
.string(),
276-
PartDrums }
276+
PartDrums
277277
);
278278

279279
else if (stem == "bass")
280-
stemsPath.push_back(
281-
{ (jsonPath.parent_path() / path2.GetString())
280+
stemsPath.emplace_back(
281+
(jsonPath.parent_path() / path2.GetString())
282282
.string(),
283-
PartBass }
283+
PartBass
284284
);
285285

286286
else if (stem == "lead")
287-
stemsPath.push_back(
288-
{ (jsonPath.parent_path() / path2.GetString())
287+
stemsPath.emplace_back(
288+
(jsonPath.parent_path() / path2.GetString())
289289
.string(),
290-
PartGuitar }
290+
PartGuitar
291291
);
292292

293293
else if (stem == "vocals")
294-
stemsPath.push_back(
295-
{ (jsonPath.parent_path() / path2.GetString())
294+
stemsPath.emplace_back(
295+
(jsonPath.parent_path() / path2.GetString())
296296
.string(),
297-
PartVocals }
297+
PartVocals
298298
);
299299

300300
else if (stem == "backing")
301-
stemsPath.push_back(
302-
{ (jsonPath.parent_path() / path2.GetString())
301+
stemsPath.emplace_back(
302+
(jsonPath.parent_path() / path2.GetString())
303303
.string(),
304-
5 }
304+
5
305305
);
306306
}
307307
}

0 commit comments

Comments
 (0)