Code Monkey home page Code Monkey logo

cheesievx's People

Contributors

interdpth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

cheesievx's Issues

Create export window

Allow for screen selection.
Have gbatroid export platform type
Export to folder

Panel is deleted when used

For some reason even though its in App, the MainPanel object is deleted when the OnClick command runs. Maybe app has to be static

Quantifying change

When quantifying, we need to have priority on the most repeated tiles.

The clipdata to implement

Previous hacked clip is already implemented

Vertical door clip data
Ceiling half vertical tile
Left half horizontal
Right horizontal half
Floor half vertical
Spikes

Max room compression

Compresses tileset and table down to only USED tiles.

List usedTiles;

for(int tiles<tilesSize;tiles++)
{
unsigned short currentTile = map[tiles];
if(!usedTiles.contains(currentTile)
{
usedTiles.push_back(currentTile);
}
}

//We now have all tiles used on map.

//Quanitfy

vector<unsigned short*> oldMapData;

for (int blockCounter = 0; blockCounter < usedTiles.size(); blockCounter++)
{
unsigned short* theseBlocks = new unsigned short[4];
memcpy(theseBlocks, &gbaTroid.nTSA[usedTiles[blockCounter] * 4], 8);
oldMapData.push_back(theseBlocks);
}
newMapData.clear();
//automap
for (int blockCounter = 0; blockCounter < 0x100; blockCounter++)
{
unsigned short* thisTileMapblock = new unsigned short[4];
memcpy(thisTileMapblock, oldMapData[blockCounter], 8);
newMapData.push_back(thisTileMapblock);
newTileTableMappingIndexes[blockCounter] = newMapData.size() - 1;
}

Insert tile reduction

Fix tile mapping

This is a two fold problem.
1.) when map tile is flipped, treat a reference tile as flip | tile in the table entry = mapping id
2.) quantify the flips.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.