![]() Or if you are interested in game engines, look at one engine. For example if you are interested in ports, look at how one specific port is implemented. You can start by browsing a bit the source code to see how it maps to the description above, and then depending on your interests select one piece of code to look at in more details. On the other hand if you want to port ScummVM to a new platform, the backends code is what you will want to look at. So if you want to work on a game engine for example you will need to look at the OSystem API to know what you can do in the engine, but you can ignore everything in the backends code as you don't need to know how the OSystem API is actually implemented. The backends code is the only part of the code base that is platform dependent. The OSystem API shields game engines and gui code from the actual platform the software is running on. ![]() See Entry points below.Ĭontains unit tests for some utility classes from the common code.Ĭontains translation of the ScummVM GUI into various languages First steps It for example handles command line argument parsing and the main loop. This is the entry point for the application. Gui code, that provides a graphical user interface for the game launcher and options dialog.Īnd then you have a few more directories: The backends, which implement the OSystem API for various platforms.Ĭommon code, that provides various utility classes (for example containers) and audio, image, and video codecs that game engines can use. The OSystem API, which defines available features a game can use, such a drawing on screen or receiving keyboard and mouse events. The ScummVM code base is quite big, but well structured with five main components: But those account only for a very small portion of the source code. It also uses a mix of other languages, such as Python (for some dev tools), ObjectiveC (in the macOS and iOS backends) or Java (in the Android backend). The main programming language used for ScummVM is C++. Help! Where do I start with the code base?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |