Difference between revisions of "HOWTO-Engines"

Jump to navigation Jump to search
571 bytes added ,  22:08, 30 November 2010
Line 63: Line 63:


=== Infrastructure services ===
=== Infrastructure services ===
Header file common/scummsys.h provides services needed by virtually any source file:
Header file <code>common/scummsys.h</code> provides services needed by virtually any source file:


* defines platform endianness
* defines platform endianness
Line 75: Line 75:
* provides a lean environment to build win32 executables/libraries
* provides a lean environment to build win32 executables/libraries


TODO: give descriptions for other commonly used header files.
The <code>common</code> directory contains many more useful things, e.g. various container classes (for lists, hashmaps, resizeable arrays etc.), code for dealing with transparent endianess handling, for file I/O, etc. We recommend that you browse this a bit to get an idea of what is there. Likewise you should familiarize yourself with <code>graphics</code> and <code>sound</code>; for example we already have decoders for quite some audio formats in there. Before you roll your own code for all sorts of basic things, have a look and see if we already have code for that, and maybe also ask some veterans for advice.


=== Common portability issues ===
=== Common portability issues ===
1,079

edits

Navigation menu