Downloads containing DomMapShared.asc

Downloads
Name Author Game Mode Rating
JJ2+ Only: Two DOM mutators Violet CLM Mutator N/A Download file

File preview

#pragma require "DomMapShared.asc"
shared interface DomMapInterface : jjPUBLICINTERFACE {
    void CustomMap(const array<int>&, const array<int>&); //replaces DomMap.mut's automatic map with custom positions of your own
	void CustomMapOff(); //ignore DomMap.mut's automatic map entirely for this level, and display the control points in a row as usual instead
}

/*

Sample use for a level with four control points in a 2x2 grid:
	
	
	jjPUBLICINTERFACE@ pi = jjGetPublicInterface("DomMap.mut");
    if (pi !is null) {
		DomMapInterface@ publicInstance = cast<DomMapInterface>(pi);
        if (publicInstance !is null) {
			publicInstance.CustomMap(array<int>={0,10,0,10}, array<int>={0,0,10,10});
		}
	}
	
*/