equal
deleted
inserted
replaced
318 AddFileLog('Enter Think Thread'); |
318 AddFileLog('Enter Think Thread'); |
319 {$IFDEF IPHONEOS} |
319 {$IFDEF IPHONEOS} |
320 //TODO: sdl_thread works on device but crashes in simulator, most likely because of outdated toolchain |
320 //TODO: sdl_thread works on device but crashes in simulator, most likely because of outdated toolchain |
321 BeginThread(@Think, Me, ThinkThread); |
321 BeginThread(@Think, Me, ThinkThread); |
322 {$ELSE} |
322 {$ELSE} |
323 ThinkThread := SDL_CreateThread(@Think, Me); |
323 ThinkThread := SDL_CreateThread(@Think, nil, Me); |
324 {$ENDIF} |
324 {$ENDIF} |
325 AddFileLog('Thread started'); |
325 AddFileLog('Thread started'); |
326 end; |
326 end; |
327 |
327 |
328 procedure ProcessBot; |
328 procedure ProcessBot; |