Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Neskia

CTRL + V Game

Recommended Posts

http://goo.gl/B8LiU

I am sharing this for the computex giveaway


Sony Vaio Pro 13 CPU:Haswell Core i5 4200U RAM: 4 GB GPU: HD4400 Storage: SSD Pci-e 128GB (Its really fast), External 1TB Seagate Expansion Drive Weight: 1.06kg (made of carbon fiber) 

Phone: Samsung Galaxy Note 2 (4.4.2 Omnirom) 

Link to post
Share on other sites

Aha! I actually did have something copied, I didn't this mornign when I first saw this thread:

 

Someone started a gaming screenshots thread that I posted this in.

 

ScreenShot13.bmp


- Silverstone TJ08B-E - Gigabyte Z87M-D3H - i7 4770k @ 4.0GHZ 1.2v - 16gb Kingston HyperX Black 1600 - Gigabyte GTX 770 OC 4GB -


- Silverstone Fortress FT02 - MSI Z77 Mpower - i5 3570k @ 4.0GHZ 1.09v - 8gb Mushkin Blackline 1600 - MSI GTX 670 PE -


- Lenovo T430 (1600x900) - i5 3210m - 8GB DDR3 1333 - nVidia NVS5400M - 256GB mSATA OS - 320GB HDD-

Link to post
Share on other sites
int main()
{
//std::cout << argc << std::endl << argv << std::endl;
#pragma region Setup
#pragma region Init Allegro, create display and install addons
//Initialize allegro and create a display
if(!al_init()) //initialize Allegro (if it fails to do, show error message and terminate
{
al_show_native_message_box(DisplayManager::GetInstance().GetDisplay(), "Error!", "Error!", "Couldn't initialize allegro 5", "Ok Sok", 0);
return -1;
}
DisplayManager::GetInstance().CreateDisplay();
 
//install addons
al_install_keyboard();
al_install_mouse();
al_install_joystick();
al_reconfigure_joysticks();
 
al_init_primitives_addon();
#pragma endregion
#pragma region Init Managers
//Initialize managers
GameObjectManager::GetInstance().Init();
ButtonManager::GetInstance().Init();
Pop_Up_Message::Init();
Background::GetInstance().Init();
LevelManager::GetInstance().Init();
#pragma endregion
gameTime = al_get_time();
srand(time(unsigned int(0)));
#pragma region Events and Timers
//Create event_queue and timer
ALLEGRO_EVENT_QUEUE *event_queue = al_create_event_queue();
ALLEGRO_TIMER *timer = al_create_timer(1.0 / FPS);
 
al_register_event_source(event_queue, al_get_timer_event_source(timer));
al_register_event_source(event_queue, al_get_keyboard_event_source());
al_register_event_source(event_queue, al_get_mouse_event_source());
al_register_event_source(event_queue, al_get_joystick_event_source());
al_register_event_source(event_queue, al_get_display_event_source(DisplayManager::GetInstance().GetDisplay()));
 
al_start_timer(timer);
 
#pragma endregion
#pragma endregion Setting up the game before entering the loop (declaring variables, initing allegro, installing addons, registering event sources)
 
#pragma region Main Game Loop
while(!Exit::GetDone())
{
//std::cout << "entered main loop" << std::endl;
ALLEGRO_EVENT ev;
al_wait_for_event(event_queue, &ev);
GetInput(ev);
#pragma region Timer event
if(ev.type == ALLEGRO_EVENT_TIMER)
{
render = true;
UpdateTime();
if(_keys_pressed[R_KEY])
LevelManager::GetInstance().RestartLevel();
 
if(_keys_pressed[Q_KEY] && GameObjectManager::GetInstance().D_object_exists(PLAYER))
GameObjectManager::GetInstance().KillPlayer();
 
if(_keys_pressed[M_KEY])
{
SoundManager::GetInstance().ToggleMusic();
FileManager::GetInstance().SaveSettings();
std::stringstream ss;
ss << "Music: ";
if(SoundManager::GetInstance().GetMusicEnabled())
ss << "Enabled";
else
ss << "Disabled";
Pop_Up_Message::NewMessage(ss.str());
}
if(_keys_pressed[s_KEY])
{
SoundManager::GetInstance().ToggleSound();
FileManager::GetInstance().SaveSettings();
std::stringstream ss;
ss << "Sound: ";
if(SoundManager::GetInstance().GetSoundEnabled())
ss << "Enabled";
else
ss << "Disabled";
Pop_Up_Message::NewMessage(ss.str());
}
 
Background::GetInstance().Update();
GameObjectManager::GetInstance().TimerEvent();
ButtonManager::GetInstance().TimerEvent();
SoundManager::GetInstance().Update();
Pop_Up_Message::Update();
 
CheckIfCamIsChanged();
 
_camX_prev=_camX;
_camY_prev=_camY;
 
if(DisplayManager::GetInstance().GetState() == DisplayManager::WINDOWED)
{
_mouseX=mX+_camX;
_mouseY=mY+_camY;
}
else if(DisplayManager::GetInstance().GetState() == DisplayManager::FULLSCREEN_WINDOW)
{
_mouseX = ((mX - (_monitorWidth - (_SCREEN_WIDTH * _scaleScreen))/2.0)/_scaleScreen)+_camX;
_mouseY = ((mY - (_monitorHeight - (_SCREEN_HEIGHT * _scaleScreen))/2.0)/_scaleScreen)+_camY;
}
 
ResetKeys();
 
//al_unlock_mutex(data->mutex);
}
#pragma endregion This is where the magic happens ;)
#pragma region Draw
if(render && al_is_event_queue_empty(event_queue) || (render && !GetDropFrames()))
{
//std::cout << "draw" << std::endl;
//al_lock_mutex(data.mutex);
UpdateFPS();
render = false;
 
al_set_target_backbuffer(DisplayManager::GetInstance().GetDisplay());
al_clear_to_color(al_map_rgb(192,192,192));
 
//Draw all the objects
Background::GetInstance().Draw();
GameObjectManager::GetInstance().Draw();
ButtonManager::GetInstance().Draw();
Pop_Up_Message::Draw();
 
//al_draw_textf(FontManager::GetInstance().GetFont(0), al_map_rgb(255,255,255), 10, 10, 0, "FPS: %f", gameFPS);
 
DrawBorders();
 
//al_unlock_mutex(data.mutex);
al_flip_display();
}
#pragma endregion All drawing stuff happens in here
}
#pragma endregion
//al_destroy_thread(thread);
 
return Exit::GetReturnValue();
}

 

It's the main function in a game I am making...
Totally forgot I had it copied xD


- Max Oomen

Link to post
Share on other sites

Howard Leight Max

 

i was looking for some ear plugs on amazon 


CPU: AMD PHENOM II X4 945 GPU: AMD 7850 (ASUS) RAM: CORSAIR VANGEANCE LP 8GB CPU COOLER: CM HYPER 212(old one) HDD: SAMSUNG 500GB PSU: MODECOM CARBON 530W MB: GIGABYTE GA-MA770T-UD3P KB: CMSTORM QUICKFIRE RAPID MOUSE: CORSAIR M60 SPEAKERS: LOGITECH LS21

Link to post
Share on other sites

Intel i5 3570k (Cooler: CM 212 EVO) | ASUS P8Z77-V | G.Skill Sniper 1866mhz | Powercolor TurboDuo r9 280x | Creative X-Fi Titanium | BeQuiet! Pure Power L8 630W | Bitfenix Shinobi window | 240gb SSD (M500) + 2tb HDD

Link to post
Share on other sites

Paranormal events with Brownninja97

Haha that was a for a thread.


cpu: intel i5 4670k @ 4.5ghz Ram: G skill ares 2x4gb 2166mhz cl10 Gpu: GTX 680 liquid cooled cpu cooler: Raijintek ereboss Mobo: gigabyte z87x ud5h psu: cm gx650 bronze Case: Zalman Z9 plus


Listen if you care.

Cpu: intel i7 4770k @ 4.2ghz Ram: G skill  ripjaws 2x4gb Gpu: nvidia gtx 970 cpu cooler: akasa venom voodoo Mobo: G1.Sniper Z6 Psu: XFX proseries 650w Case: Zalman H1

Link to post
Share on other sites
AMD A10-5800K APU

Was gathering a list of components for neighbors computer. :P


CPU - I7 4770k @ 4.3GHz GPU - EVGA Nvidia GeForce GTX 780 Motherboard - ASUS Maximus VI Extreme RAM - 16GB of Corsair Dominator Platinum @ 2133MHz  Case - Corsair 800D PSU - Corsair AX1,200i CPU Cooler - Custom Liquid CPU Cooler SSD - Samsung 840 Pro 256GB Hard Drive - Western Digital Black 1TB.

Link to post
Share on other sites
rate 80000 ;  
fps_max 128 ; 
cl_cmdrate 128 ; 
cl_updaterate 128 ; 
cl_interp 0 ; 
cl_interp_ratio 2 ; 
cl_showfps 1 ; 
bind "p" "toggleconsole" ; 
cl_crosshairstyle 3 ; 
cl_crosshairsize 6 ; 

 

 

cs go commands

Link to post
Share on other sites

I pasted it here, but had to delete it. It's a serial key for a program that I still intend to use :D. Also was a bit worried that it will be my story of one of the Adventure Time episodes... :D


CPU: Intel E5-1650 v2 @3.69GHz, 6c12t; GPU: NVidia EVGA GeForce GTX980 Classified, 4GB; PSU: EVGA 750W 80+ Gold Certified; RAM: 4x4GB ECC; SSD: 2xSamsung 128GB R0 OS, 2xMicron 256GB R0, SanDisk 256GB; OS: 10, Debian; Monitor: 2xDell U2410F 24" (1920x1200)Keyboard: Razer Marauder/Starcraft II; Mouse: Mionix Naos 7000 w/ Steelseries QcK mousepad.

Link to post
Share on other sites

WHTA THE FUJCK""

 

Okay....that was random


i7 5960X OC 4.40Ghz II GTX 1080 Asus Stryx II X99S Gaming 7 MSI II 16GB Vengence DDR4 II 250GB Samsung 850 II 3x 1 TB HDD WD II 

Designer by Heart, Gamer by Blood

Send me a PM if you want a custom Profile Pic or Background!  --

If you like what I made you , share it with everyone In this thread Here!

Link to post
Share on other sites

AMD FX 9590, AMD FX aio cooler, AMD Radeon R9 290 asus DCUII OC, ASUS crosshair V formula Z, 8gb AMD ddr3 1600, Samsung 840 120gb, SEAGATE 1Tb, Coolermaster V1200 Platinum, NZXT H440 red/black, Func MS3 rev. 2, Cherry mechanical keyboard, Microsoft xbox 360 wired controller, Viewsonic vs13239.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×