basic gameplay for cooperative
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "../../gameplay/core/Game.h"
|
||||
#include "../../gameplay/coop/CoopGame.h"
|
||||
|
||||
// Forward declarations
|
||||
class FontAtlas;
|
||||
@ -61,6 +62,23 @@ public:
|
||||
int selectedButton
|
||||
);
|
||||
|
||||
static void renderCoopPlayingState(
|
||||
SDL_Renderer* renderer,
|
||||
CoopGame* game,
|
||||
FontAtlas* pixelFont,
|
||||
LineEffect* lineEffect,
|
||||
SDL_Texture* blocksTex,
|
||||
SDL_Texture* statisticsPanelTex,
|
||||
SDL_Texture* scorePanelTex,
|
||||
SDL_Texture* nextPanelTex,
|
||||
SDL_Texture* holdPanelTex,
|
||||
float logicalW,
|
||||
float logicalH,
|
||||
float logicalScale,
|
||||
float winW,
|
||||
float winH
|
||||
);
|
||||
|
||||
// Public wrapper that forwards to the private tile-drawing helper. Use this if
|
||||
// calling from non-member helper functions (e.g. visual effects) that cannot
|
||||
// access private class members.
|
||||
|
||||
Reference in New Issue
Block a user