EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 189 forks source link

Add configurable engine features #2219

Open fmatthew5876 opened 4 years ago

fmatthew5876 commented 4 years ago

Instead of querying the engine version, we can create a giant feature struct with flags for the feature differences between engines.

Examples:

etc..

This could be used to implement features from third party patches. It would also allow game developers to customize these for EasyRPG games.

I would add some macro and/or template magic to transform these features into compile time values. This would allow custom games to hard code their behavior and not pay any runtime costs for unsupported behaviors.

carstene1ns commented 2 years ago

A part of this has been implemented here: https://github.com/EasyRPG/Player/pull/2697/commits/d6584cb52e79a0e4cfa5259fbfed672f0d02c99d