1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 01:03:00 +00:00

cpp files no longer include other cpp files

This commit is contained in:
Zeno Rogue
2018-06-11 01:12:18 +02:00
parent 98246d3066
commit c2e3ed54f0
9 changed files with 65 additions and 43 deletions

View File

@@ -3275,8 +3275,6 @@ bool allemptynear(cell *c) {
return true;
}
#include "blizzard.cpp"
static const int trapcol[4] = {0x904040, 0xA02020, 0xD00000, 0x303030};
static const int terracol[8] = {0xD000, 0xE25050, 0xD0D0D0, 0x606060, 0x303030, 0x181818, 0x0080, 0x8080};
@@ -4640,7 +4638,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
if(c->land == laBlizzard) {
if(vid.backeffects) {
if(c->cpdist <= getDistLimit())
blizzardcells[c].frame = frameid;
set_blizzard_frame(c, frameid);
}
else {
forCellIdEx(c2, i, c) if(againstWind(c, c2))