fixes to match latest libpacket2 commit

This commit is contained in:
h4570
2020-11-19 19:59:24 +01:00
parent 8a3485e671
commit 6b821afd86
13 changed files with 152 additions and 452 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
#include <draw_types.h>
#include <draw_primitives.h>
#include <math3d.h>
#include <spacket.h>
#include <packet2.h>
#include "../models/mesh.hpp"
#include "../models/math/matrix.hpp"
#include "../models/screen_settings.hpp"
@@ -45,8 +45,8 @@ private:
texel_t *st;
u8 isAnyObjectAdded;
ScreenSettings *screen;
spacket_t *packets[2];
spacket_t *currentPacket;
packet2_t *packets[2];
packet2_t *currentPacket;
u8 packetsCount;
int packetSize;
float halfScreenW, halfScreenH;