Erwan
- boosters in shop 100 cards -> 80 cards - 2 new cards in SHM - Added Ram checking methods for the PSP
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#define STAGE_SHOP_MENU 3
|
||||
#define STAGE_SHOP_SHOP 4
|
||||
|
||||
#define SHOP_BOOSTERS 3
|
||||
|
||||
|
||||
class GameStateShop: public GameState, public JGuiListener
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <string>
|
||||
using std::string;
|
||||
|
||||
#define SHOP_BOOSTERS 3
|
||||
|
||||
class ShopItem:public JGuiObject{
|
||||
private:
|
||||
bool mHasFocus;
|
||||
@@ -51,7 +53,7 @@ class ShopItems:public JGuiController,public JGuiListener{
|
||||
MTGAllCards * collection;
|
||||
SimpleMenu * dialog;
|
||||
int showPriceDialog;
|
||||
int setIds[2];;
|
||||
int setIds[SHOP_BOOSTERS];
|
||||
MTGCardInstance * displayCards[100];
|
||||
CardDisplay * display;
|
||||
void safeDeleteDisplay();
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
#include <psputility.h>
|
||||
#include <pspgu.h>
|
||||
#include <psprtc.h>
|
||||
|
||||
#include <psptypes.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -38,5 +41,22 @@ int fileExists(const char * filename);
|
||||
void dumpStack();
|
||||
#endif
|
||||
|
||||
|
||||
/* RAM simple check functions header */
|
||||
|
||||
// *** DEFINES ***
|
||||
|
||||
#if defined (WIN32) || defined (LINUX)
|
||||
#define RAM_BLOCK (100 * 1024 * 1024)
|
||||
#else
|
||||
#define RAM_BLOCK (1024 * 1024)
|
||||
#endif
|
||||
|
||||
// *** FUNCTIONS DECLARATIONS ***
|
||||
|
||||
u32 ramAvailableLineareMax (void);
|
||||
u32 ramAvailable (void);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user