Changeset 733
- Timestamp:
- Jan 14, 2015, 11:32:44 AM (8 years ago)
- Location:
- abuse/branches/lol
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/branches/lol/abuse.vcxproj
r723 r733 6 6 <Platform>ORBIS</Platform> 7 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|PS3">9 <Configuration>Debug</Configuration>10 <Platform>PS3</Platform>11 </ProjectConfiguration>12 8 <ProjectConfiguration Include="Debug|Win32"> 13 9 <Configuration>Debug</Configuration> … … 25 21 <Configuration>Release</Configuration> 26 22 <Platform>ORBIS</Platform> 27 </ProjectConfiguration>28 <ProjectConfiguration Include="Release|PS3">29 <Configuration>Release</Configuration>30 <Platform>PS3</Platform>31 23 </ProjectConfiguration> 32 24 <ProjectConfiguration Include="Release|Win32"> -
abuse/branches/lol/src/game.cpp
r732 r733 2279 2279 set_spec_main_file("abuse.spe"); 2280 2280 check_for_lisp(argc, argv); 2281 m_abusethread = new Thread(DoWorkHelper, this);2281 m_abusethread = new thread(std::bind(&AbuseGame::DoWorkHelper, this)); 2282 2282 2283 2283 m_vertices << vec2(-1.0, 1.0); … … 2355 2355 2356 2356 private: 2357 static void *DoWorkHelper(void *data) 2358 { 2359 AbuseGame *that = (AbuseGame *)data; 2360 2357 void DoWorkHelper() 2358 { 2361 2359 do 2362 2360 { 2363 that->DoWork();2361 DoWork(); 2364 2362 } 2365 2363 while (main_net_cfg && main_net_cfg->restart_state()); 2366 2367 return NULL;2368 2364 } 2369 2365 … … 2504 2500 char **m_argv; 2505 2501 2506 Thread *m_abusethread;2502 thread *m_abusethread; 2507 2503 2508 2504 array<vec2> m_vertices; -
abuse/branches/lol/src/imlib/event.cpp
r732 r733 83 83 84 84 // Return first queued event if applicable 85 if (m_events. TryPop(ev))85 if (m_events.try_pop(ev)) 86 86 return; 87 87 -
abuse/branches/lol/src/imlib/event.h
r724 r733 68 68 { 69 69 /* Donât really care about losing events */ 70 m_events. TryPush(ev);70 m_events.try_push(ev); 71 71 } 72 72 … … 93 93 94 94 private: 95 Queue<Event, 256> m_events;95 queue<Event, 256> m_events; 96 96 int m_pending, last_key; 97 97
Note: See TracChangeset
for help on using the changeset viewer.