-
Notifications
You must be signed in to change notification settings - Fork 6
Reimpl/simple functions set 1 #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gynt
wants to merge
241
commits into
main
Choose a base branch
from
reimpl/simple-functions-set-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
241 commits
Select commit
Hold shift + click to select a range
6dd3822
big progress, removing redundant cpp files
gynt cab1107
[OPENSHC]: repair simple-functions-set-1 sources after UI refactor
gynt 86b09af
reimplement: SHC_3BB0A8C1_0x00471A80 100.00% Reimplemented
gynt d5094da
reimplement: SHC_3BB0A8C1_0x0046BD20 100.00% Reimplemented
gynt 27c0a91
reimplement: SHC_3BB0A8C1_0x0046B2F0 100.00% Reimplemented
gynt 07c571a
reimplement: SHC_3BB0A8C1_0x004719E0 100.00% Reimplemented
gynt 652b062
reimplement: SHC_3BB0A8C1_0x00459140 100.00% Reimplemented
gynt 32c1406
reimplement: SHC_3BB0A8C1_0x00459BB0 100.00% Reimplemented
gynt 51226be
reimplement: SHC_3BB0A8C1_0x00459BE0 100.00% Reimplemented
gynt 0f1760b
reimplement: SHC_3BB0A8C1_0x00458700 100.00% Reimplemented
gynt 4090f37
reimplement: SHC_3BB0A8C1_0x004588D0 100.00% Reimplemented
gynt 595208f
reimplement: SHC_3BB0A8C1_0x004591B0 100.00% Reimplemented
gynt 52f533a
reimplement: SHC_3BB0A8C1_0x00459170 100.00% Reimplemented
gynt a230505
reimplement: SHC_3BB0A8C1_0x004588F0 100.00% Reimplemented
gynt 0e11bb1
reimplement: SHC_3BB0A8C1_0x004596D0 100.00% Reimplemented
gynt 394619e
reimplement: SHC_3BB0A8C1_0x004563B0 100.00% Reimplemented
gynt bba7d95
reimplement: SHC_3BB0A8C1_0x0045AF00 100.00% Reimplemented
gynt 910fd62
reimplement: SHC_3BB0A8C1_0x004586F0 100.00% Reimplemented
gynt b640bc4
reimplement: SHC_3BB0A8C1_0x0045B460 100.00% Reimplemented
gynt a082a68
reimplement: SHC_3BB0A8C1_0x0044AA70 100.00% Reimplemented
gynt cfa58bf
reimplement: SHC_3BB0A8C1_0x004188C0 100.00% Reimplemented
gynt 5fe5208
reimplement: SHC_3BB0A8C1_0x004039F0 100.00% Reimplemented
gynt 075c58c
reimplement: SHC_3BB0A8C1_0x00401B60 100.00% Reimplemented
gynt 539b982
reimplement: SHC_3BB0A8C1_0x00401540 100.00% Reimplemented
gynt bb85ba2
reimplement: SHC_3BB0A8C1_0x00401400 100.00% Reimplemented
gynt a7379e0
reimplement: SHC_3BB0A8C1_0x00401AE0 100.00% Reimplemented
gynt fbb8d9d
reimplement: SHC_3BB0A8C1_0x00401430 100.00% Reimplemented
gynt b8e8a65
reimplement: SHC_3BB0A8C1_0x004F2A10 100.00% Reimplemented
gynt f1e65d3
reimplement: SHC_3BB0A8C1_0x004F2FE0 100.00% Reimplemented
gynt 358642b
reimplement: SHC_3BB0A8C1_0x004F3D30 100.00% Reimplemented
gynt 9f88e00
reimplement: SHC_3BB0A8C1_0x004B77E0 100.00% Reimplemented
gynt 6c8cfc5
reimplement: SHC_3BB0A8C1_0x004B7890 100.00% Reimplemented
gynt 63f39ab
reimplement: SHC_3BB0A8C1_0x004BB9F0 100.00% Reimplemented
gynt 813a6dd
reimplement: SHC_3BB0A8C1_0x004BBA20 100.00% Reimplemented
gynt f9c1801
reimplement: SHC_3BB0A8C1_0x004092C0 100.00% Reimplemented
gynt 89dfdfd
reimplement: SHC_3BB0A8C1_0x004A94E0 100.00% Reimplemented
gynt 42b707f
reimplement: SHC_3BB0A8C1_0x004A4B80 100.00% Reimplemented
gynt 11bbae6
reimplement: SHC_3BB0A8C1_0x004A5F60 100.00% Reimplemented
gynt 44272d9
reimplement: SHC_3BB0A8C1_0x005002D0 100.00% Reimplemented
gynt 5563ae1
reimplement: SHC_3BB0A8C1_0x00500210 100.00% Reimplemented
gynt 7371cbd
reimplement: SHC_3BB0A8C1_0x00512920 100.00% Reimplemented
gynt 6a92ddf
reimplement: SHC_3BB0A8C1_0x005000A0 100.00% Reimplemented
gynt 094c80d
reimplement: SHC_3BB0A8C1_0x00500680 100.00% Reimplemented
gynt 6d47a62
reimplement: SHC_3BB0A8C1_0x005007D0 100.00% Reimplemented
gynt c65ed29
reimplement: SHC_3BB0A8C1_0x00500750 100.00% Reimplemented
gynt b5c04db
reimplement: SHC_3BB0A8C1_0x00500720 100.00% Reimplemented
gynt cdc203e
reimplement: SHC_3BB0A8C1_0x00501180 100.00% Reimplemented
gynt 898ceea
reimplement: SHC_3BB0A8C1_0x004F70B0 100.00% Reimplemented
gynt 0bb78e2
reimplement: SHC_3BB0A8C1_0x00504EE0 38.46% LTCG ecx reuse after call
gynt cbce8d9
reimplement: SHC_3BB0A8C1_0x00500640 46.15% LTCG ecx reuse after call
gynt b003c7c
reimplement: SHC_3BB0A8C1_0x004F28F0 100.00% Reimplemented
gynt 1469aa6
reimplement: SHC_3BB0A8C1_0x00530D50 100.00% Reimplemented
gynt e032bc9
reimplement: SHC_3BB0A8C1_0x00522BC0 100.00% Reimplemented
gynt bfb71bd
reimplement: SHC_3BB0A8C1_0x00523730 100.00% Reimplemented
gynt b1696ba
reimplement: SHC_3BB0A8C1_0x00522110 100.00% Reimplemented
gynt 50e4f87
reimplement: SHC_3BB0A8C1_0x00521EB0 76.47% pop esi scheduling
gynt 4d38542
reimplement: SHC_3BB0A8C1_0x00522160 100.00% Reimplemented
gynt 777b120
reimplement: SHC_3BB0A8C1_0x00525B70 100.00% Reimplemented
gynt ddb9933
reimplement: SHC_3BB0A8C1_0x00522BF0 100.00% Reimplemented
gynt b0f1273
reimplement: SHC_3BB0A8C1_0x00521210 100.00% Reimplemented
gynt 2dfcdcc
reimplement: SHC_3BB0A8C1_0x005224E0 100.00% Reimplemented
gynt cf681e0
reimplement: SHC_3BB0A8C1_0x00523370 100.00% Reimplemented
gynt 3a4dba2
reimplement: SHC_3BB0A8C1_0x00526370 100.00% Reimplemented
gynt 981102e
reimplement: SHC_3BB0A8C1_0x0051AC80 100.00% Reimplemented
gynt 56b0dd9
reimplement: SHC_3BB0A8C1_0x0051B680 100.00% Reimplemented
gynt 3e8fd3e
reimplement: SHC_3BB0A8C1_0x00519960 100.00% Reimplemented
gynt 303351d
reimplement: SHC_3BB0A8C1_0x00533C70 100.00% Reimplemented
gynt db76c93
reimplement: SHC_3BB0A8C1_0x00530FD0 78.26% Range check compiled bran…
gynt 3eeea10
reimplement: SHC_3BB0A8C1_0x00532F60 100.00% Reimplemented
gynt 1c68e1b
reimplement: SHC_3BB0A8C1_0x00535DF0 100.00% Reimplemented
gynt 304373d
reimplement: SHC_3BB0A8C1_0x005339F0 100.00% Reimplemented
gynt ab8028a
reimplement: SHC_3BB0A8C1_0x00530080 100.00% Reimplemented
gynt 7284be5
reimplement: SHC_3BB0A8C1_0x00536CC0 100.00% Reimplemented
gynt 51c5698
reimplement: SHC_3BB0A8C1_0x00533F90 100.00% Reimplemented
gynt 7bcf29f
reimplement: SHC_3BB0A8C1_0x0052FBF0 100.00% Reimplemented
gynt 288e641
reimplement: SHC_3BB0A8C1_0x0052FBB0 100.00% Reimplemented
gynt 933e849
reimplement: SHC_3BB0A8C1_0x00534460 100.00% Reimplemented
gynt a4ea4b3
reimplement: SHC_3BB0A8C1_0x0053CAC0 100.00% Reimplemented
gynt a00c81f
reimplement: SHC_3BB0A8C1_0x0041A390 100.00% Reimplemented
gynt ffd1bd9
reimplement: SHC_3BB0A8C1_0x0041A2B0 100.00% Reimplemented
gynt 5cde769
reimplement: SHC_3BB0A8C1_0x0041A060 100.00% Reimplemented
gynt 7bcd802
reimplement: SHC_3BB0A8C1_0x0044AAA0 100.00% Reimplemented
gynt 505a8c9
reimplement: SHC_3BB0A8C1_0x0041A0D0 100.00% Reimplemented
gynt b5dd95f
reimplement: SHC_3BB0A8C1_0x0041A3C0 100.00% Reimplemented
gynt cbd86c1
reimplement: SHC_3BB0A8C1_0x0041A5F0 100.00% Reimplemented
gynt 3bc8717
reimplement: SHC_3BB0A8C1_0x0041A620 100.00% Reimplemented
gynt 4c2cb9f
reimplement: SHC_3BB0A8C1_0x0041A0A0 100.00% Reimplemented
gynt 88f6d4f
reimplement: SHC_3BB0A8C1_0x0041A5C0 100.00% Reimplemented
gynt 3e6a421
reimplement: SHC_3BB0A8C1_0x005011C0 100.00% Reimplemented
gynt 505b1fc
reimplement: SHC_3BB0A8C1_0x00501730 100.00% Reimplemented
gynt 8112da9
reimplement: SHC_3BB0A8C1_0x00523E00 100.00% Reimplemented
gynt 91e1591
reimplement: SHC_3BB0A8C1_0x00523EB0 100.00% Reimplemented
gynt a249f2a
reimplement: SHC_3BB0A8C1_0x0053B340 53.33% Loop unrolled x3, orig not
gynt 05386fb
reimplement: SHC_3BB0A8C1_0x0053B310 90.00% Global store scheduling
gynt b87bd7d
reimplement: SHC_3BB0A8C1_0x0053B530 92.31% Global store scheduling
gynt 90bce40
reimplement: SHC_3BB0A8C1_0x0053B570 90.00% Global store scheduling
gynt 661a13b
reimplement: SHC_3BB0A8C1_0x0053B5E0 90.00% Global store scheduling
gynt da320cd
reimplement: SHC_3BB0A8C1_0x0041A710 100.00% Reimplemented
gynt 38cf78b
reimplement: SHC_3BB0A8C1_0x004F3900 100.00% Reimplemented
gynt 389ff52
reimplement: SHC_3BB0A8C1_0x0041A3F0 100.00% Reimplemented
gynt 47f5699
reimplement: SHC_3BB0A8C1_0x00500C80 100.00% Reimplemented
gynt 8db98a1
reimplement: SHC_3BB0A8C1_0x00500D30 100.00% Reimplemented
gynt 80acd6d
reimplement: SHC_3BB0A8C1_0x0052B9F0 100.00% Reimplemented
gynt 18c4d8a
reimplement: SHC_3BB0A8C1_0x004092E0 100.00% Reimplemented
gynt 22579cb
reimplement: SHC_3BB0A8C1_0x00401000 100.00% Reimplemented
gynt c470645
reimplement: SHC_3BB0A8C1_0x00467F60 100.00% Reimplemented
gynt dcf4955
reimplement: SHC_3BB0A8C1_0x004285C0 100.00% Reimplemented
gynt c2a4806
reimplement: SHC_3BB0A8C1_0x004800B0 100.00% Reimplemented
gynt adc542a
reimplement: SHC_3BB0A8C1_0x0047E7E0 100.00% Reimplemented
gynt eebdae7
reimplement: SHC_3BB0A8C1_0x0047EEB0 100.00% Reimplemented
gynt 562df81
reimplement: SHC_3BB0A8C1_0x0047E800 100.00% Reimplemented
gynt cc61beb
reimplement: SHC_3BB0A8C1_0x00490340 100.00% Reimplemented
gynt 6c0ecd6
reimplement: SHC_3BB0A8C1_0x0042AC60 100.00% Reimplemented
gynt a53da91
reimplement: SHC_3BB0A8C1_0x004AF680 100.00% Reimplemented
gynt 3af9005
reimplement: SHC_3BB0A8C1_0x004DA8A0 100.00% Reimplemented
gynt aeefc7d
reimplement: SHC_3BB0A8C1_0x004DA7E0 100.00% Reimplemented
gynt d9dc328
reimplement: SHC_3BB0A8C1_0x004DA810 100.00% Reimplemented
gynt c796afe
reimplement: SHC_3BB0A8C1_0x004DA840 100.00% Reimplemented
gynt 87cad06
reimplement: SHC_3BB0A8C1_0x004DA870 100.00% Reimplemented
gynt 1886f3a
reimplement: SHC_3BB0A8C1_0x004DABF0 100.00% Reimplemented
gynt 4745c9a
reimplement: SHC_3BB0A8C1_0x004AF630 100.00% Reimplemented
gynt ec82404
reimplement: SHC_3BB0A8C1_0x0044B7D0 100.00% Reimplemented
gynt 27c2d3b
reimplement: SHC_3BB0A8C1_0x00427210 100.00% Reimplemented
gynt 81a0547
reimplement: SHC_3BB0A8C1_0x004AF650 100.00% Reimplemented
gynt c2b871f
reimplement: SHC_3BB0A8C1_0x004650C0 100.00% Reimplemented
gynt 6367fa7
reimplement: SHC_3BB0A8C1_0x00465080 100.00% Reimplemented
gynt 8f84bb7
reimplement: SHC_3BB0A8C1_0x004650A0 100.00% Reimplemented
gynt f6a78a8
reimplement: SHC_3BB0A8C1_0x004650F0 100.00% Reimplemented
gynt 863c21d
reimplement: SHC_3BB0A8C1_0x004AF6E0 100.00% Reimplemented
gynt d0d6a6f
reimplement: SHC_3BB0A8C1_0x005010C0 100.00% Reimplemented
gynt 8a3481f
reimplement: SHC_3BB0A8C1_0x005010E0 100.00% Reimplemented
gynt d78d81a
reimplement: SHC_3BB0A8C1_0x004F6470 100.00% Reimplemented
gynt 6dd5eb4
reimplement: SHC_3BB0A8C1_0x004F4C60 100.00% Reimplemented
gynt 9efaa09
reimplement: SHC_3BB0A8C1_0x004F4C30 100.00% Reimplemented
gynt fc4f6bf
reimplement: SHC_3BB0A8C1_0x004A9EB0 100.00% Reimplemented
gynt 770718f
reimplement: SHC_3BB0A8C1_0x004A9E80 100.00% Reimplemented
gynt 0059af5
reimplement: SHC_3BB0A8C1_0x004B6640 100.00% Reimplemented
gynt db1e118
reimplement: SHC_3BB0A8C1_0x004B6680 100.00% Reimplemented
gynt bedf8d0
reimplement: SHC_3BB0A8C1_0x004B7F60 100.00% Reimplemented
gynt b0a49d0
reimplement: SHC_3BB0A8C1_0x004B20B0 67.57% Register alloc/tail merge…
gynt 8f79e56
reimplement: SHC_3BB0A8C1_0x004AF6B0 100.00% Reimplemented
gynt e873804
reimplement: SHC_3BB0A8C1_0x004D9270 100.00% Reimplemented
gynt 30fbab7
reimplement: SHC_3BB0A8C1_0x00495800 100.00% Reimplemented
gynt 3a56aa9
reimplement: SHC_3BB0A8C1_0x004D9D90 100.00% Reimplemented
gynt 4caa23c
reimplement: SHC_3BB0A8C1_0x00433200 100.00% Reimplemented
gynt 7ae8cbf
reimplement: SHC_3BB0A8C1_0x00434230 100.00% Reimplemented
gynt 95b386c
reimplement: SHC_3BB0A8C1_0x00466920 100.00% Reimplemented
gynt 7ec817c
reimplement: SHC_3BB0A8C1_0x00439390 100.00% Reimplemented
gynt 5cec49b
reimplement: SHC_3BB0A8C1_0x0043FC80 100.00% Reimplemented
gynt 800b202
reimplement: SHC_3BB0A8C1_0x00465920 100.00% Reimplemented
gynt a5076c3
reimplement: SHC_3BB0A8C1_0x0043A880 100.00% Reimplemented
gynt e8df029
reimplement: SHC_3BB0A8C1_0x0043F2C0 100.00% Reimplemented
gynt 3faedd1
reimplement: SHC_3BB0A8C1_0x0047FFA0 100.00% Reimplemented
gynt 46c3c75
reimplement: SHC_3BB0A8C1_0x0048F850 100.00% Reimplemented
gynt 946dbce
reimplement: SHC_3BB0A8C1_0x0047D0E0 100.00% Reimplemented
gynt f940f01
reimplement: SHC_3BB0A8C1_0x004D9D60 100.00% Reimplemented
gynt d5fa35a
reimplement: SHC_3BB0A8C1_0x004BB650 100.00% Reimplemented
gynt a10c50f
reimplement: SHC_3BB0A8C1_0x004BB540 100.00% Reimplemented
gynt ba3109f
reimplement: SHC_3BB0A8C1_0x0047D3F0 100.00% Reimplemented
gynt 69818b3
reimplement: SHC_3BB0A8C1_0x004F6A60 100.00% Reimplemented
gynt c50a3ad
reimplement: SHC_3BB0A8C1_0x00433230 100.00% Reimplemented
gynt 85b73d1
reimplement: SHC_3BB0A8C1_0x004B6500 100.00% Reimplemented
gynt c350593
reimplement: SHC_3BB0A8C1_0x0042AC40 100.00% Reimplemented
gynt 79dcd64
reimplement: SHC_3BB0A8C1_0x004941F0 100.00% Reimplemented
gynt d703396
reimplement: SHC_3BB0A8C1_0x00492C60 100.00% Reimplemented
gynt 046c36b
reimplement: SHC_3BB0A8C1_0x00494920 100.00% Reimplemented
gynt 094052f
reimplement: SHC_3BB0A8C1_0x0042C060 100.00% Reimplemented
gynt d203f6a
reimplement: SHC_3BB0A8C1_0x004B1090 100.00% Reimplemented
gynt 9c92e68
reimplement: SHC_3BB0A8C1_0x004AB540 54.55% Callee header lacks heigh…
gynt b6c4d1d
reimplement: SHC_3BB0A8C1_0x004ABCB0 54.55% Callee header lacks heigh…
gynt 02d03b3
reimplement: SHC_3BB0A8C1_0x004ABCE0 54.55% Callee header lacks heigh…
gynt 2b3b722
reimplement: SHC_3BB0A8C1_0x00491BF0 54.55% Callee header lacks heigh…
gynt e636120
reimplement: SHC_3BB0A8C1_0x00491E80 54.55% Callee header lacks heigh…
gynt 089e29b
reimplement: SHC_3BB0A8C1_0x00492A60 54.55% Callee header lacks heigh…
gynt b7705c5
reimplement: SHC_3BB0A8C1_0x004937B0 54.55% Callee header lacks heigh…
gynt cc56728
reimplement: SHC_3BB0A8C1_0x00491810 54.55% Callee header lacks heigh…
gynt 0c5644e
reimplement: SHC_3BB0A8C1_0x004ABE50 54.55% Callee header lacks heigh…
gynt cee0a9b
reimplement: SHC_3BB0A8C1_0x004ABE80 54.55% Callee header lacks heigh…
gynt 91d00d4
reimplement: SHC_3BB0A8C1_0x00492660 54.55% Callee header lacks heigh…
gynt ae17288
reimplement: SHC_3BB0A8C1_0x004AB4E0 54.55% Callee header lacks heigh…
gynt 9fb6aa4
reimplement: SHC_3BB0A8C1_0x004AB4B0 54.55% Callee header lacks heigh…
gynt a8c004a
reimplement: SHC_3BB0A8C1_0x004AC250 54.55% Callee header lacks heigh…
gynt e695a58
reimplement: SHC_3BB0A8C1_0x004AB510 54.55% Callee header lacks heigh…
gynt 909a11f
reimplement: SHC_3BB0A8C1_0x004D6EF0 100.00% Reimplemented
gynt 8d3de29
reimplement: SHC_3BB0A8C1_0x004BEC10 100.00% Reimplemented
gynt a72e9df
reimplement: SHC_3BB0A8C1_0x004B8050 100.00% Reimplemented
gynt 9f8c4bc
reimplement: SHC_3BB0A8C1_0x00424770 100.00% Reimplemented
gynt 1605efb
reimplement: SHC_3BB0A8C1_0x004DCC70 100.00% Reimplemented
gynt 588b0b5
reimplement: SHC_3BB0A8C1_0x004403D0 100.00% Reimplemented
gynt 785b4d7
reimplement: SHC_3BB0A8C1_0x0045D0B0 100.00% Reimplemented
gynt 75a2f0a
reimplement: SHC_3BB0A8C1_0x00468C50 100.00% Reimplemented
gynt b33c13c
reimplement: SHC_3BB0A8C1_0x004548D0 100.00% Reimplemented
gynt a1e9f0d
reimplement: SHC_3BB0A8C1_0x004549C0 40.00% Register allocation differs
gynt 33ae394
reimplement: SHC_3BB0A8C1_0x0044CCC0 100.00% Reimplemented
gynt fe4fefc
reimplement: SHC_3BB0A8C1_0x00454990 100.00% Reimplemented
gynt ce85193
reimplement: SHC_3BB0A8C1_0x00455270 100.00% Reimplemented
gynt 2638700
reimplement: SHC_3BB0A8C1_0x0046CED0 100.00% Reimplemented
gynt 5653256
reimplement: SHC_3BB0A8C1_0x0046CEF0 100.00% Reimplemented
gynt e5708d1
reimplement: SHC_3BB0A8C1_0x004B7F60 100.00% Reimplemented
gynt 85ca0d5
[OPENSHC]: style pass for SetTutorialBuildingActionState
gynt dd67b54
reimplement: SHC_3BB0A8C1_0x004AB540 100.00% Reimplemented
gynt beed884
reimplement: SHC_3BB0A8C1_0x004ABCB0 100.00% Reimplemented
gynt 243f4bc
reimplement: SHC_3BB0A8C1_0x004ABCE0 100.00% Reimplemented
gynt d10a82b
reimplement: SHC_3BB0A8C1_0x00491BF0 100.00% Reimplemented
gynt b3d5d2b
reimplement: SHC_3BB0A8C1_0x00491E80 100.00% Reimplemented
gynt 7ca7c92
reimplement: SHC_3BB0A8C1_0x00492A60 100.00% Reimplemented
gynt aaf95c9
reimplement: SHC_3BB0A8C1_0x004937B0 100.00% Reimplemented
gynt 04df9b1
reimplement: SHC_3BB0A8C1_0x00491810 100.00% Reimplemented
gynt 2bfb2dc
reimplement: SHC_3BB0A8C1_0x004ABE50 100.00% Reimplemented
gynt 58eef0e
reimplement: SHC_3BB0A8C1_0x004ABE80 100.00% Reimplemented
gynt 7994808
reimplement: SHC_3BB0A8C1_0x00492660 100.00% Reimplemented
gynt 9d34ab3
reimplement: SHC_3BB0A8C1_0x004AB4E0 100.00% Reimplemented
gynt 7e28183
reimplement: SHC_3BB0A8C1_0x004AB4B0 100.00% Reimplemented
gynt c285db9
reimplement: SHC_3BB0A8C1_0x004AC250 100.00% Reimplemented
gynt 8979158
reimplement: SHC_3BB0A8C1_0x004AB510 100.00% Reimplemented
gynt 6b47e6d
reimplement: SHC_3BB0A8C1_0x004B5300 100.00% Reimplemented
gynt 9eee91f
compiler flags
gynt 6afc5de
compiler flags
gynt 497f63e
clang-formatting
2002252
remove untracked cpp files from status file
dc4c598
remove untracked cpp files from status file
a02ad88
reset status file
9819676
sync with main
329b629
reset status file to proper progress
0147370
reimplement: SHC_3BB0A8C1_0x0053B340 81.82% Store sched + jne vs jl
gynt 7980149
status: record measured progress for this branch's 45 partial functions
gynt f462cf7
cleanup style
gynt b6ea1db
reimplement: SHC_3BB0A8C1_0x00530FD0 100%
gynt b9b14bd
reimplement: SHC_3BB0A8C1_0x00522520 100%
gynt 53e6244
reimplement: SHC_3BB0A8C1_0x0045B7F0 100% /GL
gynt 4ed3b80
string literal usage
gynt 96008db
reimplement: SHC_3BB0A8C1_0x004B20B0 82.43% shared arm fold direction
gynt 7571a63
reimplement: SHC_3BB0A8C1_0x0053B5E0 100%
gynt 73a8ff0
reimplement: SHC_3BB0A8C1_0x0053B340 90.91%
gynt fc77a52
reimplement: SHC_3BB0A8C1_0x0053B570 100%
gynt 20b76b5
reimplement: SHC_3BB0A8C1_0x0053B310 100%
gynt 6b660b1
reimplement: SHC_3BB0A8C1_0x0053B530 100%
gynt b473e2c
reimplement: SHC_3BB0A8C1_0x0053B530 100%
gynt cea1e40
reimplement: SHC_3BB0A8C1_0x00504EE0 100%
gynt 10e891a
reimplement: SHC_3BB0A8C1_0x004549C0 100.0%
gynt fd9bec6
reimplement: SHC_3BB0A8C1_0x004039B0 100.0%
gynt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/OpenSHC/Game/GameCore/exitToScenarioDescriptionMenu.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/UI/Enums/MenuViewType.hpp" | ||
|
|
||
| #include "OpenSHC/Globals/DAT_GameCore.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::UI::Enums::MenuViewType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00471A80 | ||
| void GameCore::exitToScenarioDescriptionMenu() | ||
| { | ||
| MACRO_CALL_MEMBER(OpenSHC::Game::GameCore_Func::removeLadyAndJester, this)(); | ||
| DAT_GameCore::instance.field22_0x64 = 0; | ||
| MACRO_CALL_MEMBER(OpenSHC::Game::GameCore_Func::switchToMenuView, DAT_GameCore::ptr)( | ||
| OpenSHC::UI::Enums::MVT_SCENARIO_DESCRIPTION, 0); | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/Game/GameMode.hpp" | ||
| #include "OpenSHC/UI/Enums/MenuModalType.hpp" | ||
| #include "OpenSHC/WindowsHelper/Enums/BOOLEnum.hpp" | ||
|
|
||
| #include "OpenSHC/Globals/DAT_GameSynchronyState.hpp" | ||
| #include "OpenSHC/Globals/DAT_MenuModalComposition1.hpp" | ||
| #include "OpenSHC/Globals/DAT_MenuTextInputState.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::Game::GameMode; | ||
| using OpenSHC::UI::Enums::MenuModalType; | ||
| using OpenSHC::WindowsHelper::Enums::BOOLEnum; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x0046BD20 | ||
| BOOLEnum GameCore::isGameHaltingMenuOpen() | ||
| { | ||
| if (DAT_GameSynchronyState::instance.currentGameMode != OpenSHC::Game::GM_SOLITARY | ||
| && DAT_GameSynchronyState::instance.currentGameMode != OpenSHC::Game::GM_SKIRMISH_SINGLE_PLAYER) { | ||
| return FALSE; | ||
| } | ||
| if (DAT_MenuTextInputState::instance.currentModalDialog != OpenSHC::UI::Enums::MMT_NO_MENU) { | ||
| return TRUE; | ||
| } | ||
| return DAT_MenuModalComposition1::instance.activeModalDialogID == OpenSHC::UI::Enums::MMT_IN_GAME_HELP_TEXT; | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/UI/Enums/MenuViewType.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::UI::Enums::MenuViewType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x0046B300 | ||
| void GameCore::setTabToSwitchTo() | ||
| { | ||
| if (this->currentMenuViewType == OpenSHC::UI::Enums::MVT_BUILD_MENU) { | ||
| this->secondaryActiveMenuTabToSwitchTo = this->buildmenuMenuTabToSwitchTo; | ||
| } | ||
| if (this->currentMenuViewType == OpenSHC::UI::Enums::MVT_MAP_EDITOR_LANDSCAPING) { | ||
| this->secondaryActiveMenuTabToSwitchTo.tabType = this->landscapingmenuMenuTabToSwitchTo; | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/UI/Enums/MenuViewType.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::UI::Enums::MenuViewType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x0046B2F0 | ||
| void GameCore::setViewOnExitUnk() { this->currentMenuViewType = (MenuViewType)2; } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/UI/Enums/BuildingsAndStatusMenuTabType.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::UI::Enums::BuildingsAndStatusMenuTabType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x0046B320 | ||
| void GameCore::swapBuildMenuTab() | ||
| { | ||
| if (this->buildmenuMenuTabToSwitchTo.tabType == OpenSHC::UI::Enums::BASMTT_SIEGETENT_SHIELD) { | ||
| this->buildmenuMenuTabToSwitchTo.tabType = OpenSHC::UI::Enums::BASMTT_SIEGETENT_BATTERINGRAM; | ||
| return; | ||
| } | ||
| this->buildmenuMenuTabToSwitchTo = this->secondaryActiveMenuTabToSwitchTo; | ||
| } | ||
|
|
||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
src/OpenSHC/Game/GameCore/switchToScenarioDescriptionMenuView.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #include "OpenSHC/Game/GameCore.func.hpp" | ||
| #include "OpenSHC/UI/Enums/MenuViewType.hpp" | ||
|
|
||
| #include "OpenSHC/Globals/DAT_GameCore.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::UI::Enums::MenuViewType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x004719E0 | ||
| void GameCore::switchToScenarioDescriptionMenuView() | ||
| { | ||
| MACRO_CALL_MEMBER(OpenSHC::Game::GameCore_Func::removeJesterAndLadyUnitsInCertainMissions, this)(); | ||
| MACRO_CALL_MEMBER(OpenSHC::Game::GameCore_Func::switchToMenuView, DAT_GameCore::ptr)( | ||
| OpenSHC::UI::Enums::MVT_SCENARIO_DESCRIPTION, 0); | ||
| DAT_GameCore::instance.field22_0x64 = 0; | ||
| } | ||
|
|
||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
src/OpenSHC/Game/GameStateStructures/activateTraderState.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x004586D0 | ||
| void GameStateStructures::activateTraderState() | ||
| { | ||
| this->mapAndTime.traderRelated2 = 2; | ||
| this->mapAndTime.traderRelatedCounter1 = 0; | ||
| } | ||
|
|
||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
src/OpenSHC/Game/GameStateStructures/calculateTaxBribeExpenseForPlayer.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00459140 | ||
| int GameStateStructures::calculateTaxBribeExpenseForPlayer(int playerIndex, int taxStep, int currentPopulation) | ||
| { | ||
| int bribeExpense = ((5 - taxStep) * currentPopulation) / 2; | ||
| if (this->playerDataArray[playerIndex].currentResources[OpenSHC::Game::Resources::RT_GOLD] <= 0) { | ||
| bribeExpense = 0; | ||
| } | ||
| return bribeExpense; | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| #include "OpenSHC/Game/State/UnitSelectionHotKeyEntry.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::Game::State::UnitSelectionHotKeyEntry; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00459BB0 | ||
| void GameStateStructures::clearTribeHotKey(int hotkeyID) | ||
| { | ||
| for (int i = 0; i < 2500; ++i) { | ||
| this->hotkeyTribes[hotkeyID].units[i].id = -1; | ||
| this->hotkeyTribes[hotkeyID].units[i].uid = -1; | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } |
28 changes: 28 additions & 0 deletions
28
src/OpenSHC/Game/GameStateStructures/destroyPlayerCompletely.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| #include "OpenSHC/Map/Buildings/BuildingsState.func.hpp" | ||
| #include "OpenSHC/Map/Entities/EntityState.func.hpp" | ||
| #include "OpenSHC/Map/TileMapState.func.hpp" | ||
| #include "OpenSHC/Map/Units/UnitsState.func.hpp" | ||
|
|
||
| #include "OpenSHC/Globals/DAT_BuildingsState.hpp" | ||
| #include "OpenSHC/Globals/DAT_EntityState.hpp" | ||
| #include "OpenSHC/Globals/DAT_TileMapState.hpp" | ||
| #include "OpenSHC/Globals/DAT_UnitsState.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00457B40 | ||
| void GameStateStructures::destroyPlayerCompletely(int playerID) | ||
| { | ||
| MACRO_CALL_MEMBER(OpenSHC::Map::Units::UnitsState_Func::killUnits, DAT_UnitsState::ptr)(playerID); | ||
| MACRO_CALL_MEMBER(OpenSHC::Map::Buildings::BuildingsState_Func::destroyBuildings, DAT_BuildingsState::ptr)( | ||
| playerID); | ||
| MACRO_CALL_MEMBER(OpenSHC::Map::TileMapState_Func::destroyWallsOfPlayer, DAT_TileMapState::ptr)(playerID); | ||
| MACRO_CALL_MEMBER(OpenSHC::Map::Entities::EntityState_Func::destroyEntitiesPart2, DAT_EntityState::ptr)( | ||
| playerID); | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| #include "OpenSHC/Game/GameStateStructures.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::Game::GameStateStructures; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00459BE0 | ||
| void GameStateStructures::fillWith0xFF() | ||
| { | ||
| for (int hotkeyID = 0; hotkeyID < 10; ++hotkeyID) { | ||
| for (int i = 0; i < 2500; ++i) { | ||
| this->hotkeyTribes[hotkeyID].units[i].id = -1; | ||
| this->hotkeyTribes[hotkeyID].units[i].uid = -1; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } |
22 changes: 22 additions & 0 deletions
22
src/OpenSHC/Game/GameStateStructures/findNextPlayerWithMarketplace.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| #include "OpenSHC/Game/Player/PlayerData.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::Game::Player::PlayerData; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00458700 | ||
| int GameStateStructures::findNextPlayerWithMarketplace(int playerID) | ||
| { | ||
| for (int nextPlayerID = playerID + 1; nextPlayerID < 9; ++nextPlayerID) { | ||
| if (this->playerDataArray[nextPlayerID].marketplace.id > 0) { | ||
| return nextPlayerID; | ||
| } | ||
| } | ||
| return 0; | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00458890 | ||
| int GameStateStructures::getBatchBuyPrice(undefined4 playerID, int resourceType) | ||
| { | ||
| return this->mapAndTime.buyAndSalesPriceArray[resourceType].buyPrice; | ||
| } | ||
|
|
||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
src/OpenSHC/Game/GameStateStructures/getBuyPriceForOneUnit.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x004588D0 | ||
| int GameStateStructures::getBuyPriceForOneUnit(int resourceType) | ||
| { | ||
| return this->mapAndTime.buyAndSalesPriceArray[resourceType].buyPrice / 5; | ||
| } | ||
|
|
||
| } | ||
| } |
19 changes: 19 additions & 0 deletions
19
src/OpenSHC/Game/GameStateStructures/getNumberToDisplayBribeIncome.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x004591B0 | ||
| int GameStateStructures::getNumberToDisplayBribeIncome(int playerIndex, int taxStep, int currentPopulation) | ||
| { | ||
| int bribeIncome = 0; | ||
| if (taxStep < 3) { | ||
| bribeIncome = MACRO_CALL_MEMBER(OpenSHC::Game::GameStateStructures_Func::calculateTaxBribeExpenseForPlayer, | ||
| this)(playerIndex, taxStep, currentPopulation) | ||
| * 4; | ||
| } | ||
| return bribeIncome / 10; | ||
| } | ||
|
|
||
| } | ||
| } |
19 changes: 19 additions & 0 deletions
19
src/OpenSHC/Game/GameStateStructures/getNumberToDisplayPlayerTaxIncome.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x00459170 | ||
| int GameStateStructures::getNumberToDisplayPlayerTaxIncome(int playerIndex, int taxStep, int currentPopulation) | ||
| { | ||
| int taxIncome = 0; | ||
| if (taxStep > 3) { | ||
| taxIncome = MACRO_CALL_MEMBER(OpenSHC::Game::GameStateStructures_Func::calculateTaxIncomeForPlayer, this)( | ||
| playerIndex, taxStep, currentPopulation) | ||
| * 4; | ||
| } | ||
| return taxIncome / 10; | ||
| } | ||
|
|
||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
src/OpenSHC/Game/GameStateStructures/getSalePriceOfGood.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| #include "OpenSHC/Game/Resources/ResourceType.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| using OpenSHC::Game::Resources::ResourceType; | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x004588F0 | ||
| int GameStateStructures::getSalePriceOfGood(ResourceType resourceType) | ||
| { | ||
| return this->mapAndTime.buyAndSalesPriceArray[resourceType].salesPrice / 5; | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| #include "../GameStateStructures.func.hpp" | ||
|
|
||
| namespace OpenSHC { | ||
| namespace Game { | ||
|
|
||
| // FUNCTION: STRONGHOLDCRUSADER 0x0045B7F0 | ||
| int GameStateStructures::getSalesPrice(int playerID, int resourceType) | ||
| { | ||
| return (this->mapAndTime.buyAndSalesPriceArray[resourceType].salesPrice / 5) | ||
| * MACRO_CALL_MEMBER(OpenSHC::Game::GameStateStructures_Func::getSellResourceAmount, this)( | ||
| playerID, resourceType); | ||
| } | ||
|
|
||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shared file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this signature (the carry over EDX beyond a call, could also happen to ECX) means /GL.
yes /GL leads to 100%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I always need to look them up again, but EAX, EDX and ECX are scratch registers. If they are used after a function call in msvc-x86 without being reassigned first, it means:
Of course the compiler may also do other stuff when the body is known, but these are very clear signs.