2024-03-18 15:41:46 -03:00
|
|
|
|
// xna.cpp : Defines the entry point for the application.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "xna.h"
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
using namespace xna;
|
|
|
|
|
|
|
|
|
|
//int main()
|
|
|
|
|
//{
|
|
|
|
|
// cout << "Hello CMake." << endl;
|
|
|
|
|
// return 0;
|
|
|
|
|
//}
|
|
|
|
|
|
2024-03-24 18:37:55 -03:00
|
|
|
|
class Game1 : public Game {
|
|
|
|
|
virtual void Update(GameTime const& gameTime) {
|
|
|
|
|
|
|
|
|
|
Game::Update(gameTime);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual void Draw(GameTime const& gameTime) {
|
|
|
|
|
_graphicsDevice->Clear();
|
|
|
|
|
|
|
|
|
|
Game::Draw(gameTime);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-18 15:41:46 -03:00
|
|
|
|
int APIENTRY WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nCmdShow) {
|
2024-03-26 17:22:00 -03:00
|
|
|
|
FileStream stream("D:/VS_EXPBSLN_x64_enu.CAB");
|
|
|
|
|
auto pos = stream.Position();
|
|
|
|
|
auto len = stream.Length();
|
|
|
|
|
pos = stream.Position();
|
|
|
|
|
|
2024-03-24 18:37:55 -03:00
|
|
|
|
Game1 game;
|
2024-03-21 16:01:47 -03:00
|
|
|
|
game.Run();
|
2024-03-18 15:41:46 -03:00
|
|
|
|
return 0;
|
|
|
|
|
}
|