-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
With more ports being added recently, it's only going to become more difficult to add new features and fixes due to each port pretty much having its own entirely separate source.
Things we should abstract:
- graphics (a big one, but with a project of this size it shouldn't be too much of an issue. I kind of modelled my Xbox port in an abstract-y fashion that could be used as some sort of a base)
- Audio
- Input (need to consider that some ports have multiple methods of input and others only have one)
One way I'm quite familiar with already is having abstracted functions in one separate folder for each platform, so that game sources can include the appropriate abstracted functions for the platform being built for, through something like #define PLATFORM_XXX
(And there will still be separate Makefiles for each platform, so the specific folder with abstracted functions for that platform can be added easily)
PolyMarsDev, balfroim, SHMAUS-Carter, xackery, cellos51 and 4 more
Metadata
Metadata
Assignees
Labels
No labels