Skip to content
Open
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 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ def MatchingFor(*versions):
Object(NonMatching, "Map/Sky.cpp"),
Object(NonMatching, "Map/MapEventSirena.cpp"),
Object(NonMatching, "Map/PollutionLayer.cpp"),
Object(NonMatching, "Map/PollutionEvent.cpp"),
Object(Matching, "Map/PollutionEvent.cpp"),
Object(NonMatching, "Map/MapCollisionPlane.cpp"),
Object(NonMatching, "Map/MarineSnow.cpp"),
Object(Matching, "Map/MapData.cpp"),
Expand Down
13 changes: 13 additions & 0 deletions include/Map/TPollutionTest.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#ifndef MAP_TPOLLUTIONTEST_HPP
#define MAP_TPOLUTTIONTEST_HPP

#include <JSystem/JDrama/JDRViewObj.hpp>

class TPollutionTest : public JDrama::TViewObj {
public:
virtual ~TPollutionTest();
virtual void perform(u32, JDrama::TGraphics*);
virtual void loadAfter();
};

#endif
10 changes: 10 additions & 0 deletions src/Map/PollutionEvent.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
#include <Map/TPollutionTest.hpp>

// rogue includes needed for matching sinit & bss
#include <MSound/MSSetSound.hpp>
#include <MSound/MSoundBGM.hpp>

void TPollutionTest::perform(u32, JDrama::TGraphics*) { }

TPollutionTest::~TPollutionTest() { }

void TPollutionTest::loadAfter() { TNameRef::loadAfter(); }