Commit Graph
252 Commits
Author SHA1 Message Date
Ben "root" Anderson b64a766e0f winres.h -> afxres.h redirect for MinGW 2013-10-29 22:20:44 -05:00
Ben "root" Anderson b689134717 Did not find dxerr on MinGW-W64, resorting to dxerr9 2013-10-26 17:05:18 -05:00
Ben "root" Anderson d61f2f8750 Actual AT&T syntax for this one, and do GCC inline asm correctly 2013-10-26 17:04:42 -05:00
Ben "root" Anderson 857100899e Manually newline each inline assembly line. GCC asm syntax is just braindead like that. 2013-10-26 15:19:20 -05:00
Ben "root" Anderson 6157d7eb3e This is Intel syntax! 2013-10-26 15:04:59 -05:00
Ben "root" Anderson 7888b7a336 Really? What kind of exception is ASSEMBLY CODE going to throw? 2013-10-25 19:29:29 -05:00
Ben "root" Anderson 2109beeee3 GCC requires these kinds of casts to be explicit 2013-10-25 19:27:11 -05:00
Ben "root" Anderson ca295a8c80 Mark this for changing later 2013-10-25 19:24:18 -05:00
Ben "root" Anderson ed7d824bbb Conditionalize asm syntax. Add GCC asm syntax. 2013-10-25 19:19:26 -05:00
Ben "root" Anderson 4ff5fe367a That wasnt supposed to be there. 2013-10-25 19:16:18 -05:00
Ben "root" Anderson d8cab4da7f Apparently hg didnt revert correctly this time. 2013-10-25 19:15:45 -05:00
Ben "root" Anderson 3a730b3c3c Introducing SM_ASM_X86, a compiler-agnostic inline assembly macro 2013-10-25 18:05:56 -05:00
Ben "root" Anderson 469260911a I dont think theres anything to catch here. GCC doesnt have SEH so skipping the tryblock for now. 2013-10-25 17:56:12 -05:00
Ben "root" Anderson 944921ac12 You need global.h for RString 2013-10-25 15:52:07 -05:00
Ben "root" Anderson 9d6a9510f4 Added this to the wrong file 2013-10-25 15:51:44 -05:00
Ben "root" Anderson 4c62a0e5b4 You need StdString.h for RString 2013-10-25 15:42:19 -05:00
Ben "root" Anderson 95ba9dd658 You need stdint.h for uint64_t 2013-10-25 15:41:20 -05:00
Ben "root" Anderson 915a08f1d8 Just pulling in Unix/Backtrace.h with no impl for now. 2013-10-25 15:40:58 -05:00
Ben "root" Anderson 23eaa78c1b This is only used in archutils/Unix/CrashHandler.cpp so conditionalize it. 2013-10-25 15:39:39 -05:00
Ben "root" Anderson a54e0f1205 Missed changing LinuxThreadHelpers -> PthreadHelpers in the .cpp itself 2013-10-25 15:29:33 -05:00
Ben "root" Anderson 0959033fe6 LinuxThreadHelpers -> PthreadHelpers 2013-10-25 15:15:41 -05:00
Ben "root" Anderson 04be5f6106 uintX requires stdint.h. No idea why this worked before. 2013-10-25 01:48:42 -05:00
Ben "root" Anderson 7313f2d0aa Conditionalize some defines that MinGW/autoconf provide 2013-10-24 18:29:58 -05:00
Devin J. Pohly d363db2132 Clean out strings now that sm-ssc is something else 2013-10-13 23:02:51 -04:00
Jason Felds 1ff3195d7c Revert "SM5 didnt want to compile with DirectX SDK (Summer 2004), which is the original DX9.0c SDK, please use conditional compilation for newer SDKs. Summer 2004 has the following constant: #define D3D_SDK_VERSION 32"
This reverts commit 8e37673954.
2013-06-08 21:52:22 -04:00
Aldo Fregoso 8e37673954 SM5 didnt want to compile with DirectX SDK (Summer 2004), which is the original DX9.0c SDK, please use conditional compilation for newer SDKs. Summer 2004 has the following constant: #define D3D_SDK_VERSION 32 2013-06-02 22:45:15 -05:00
Aldo Fregoso fb0ff89bbc Updated mapconv.exe 2013-06-02 22:41:38 -05:00
Jason Felds 07b9fb6da5 The big NULL replacement party part 6.
...and ', NULL' had even more to replace.
2013-05-03 23:49:23 -04:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds a3f37dc2b4 The big NULL replacement party part 3.
Getting there I think.
2013-05-03 23:16:39 -04:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds a4798fbd5d Some Mac OS X fixes.
Joystick was more stubborn than it should have been.
2013-05-02 22:47:16 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds b1ed735622 The non windows files. 2013-05-01 23:45:12 -04:00
Jason Felds c7269b63ff Handle the files either skipped or not on windows. 2013-04-30 23:24:29 -04:00
Devin J. Pohly 7e8c75a71b remove check for ancient llabs() bug 2013-04-29 20:24:07 -04:00
Jason Felds 71d993ee39 Don't include the internal header.
Use a standard header to include instead.
2013-04-29 19:17:30 -04:00
Jason Felds 15eaad8c86 Don't include the internal header.
Use a standard header to include instead.
2013-04-29 19:17:30 -04:00
Jason Felds 2a5227afbb The last batch of WHITE SPACE loops.
...okay, enough of this running gag.
2013-04-27 15:24:55 -04:00
Jason Felds c7b8664604 Consider this transplanted.
Plus, default should be the left-most branch in graphical viewing.
2013-04-21 00:09:35 -04:00
Shenjoku ba0d2d1838 Upgraded the DirectX 8 rendering to DirectX 9. Updated Direct Input to work with
the latest SDK as well.
2013-04-08 21:13:47 -07:00
Jason Felds 04644ed3c3 Only do the _MSC_VER calculations if defined. 2013-02-01 23:04:46 -05:00
Jason Felds 1e9ffd1a64 Reasonably sure that mingw won't use d3d.
If mistaken...well, deal with it then.
2013-02-01 22:57:28 -05:00
Jason Felds 2ae401940a Don't redefine if already defined.
Looks like some MinGW setups already have this.

Also...line endings. OY.
2013-02-01 22:50:17 -05:00
Jason Felds a15cbc431d War on -Werror, part 14: More hodgepodge. 2012-12-27 12:45:04 -05:00
Jason Felds 52df8ea981 War on -Werror, part 13: hodgehodge. 2012-12-27 12:07:02 -05:00
Jason Felds 4f07a0ea8b war on -Werror, part 7: start informal params.
I'm preserving our numbering Pohly. ;)
2012-12-26 23:23:59 -05:00
Jason Felds 2ad71548b8 war on -Werror, part 5: win macro redefinition.
Replaces commit 70b8f34.
2012-12-26 22:44:08 -05:00
Devin J. Pohly 7aac8c5ae3 war on -Werror, part 2: unused variables and dead code 2012-12-26 20:35:02 -05:00