Changeset 62 for trunk/UEngine.pas
- Timestamp:
- Jan 5, 2023, 10:14:31 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UEngine.pas
r61 r62 276 276 SShotsFired = 'Shot fired'; 277 277 SWinnerIs = 'The winner is'; 278 SGreen = 'Green'; 279 SBlue = 'Blue'; 280 SRed = 'Red'; 281 SPink = 'Pink'; 282 SCyan = 'Cyan'; 283 SYellow = 'Yellow'; 284 SOrange = 'Orange'; 285 SGray = 'Gray'; 278 286 279 287 { TTanks } … … 1209 1217 Text := Name + ': ' + IntToStr(Score); 1210 1218 TextOut((Bitmap.Width - TextWidth(Text)) div 2, Bitmap.Height div 5 * 2 + Y, Text); 1211 Inc(Y, 50);1219 Inc(Y, 60); 1212 1220 end; 1213 1221 end; … … 1339 1347 PlayerPool.Clear; 1340 1348 with PlayerPool.AddNew do begin 1349 Name := SGreen; 1341 1350 Keys.Left := 65; 1342 1351 Keys.Down := 83; … … 1349 1358 end; 1350 1359 with PlayerPool.AddNew do begin 1360 Name := SBlue; 1351 1361 Keys.Left := 37; 1352 1362 Keys.Down := 40; … … 1359 1369 end; 1360 1370 with PlayerPool.AddNew do begin 1371 Name := SRed; 1361 1372 Keys.Left := 76; 1362 1373 Keys.Down := 147; … … 1368 1379 end; 1369 1380 with PlayerPool.AddNew do begin 1381 Name := SPink; 1370 1382 Keys.Left := 100; 1371 1383 Keys.Down := 98; … … 1377 1389 end; 1378 1390 with PlayerPool.AddNew do begin 1391 Name := SCyan; 1379 1392 Keys.Left := 0; 1380 1393 Keys.Down := 0; … … 1386 1399 end; 1387 1400 with PlayerPool.AddNew do begin 1401 Name := SYellow; 1388 1402 Keys.Left := 0; 1389 1403 Keys.Down := 0; … … 1395 1409 end; 1396 1410 with PlayerPool.AddNew do begin 1411 Name := SOrange; 1397 1412 Keys.Left := 0; 1398 1413 Keys.Down := 0; … … 1404 1419 end; 1405 1420 with PlayerPool.AddNew do begin 1421 Name := SGray; 1406 1422 Keys.Left := 0; 1407 1423 Keys.Down := 0; … … 1417 1433 Id := I; 1418 1434 InitTanks; 1419 Name := SPlayer + ' ' + IntToStr(I + 1);1420 1435 if I < 2 then Enabled := True; 1421 1436 end; … … 1559 1574 FBitmapLower.Count := OldCount; 1560 1575 1561 if FClearBackground then FBitmapLower.FillAll( clNavy);1576 if FClearBackground then FBitmapLower.FillAll(World.Matters[Integer(miBorder)].Color); 1562 1577 for I := 0 to Players.Count - 1 do 1563 1578 if Players[I].Enabled then begin
Note:
See TracChangeset
for help on using the changeset viewer.