mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
25b2f1780a
This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes |
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
library_godot_webrtc.js | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
webrtc_data_channel_extension.cpp | ||
webrtc_data_channel_extension.h | ||
webrtc_data_channel_js.cpp | ||
webrtc_data_channel_js.h | ||
webrtc_data_channel.cpp | ||
webrtc_data_channel.h | ||
webrtc_multiplayer_peer.cpp | ||
webrtc_multiplayer_peer.h | ||
webrtc_peer_connection_extension.cpp | ||
webrtc_peer_connection_extension.h | ||
webrtc_peer_connection_js.cpp | ||
webrtc_peer_connection_js.h | ||
webrtc_peer_connection.cpp | ||
webrtc_peer_connection.h |