mirror of https://github.com/nmlgc/ReC98.git
[Debloating] [th01] Particles: Move to a dedicated translation unit
Part of P0239, funded by Ember2528.
This commit is contained in:
parent
a8e70a6fe8
commit
3e1f27b932
|
@ -80,7 +80,7 @@ bin\th01\zunsoft.com: th01\zunsoft.cpp
|
|||
{th01}.cpp{bin\th01}.obj:
|
||||
$(CC) $(CFLAGS_RELEASE) -ml -DGAME=1 -n$(@D) -c $**
|
||||
|
||||
bin\th01\debloat.exe: bin\platform\x86real\noexcept.obj bin\platform\x86real\spawn.obj bin\platform\x86real\pc98\blitter.obj bin\platform\x86real\pc98\font.obj bin\platform\x86real\pc98\grcg.obj bin\piloadc.obj bin\th01\th01.obj th01\entry.cpp th01\egc.cpp th01\frmdelay.cpp th01\game.cpp th01\graph.cpp th01\grp2xscs.cpp th01\grp_text.cpp th01\grp.cpp th01\initexit.cpp th01\mdrv2.cpp th01\pf.cpp th01\planar.cpp th01\scoredat.cpp th01\regist.cpp th01\resstuff.cpp th01\tram_x16.cpp th01\vsync.cpp th01\ztext.cpp th01\op_01.cpp th01\input.cpp th01\main_01.cpp th01\ptn.cpp th01\grz.cpp th01\main_09.cpp th01\bullet_l.cpp th01\grpinv32.cpp th01\scrollup.cpp th01\pgtrans.cpp th01\grph1to0.cpp th01\main_14.cpp th01\main_15.cpp th01\main_17.cpp th01\main_18.cpp th01\main_20.cpp th01\main_21.cpp th01\main_23.cpp th01\main_24.cpp th01\main_25.cpp th01\main_26.cpp th01\main_27.cpp th01\stages.cpp th01\main_28.cpp th01\main_29.cpp th01\main_30.cpp th01\main_31.cpp th01\main_32.cpp th01\main_33.cpp th01\main_34.cpp th01\main_35.cpp th01\main_36.cpp th01\main_37.cpp th01\main_38.cpp th01\fuuin_01.cpp th01\fuuin_03.cpp
|
||||
bin\th01\debloat.exe: bin\platform\x86real\noexcept.obj bin\platform\x86real\spawn.obj bin\platform\x86real\pc98\blitter.obj bin\platform\x86real\pc98\font.obj bin\platform\x86real\pc98\grcg.obj bin\piloadc.obj bin\th01\th01.obj th01\entry.cpp th01\egc.cpp th01\frmdelay.cpp th01\game.cpp th01\graph.cpp th01\grp2xscs.cpp th01\grp_text.cpp th01\grp.cpp th01\initexit.cpp th01\mdrv2.cpp th01\pf.cpp th01\planar.cpp th01\scoredat.cpp th01\regist.cpp th01\resstuff.cpp th01\tram_x16.cpp th01\vsync.cpp th01\ztext.cpp th01\op_01.cpp th01\input.cpp th01\main_01.cpp th01\ptn.cpp th01\grz.cpp th01\main_09.cpp th01\bullet_l.cpp th01\grpinv32.cpp th01\scrollup.cpp th01\pgtrans.cpp th01\grph1to0.cpp th01\main_14.cpp th01\main_15.cpp th01\main_17.cpp th01\main_18.cpp th01\main_20.cpp th01\main_21.cpp th01\main_23.cpp th01\main_24.cpp th01\main_25.cpp th01\main_26.cpp th01\main_27.cpp th01\stages.cpp th01\main_28.cpp th01\main_29.cpp th01\main_30.cpp th01\main_31.cpp th01\main_32.cpp th01\particle.cpp th01\main_33.cpp th01\main_34.cpp th01\main_35.cpp th01\main_36.cpp th01\main_37.cpp th01\main_38.cpp th01\fuuin_01.cpp th01\fuuin_03.cpp
|
||||
$(CC) $(CFLAGS_RELEASE) $(LARGE_LFLAGS) -DGAME=1 -nbin\th01\ -eDEBLOAT.EXE @&&|
|
||||
$**
|
||||
|
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
#include "platform.h"
|
||||
#include "x86real.h"
|
||||
#include "pc98.h"
|
||||
#include "master.hpp"
|
||||
#include "th01/math/overlap.hpp"
|
||||
#include "th01/math/subpixel.hpp"
|
||||
#include "th01/hardware/egc.h"
|
||||
#include "th01/main/particle.hpp"
|
||||
|
||||
void particles_unput_update_render(particle_origin_t origin, int col)
|
||||
|
|
|
@ -24,4 +24,3 @@
|
|||
#include "th01/main/boss/boss.cpp"
|
||||
#include "th01/main/bullet/missile.cpp"
|
||||
#include "th01/main/player/bomb_d_f.cpp"
|
||||
#include "th01/main/particle.cpp"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include "th01/main/particle.cpp"
|
Loading…
Reference in New Issue