Commit b4e33f2
committed
Change power accruing rate, with N droids or structures wanting to use power, from 5*FPS/(N+1) to 25/second.
Previous code was insane, despite some previous attempts at improving the indentation of the code, and meant that players with better graphics cards could build, produce and research 5x-10x faster.
Changelog: Construction, production and research speeds are no longer linearly dependent on framerate on high oil maps.1 parent 1fbf577 commit b4e33f2
7 files changed
+50
-247
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
| |||
571 | 568 | | |
572 | 569 | | |
573 | 570 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | 571 | | |
578 | 572 | | |
579 | 573 | | |
| |||
605 | 599 | | |
606 | 600 | | |
607 | 601 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | 602 | | |
612 | 603 | | |
613 | 604 | | |
| |||
818 | 809 | | |
819 | 810 | | |
820 | 811 | | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
| 812 | + | |
833 | 813 | | |
834 | 814 | | |
835 | 815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 285 | | |
289 | 286 | | |
290 | 287 | | |
| |||
435 | 432 | | |
436 | 433 | | |
437 | 434 | | |
438 | | - | |
439 | | - | |
440 | 435 | | |
441 | 436 | | |
442 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
904 | | - | |
905 | 903 | | |
906 | 904 | | |
907 | 905 | | |
| |||
1685 | 1683 | | |
1686 | 1684 | | |
1687 | 1685 | | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | | - | |
1694 | | - | |
1695 | | - | |
1696 | | - | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
| 1686 | + | |
| 1687 | + | |
1701 | 1688 | | |
1702 | 1689 | | |
1703 | 1690 | | |
| |||
0 commit comments