mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
c_m3d: Make use of forward declarations (#104)
Some inline helper function of the included files in the header make use of functions defined within it. This can cause a circular dependency cycle if said helper functions are ever defined within the classes. To break this potential cycle, we can use forward declarations. This also has the benefit of reducing preprocessing overhead a little bit.
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
/* c_m3d.cpp autogenerated by split.py v0.3 at 2021-01-01 14:58:46.459661 */
|
||||
|
||||
#include "SComponent/c_m3d.h"
|
||||
#include "SComponent/c_m3d_g_aab.h"
|
||||
#include "SComponent/c_m3d_g_cps.h"
|
||||
#include "SComponent/c_m3d_g_cyl.h"
|
||||
#include "SComponent/c_m3d_g_lin.h"
|
||||
#include "SComponent/c_m3d_g_pla.h"
|
||||
#include "SComponent/c_m3d_g_sph.h"
|
||||
#include "SComponent/c_m3d_g_tri.h"
|
||||
#include "SComponent/c_sxyz.h"
|
||||
#include "SComponent/c_xyz.h"
|
||||
#include "global.h"
|
||||
|
||||
extern f32 lbl_80455118; // SComponent::@2256, 0.0
|
||||
extern f32 lbl_80455138; // SComponent::@2273, 1.0
|
||||
|
||||
Reference in New Issue
Block a user