Git Product home page Git Product logo

rpgreader's People

Contributors

brianum avatar gotos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rpgreader's Issues

Refactor Exceptions

Decide, when a function should use "throws", when it should throw an exception without using "throws" and when it should give a default value.

write()-methods

See title. They are missing at many places. It's the truth!

Inheritance

The RPGReader definitly neeeds more of it!
LuciferEventPage and LuciferCommonEvent should both extend a class EventCommandContainer or something like that. Might be justfull for parent-attribute of LuciferEventCommand.

EventCommand enum

Rewrite LuciferEventCommand to use an enum instead of public static final ints.

ID 1 in LuciferCellField

Find out, what ID1 in LuciferCellField means.
It could mean that the CellField is empty, but I'm not sure yet.

Parent-Attribute

Everywhere, where it makes sense, there should be a "parent"-attribute, which should be setted automatically.

Drop unneeded data

The RPG-Maker sometimes store information, which isn't really needed. A well known example are default-values. If you create a new map, it's size will be 20x15, though this isn't saved in the file. If you change the size and then change it back, the RPG-Maker will save that the map is 20x15, it will be stored in the file, though it isn't needed.
Because of how the RPGReader works, it already drops these default values, but there is more information, which can be dropped, e.g.:
In conditions, that don't check switches the switch-ID doesn't need to be stored (nor checked in the equals()-method)
In empty LuciferCellField almost anything (except for the empty-flag) doesn't need to be stored.

SkS-Copy

Make a copy of the game Sternenkind-Saga via reading the game and writing it elsewhere. Afterwards compare read both, the originial game and the copy, and compare them.
Test is passed, if the games are equal (or at least if the equals() method says so ;-) )

Getter/Setter

Create getters and setters and set public attributes to private.

BetterArray dynamic size

Early versions of the BetterArray class where able to ensure a minimum size and the set-method would work with every id - if the id was out-of-bounds, the BetterArray was resized.
Either nothing should depend on that any longer or the new BetterArray should have a clean implementation of this feature.

Better equals

Some classes have booleans, which represent, if something else if activated. If instances of these classes are compaired to each other and if the attribute is deactivated, the value of the attribute doesn't need to be checked.

New Class: Char

Design a new class, which holds both information about charactergraphics: The charset name and the position on the charset.
Decide, if the same makes sense for chipsets. Probably not.

Refactor graphic-setters

Create "save" and "unsave" graphic-setters, where save setters check if the graphic exist, while unsave setters don't.

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.