class Game
{
public:
Player *player;
};
void Game::keyHandler(int key)
{
player->Sprite->Rotate(4); // expression must have a pointer to class type
*player->Sprite->Rotate(4); // expression must have a pointer to class type
player.Sprite->Rotate(4); // expression must have a class type
Game::player->Sprite->Rotate(4); // expression must have a pointer to class type
}
FileTest.exist? checks for existence in the normal file system. If the file you check for also happens to be present in the file system it will return true.udivision":rhxi5nou said:Does FileTest.exist?() always return false when the file specified is located in the Game.rgssad?
$result = mysql_query("SELECT * FROM error_logs");
while ($row = mysql_fetch_array($result))
{
}
$result = mysql_query("SELECT * FROM error_logs");
for ($i = 0; $i < mysql_num_rows($result); $i++) {
$row = mysql_fetch_array($result);
// code here
}
______________________
#include <GdiPlus.h>
#include <GdiPlusBitmap.h>
Gdiplus::Bitmap* pBmp = Gdiplus::Bitmap::FromFile(L"bitmaptex.bmp", false);
____________
using namespace System.Drawing;
Wyatt":5ovp61az said:So uh...
What should I be doing?