forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AbstractClass.h - adding Interlocked Inc/Dec counter, formatting.
Adding BulletClass and ParasiteClass. ASMMacros.h, *.h - Wheeeeee. perl transformed THISCALL and friends to take an additional argument, recompiled Ares, seems to work fine thus far: GCC doesn't understand that asm blocks actually return a value so, for example, return ho->IsAlliedWith(hv) ? 0x71A97D : 0; becomes mov ecx, ebx mov eax, 4F9A50h call eax mov al, 0 <-- shish kabob! :E cmp al, 1 sbb eax, eax not eax and eax, 71A97Dh Therefore, new variants of macros are needed for functions returning non-voids. pd, please define these for msvc as well, and remove #pragma warning(disable: 4035) , let's treat that warning as an additional shield against future decl quirks, not as something to ignore. Let me know if that perlgrinder blew anything up. git-svn-id: svn://svn.renegadeprojects.com/yrpp/trunk@123 bbc44d77-a14d-0410-bbfb-905795908d03
- Loading branch information
Showing
76 changed files
with
1,562 additions
and
1,229 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.