Posted: Mon Jul 21, 2008 8:28 pm
cut it out, 3DModelerMan. Don't let school break bring you down.
Official forum of the Irrlicht Engine
https://irrlicht.sourceforge.io/forum/
Why the hell would anyone's mum stop them having an image hosting account? And why would she even need to know?3DModelerMan wrote: You see my mom won't let me have an account yet.
my mum didnt know i got an email account even when i was in primary schoolJP wrote:Why the hell would anyone's mum stop them having an image hosting account? And why would she even need to know?3DModelerMan wrote: You see my mom won't let me have an account yet.
Little Billy?torleif wrote:The real question is 3DModelerMan a troll or just a 11 year old?
Code: Select all
//included files
#include <irrlicht.h>
#include "mast_event_receiver.cpp"
//main namspaces
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
//main function
int main(int argc, char** argv)
{
//The irrlicht device
IrrlichtDevice *device =
createDevice(EDT_SOFTWARE, dimension2d<s32>(768, 640), 24,
/* first parameter on line specifies fullscreen*/false, false, false, 0);
//device options
//================================================================================
//sets the window caption of the application
device->setWindowCaption(L"Wolfpack");
//================================================================================
//Gets a pointer to the scene manager gui environment & video driver
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
IGUIEnvironment* guienv = device->getGUIEnvironment();
//texture creation flags
//================================================================================
driver->setTextureCreationFlag(ETCF_OPTIMIZED_FOR_QUALITY, true);
//gui functions
//================================================================================
IGUIImage* bkg = guienv->addImage(driver->getTexture("C:/Documents and Settings/Tanner/My Documents/Wolfpack/Bitmaps/Gui/main_splash_screen.bmp"),
position2d<int>(0,0));
//if a key is pressed then delete the splash screen
//================================================================================
//draw everything
while(device->run())
{
driver->beginScene(true, true, SColor(0,200,200,200));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}
//deletes the device
device->drop();
return 0;
}