- compile both poly and sw renderer as one unit, because due to the includes this gets really slow otherwise. Lumping these together saves 50 seconds per build on my system with a 3.4 GHz Core i7 and an SSD for storage, so on other systems it may be even more.
This commit is contained in:
parent
a4710bcdb0
commit
4de0f8b1fa
5 changed files with 306 additions and 240 deletions
18
src/polyrenderer/poly_all.cpp
Normal file
18
src/polyrenderer/poly_all.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "poly_renderer.cpp"
|
||||
#include "drawers\poly_buffer.cpp"
|
||||
#include "drawers\poly_draw_args.cpp"
|
||||
#include "drawers\poly_triangle.cpp"
|
||||
#include "drawers\screen_triangle.cpp"
|
||||
#include "math\poly_intersection.cpp"
|
||||
#include "math\tri_matrix.cpp"
|
||||
#include "scene\poly_cull.cpp"
|
||||
#include "scene\poly_decal.cpp"
|
||||
#include "scene\poly_particle.cpp"
|
||||
#include "scene\poly_plane.cpp"
|
||||
#include "scene\poly_playersprite.cpp"
|
||||
#include "scene\poly_portal.cpp"
|
||||
#include "scene\poly_scene.cpp"
|
||||
#include "scene\poly_sky.cpp"
|
||||
#include "scene\poly_sprite.cpp"
|
||||
#include "scene\poly_wall.cpp"
|
||||
#include "scene\poly_wallsprite.cpp"
|
||||
Loading…
Add table
Add a link
Reference in a new issue