CPP File Format: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{unsupported-doc}}
{{unsupported-doc}}


FileExtension .cpp is a generic identifier that indicates the contents are to be raPified (binarised)
FileExtension .cpp is a generic identifier that ''indicates'' the contents contain pre-raPified text and ''can'' be raPified (binarised). This is by-convention-only. The ''actual'' contents could be binarised already. The engine doesn't care.


The only 'official' use of cpp are in addon [[Config File Format|config.cpp]] files. ***By convention only***, #include files can also be called cpp,hpp or h. All includes, indicate some form of rapifiable text, OR, sqf statements.
The binarised (raPified) equivalent of any .cpp file is .bin.
 
There are currently several cpp/bin files used by bis.
 
*[[Config.cpp/bin File Format|Config.cpp/bin]]
*[[Mod.cpp/bin File Format|Mod.cpp/bin]]
*[[Product.cpp/bin File Format|Product.cpp/bin]]
*[[Resource.cpp/bin]] // OFP only
 
In all circumstances, a .cpp, if present in the same folder, takes precedence. (the .bin is ignored).


[[Category:BIS_File_Formats]]
[[Category:BIS_File_Formats]]

Revision as of 11:48, 7 July 2011

Template:unsupported-doc

FileExtension .cpp is a generic identifier that indicates the contents contain pre-raPified text and can be raPified (binarised). This is by-convention-only. The actual contents could be binarised already. The engine doesn't care.

The binarised (raPified) equivalent of any .cpp file is .bin.

There are currently several cpp/bin files used by bis.

In all circumstances, a .cpp, if present in the same folder, takes precedence. (the .bin is ignored).