Commit Graph
223 Commits
Author SHA1 Message Date
Jason Felds c7269b63ff Handle the files either skipped or not on windows. 2013-04-30 23:24:29 -04:00
Jason Felds 0bd79b9984 Loops plus minor improvements. 2013-04-30 23:11:53 -04:00
Jason Felds 0897ce48e4 Another one similar. 2013-04-30 23:07:23 -04:00
Jason Felds fac8c17706 Loop with a shortcut variable. 2013-04-30 23:06:23 -04:00
Jason Felds 58dbdd7d9e Simple ones. 2013-04-30 23:04:28 -04:00
Jason Felds 438d7a5305 Nested loops were simple. 2013-04-30 23:03:45 -04:00
Jason Felds 860699988b Another simple one. 2013-04-30 23:02:20 -04:00
Jason Felds 9e7a9a76c7 Cover something on the windows side. 2013-04-28 23:42:20 -04:00
Jason Felds 8bc0b9385c No longer auto casts to float. Do it manually. 2013-04-28 12:01:41 -04:00
Devin J. Pohly feb919f0bf Revert memory leak commits
5f7001e: "Added a new branch"
01456ed: "Fixed a lot of memory leaks"
dac4493: "Fixed all remaining memory leaks that I could figure out"
0792db7: "Removed the smnew macro and the call to _CrtSetDbgFlag()"

Some of these caused destructor-time problems due to static initialization
order fiasco and related issues.  Notably, the program would no longer exit on
OSX and had to be killed.

There were probably legitimate fixes in here, but since these are monolithic
commits it's too much work to extract them now.  Let's reapply them
individually and in the forward direction.
2013-04-27 00:05:14 -04:00
Shenjoku 0792db752a Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
2013-04-19 20:34:11 -07:00
Shenjoku 01456ed0b9 Fixed a lot of memory leaks caused by static globals never getting
deleted and some other objects not getting deleted properly due to missing
destructors.
2013-04-18 21:17:57 -07:00
Shenjoku 5f7001ef0a Added a new branch that implements support for outputting all memory leaks to
the debug output for the Debug and FastDebug project configurations. This
requires replacing all instances of new with a macro, smnew, that defines a
special form of new which outputs file and line number information along with
the memory leak details. This makes finding memory leaks much easier since you
can just double-click the leak in the output window and it will take you to the
line that caused it.
2013-04-17 20:42:29 -07: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
Devin J. Pohly a280f513b4 fix ffmpeg 1.1 builds... another way 2013-02-21 03:18:28 -05:00
Devin J. Pohly a6bfbb19ac Revert "make PixelFormat a typedef, fixes ffmpeg 1.1 compat"
This reverts commit 4537a66481.

Apparently broke build on Windows somehow.
2013-02-20 16:23:04 -05:00
Devin J. Pohly 4537a66481 make PixelFormat a typedef, fixes ffmpeg 1.1 compat 2013-02-20 15:29:24 -05:00
Jason Felds 591bbae070 Compiles and links. Try at your own risk. 2013-02-10 20:38:14 -05:00
Jason Felds eaad585fa8 Transplant revision b18dc32.
Original message is as follows:

[Xcode4.4] wrong code: NSBitsPerPixelFromDepth seems to like to return 0.
instead, use a reimplementation of CGGetDisplayBitsPerPixel
2013-02-10 20:31:40 -05:00
Jason Felds bf54a30dbb Definitely confirmed these files are gone.
Mac OS X still broken.
2013-02-10 11:32:43 -05:00
Jason Felds d7518ef5b3 Bring Xcode up to 4.6 standards.
Basically includes hi def image stuff and headers.

Note: Mac OS X build is broken. LowLevelWindow_MacOSX.mm refers to the removed RageDisplay_Legacy_Helpers files. The replacement is not immediately obvious.
2013-02-10 01:10:01 -05:00
Devin J. Pohly 1973091a7f ArchHooks: remove Data from per-user directory, move UserPackages to Packages 2013-02-05 00:01:08 -05:00
Jason Felds b62c1509e0 ints should be reset to 0, not NULL.
I know it's a macro, but this is just begging
to be abused somehow.
2013-01-04 11:01:00 -05:00
phantom ec69c7769b More Windows loading. 2013-01-02 17:46:21 +01:00
phantom 716d62de10 Fix Gtk icon. 2013-01-02 10:59:38 +01:00
phantom d7cdc02db3 Fix windows? 2013-01-01 18:14:14 +01:00
phantom 5fa1e3d2a0 Splash should show up properly now. 2013-01-01 17:40:29 +01:00
Devin J. Pohly f6410abd43 X11: release all keys/buttons when window loses focus 2012-12-31 22:15:49 -05:00
Devin J. Pohly 655af974a6 simplify window mapping loop 2012-12-31 21:27:16 -05:00
Devin J. Pohly d9f61d919c answer some commented questions 2012-12-31 19:31:38 -05:00
Devin J. Pohly 301bc1428b allow custom everything in user profile directory 2012-12-30 16:48:17 -05:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jason Felds a15cbc431d War on -Werror, part 14: More hodgepodge. 2012-12-27 12:45:04 -05:00
Jason Felds e86aeb66a8 war on -Werror, part 10: more informals. 2012-12-27 11:01:51 -05:00
Jason Felds e01537405f war on -Werror, part 8: more informals.
General guide: if the parameter name and its typings
match almost exactly, the name goes away.
Otherwise, it's commented out to allow for some
documentation.
2012-12-27 00:00:28 -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
Devin J. Pohly 7f4e97d72a fix one more unused warning 2012-12-26 23:08:51 -05:00
Devin J. Pohly 1acbf07466 war on -Werror, part 4: miscellany 2012-12-26 21:45:45 -05:00
Devin J. Pohly 58aa480016 war on -Werror, part 3: narrowing conversions 2012-12-26 21:12:12 -05:00
Colby Klein a6020c8b1d Shut up the PIUIO driver from leaving a warning all the time. 2012-12-09 02:45:41 -08:00
Colby Klein 83f745f95c Add comments. 2012-12-09 02:45:19 -08:00
Devin J. Pohly 07aa41e6ef add comments to clarify piuio inputdriver 2012-08-12 23:13:34 -04:00
Colby Klein fbada6f17f Add support for PIUIO Linux kernel driver, courtesy of djpohly. 2012-08-12 14:35:40 -07:00
Devin J. Pohly 92c7a7389c replace deprecated functions to fix build on ffmpeg 0.11.1
tested on static 0.10.2 as well and it works just fine.
2012-08-02 17:38:08 -04:00
AJ Kelly db0fc91d8b the rest of the GTK splash.png fix form djpohly 2012-06-14 14:54:20 -05:00
Aldo Fregoso 0e2cc939d6 Mac OS X DialogDriver was lacking OKCancel, I also added YesNo Dialog to every platform. 2012-05-20 22:19:27 -05:00
AJ Kelly ea0a854065 [LoadingWindow_Gtk] Actually resolve the path to the Splash file. [djpohly] 2012-05-17 12:08:05 -05:00
AJ Kelly 201d6e8029 another patch from djpohly, this time to silence some pointless log output 2012-05-03 14:06:41 -05:00
Thai Pangsakulyanont db80cf5e22 make MovieTexture_FFMpeg use AVIO, so it's possible for us to later update to newer versions of ffmpeg.
- untested on Windows. need someone to test it.
- the ffmpeg revision that is used on Mac is f139838 (one tagged with 0.10.2)
2012-04-25 00:20:13 +07:00
Flameshadowxeroshin 64e74f4824 Fix some nasty behavior with ALSA thanks to custos-mundi (of irc.freenode.net #alsa) and /// 2012-04-07 21:21:18 +00:00