1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Use NULL instead of nullptr

This commit is contained in:
Ethan Lee 2020-01-11 11:33:36 -05:00
parent 4ef74e837a
commit ec070a1156

View file

@ -104,25 +104,25 @@ Graphics::Graphics()
fademode = 0; fademode = 0;
// initialize everything else to zero // initialize everything else to zero
backBuffer = nullptr; backBuffer = NULL;
backboxrect.x = 0, backboxrect.y = 0, backboxrect.w = 0, backboxrect.h = 0; backboxrect.x = 0, backboxrect.y = 0, backboxrect.w = 0, backboxrect.h = 0;
bcol = 0; bcol = 0;
bcol2 = 0; bcol2 = 0;
ct.colour = 0; ct.colour = 0;
foot_rect.x = 0, foot_rect.y = 0, foot_rect.w = 0, foot_rect.h = 0; foot_rect.x = 0, foot_rect.y = 0, foot_rect.w = 0, foot_rect.h = 0;
foregrounddrawn = false; foregrounddrawn = false;
foregroundBuffer = nullptr; foregroundBuffer = NULL;
backgrounddrawn = false; backgrounddrawn = false;
images_rect.x = 0, images_rect.y = 0, images_rect.w = 0, images_rect.h = 0; images_rect.x = 0, images_rect.y = 0, images_rect.w = 0, images_rect.h = 0;
j = 0; j = 0;
k = 0; k = 0;
m = 0; m = 0;
linedelay = 0; linedelay = 0;
menubuffer = nullptr; menubuffer = NULL;
screenbuffer = nullptr; screenbuffer = NULL;
tempBuffer = nullptr; tempBuffer = NULL;
tl.x = 0, tl.y = 0; tl.x = 0, tl.y = 0;
towerbuffer = nullptr; towerbuffer = NULL;
trinketr = 0; trinketr = 0;
trinketg = 0; trinketg = 0;
trinketb = 0; trinketb = 0;