Steve Checkoway
|
ff32e1ff9d
|
Add support for the hat switch. This only works if the hid device uses 3 or 7 values plus a null position for the hat and furthermore, the minimum value needs to correspond to up with increasing values moving clockwise.
|
2007-01-18 12:30:35 +00:00 |
|
Steve Checkoway
|
44baf35a73
|
Actually check that PumpDevices have the correct vid/pid.
|
2007-01-18 07:18:41 +00:00 |
|
Chris Danford
|
87505ec245
|
change win32 lrintf to match other archs
|
2007-01-05 01:26:53 +00:00 |
|
AJ Kelly
|
c8d83fc337
|
revert; lroundf isn't needed with latest changes
|
2007-01-03 05:13:28 +00:00 |
|
Steve Checkoway
|
4517499f0f
|
lroundf -> lrintf.
|
2007-01-03 05:05:28 +00:00 |
|
AJ Kelly
|
92e5ea3a9f
|
added #define NEED_LROUNDF
|
2007-01-03 04:51:45 +00:00 |
|
Steve Checkoway
|
eb0b26cd82
|
Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower.
|
2007-01-02 23:36:44 +00:00 |
|
Glenn Maynard
|
21de36d26a
|
fix warning
|
2006-12-19 01:42:26 +00:00 |
|
Glenn Maynard
|
a612f19a40
|
specify graphics drivers
(This isn't the best place for this, but RageDisplay drivers probably aren't
destined for arch.)
|
2006-12-17 08:10:22 +00:00 |
|
Glenn Maynard
|
7e327ef5b8
|
unused
|
2006-12-17 08:04:26 +00:00 |
|
Steve Checkoway
|
768c25ed1b
|
Comment.
|
2006-12-11 13:31:10 +00:00 |
|
Steve Checkoway
|
02282d4a14
|
Loosen sse read restrictions. Tested.
|
2006-12-11 13:26:12 +00:00 |
|
Steve Checkoway
|
0c539b83ce
|
Loosen altivec read restrictions. The src buffer still needs to be 16 byte aligned but the dest buffer only needs to be aligned for the type (2 bytes for int16_t and 4 for float).
|
2006-12-11 13:02:57 +00:00 |
|
Steve Checkoway
|
d5e67ae508
|
The data is not unaligned, it will be aligned at the boundary natural for its size or larger. (Typically at a sizeof(void*) boundary.) It is misaligned in the sense that it isn't at the 16 byte boundary we require.
|
2006-12-11 10:33:35 +00:00 |
|
Steve Checkoway
|
5e87581379
|
No need to assert, these are only used in once place and the preconditions are checked. Remove dependence on RageUtil (and global.h). Makes this easier to test.
|
2006-12-10 13:24:06 +00:00 |
|
Steve Checkoway
|
c850d0d86c
|
Remove bogus assert. As long as dest is on a 4 byte boundary and src is on a 2 byte boundary (which gcc will ensure unless you're casting into to those types), this works correct. (Retested.)
|
2006-12-10 11:08:17 +00:00 |
|
Steve Checkoway
|
1cf1734d5a
|
Fix window bug.
|
2006-12-10 10:20:32 +00:00 |
|
Vecais Dumais Laacis
|
1a2e57cb91
|
* using SM_main instead of main
* added some dummy functions in release mode (getenv, system, _popen, _pclose) which doesnt exist in libc.lib
|
2006-12-07 14:16:31 +00:00 |
|
Steve Checkoway
|
172033715f
|
Only one thing opens a connection, the low level window. Anything depending on it can check directly if it is open or not. A native X11 loading window would probably use it as well and we wouldn't want to close and reopen the Display. hmm.
|
2006-12-07 13:09:20 +00:00 |
|
Steve Checkoway
|
027b94d2c1
|
Use descriptive names.
|
2006-12-07 13:00:30 +00:00 |
|
Steve Checkoway
|
d1d9f1762e
|
Keep the event mask across window recreates. Close the display, I did not mean to remove that.
|
2006-12-07 12:54:24 +00:00 |
|
Steve Checkoway
|
a6016a9c03
|
Simplify. Only have a single window creation function.
|
2006-12-07 10:51:17 +00:00 |
|
Steve Checkoway
|
745fc68b9d
|
Simplify.
|
2006-12-07 08:41:54 +00:00 |
|
Steve Checkoway
|
19cee71210
|
Return values not used.
|
2006-12-07 08:31:40 +00:00 |
|
Steve Checkoway
|
0c21055858
|
Nothing returns false.
|
2006-11-28 17:57:16 +00:00 |
|
Glenn Maynard
|
1e21152174
|
fix compile
|
2006-11-02 03:47:02 +00:00 |
|
Steve Checkoway
|
e3e5cf77e5
|
Don't include Foreach.h in RageUtil.h which does not use it. Instead, include it in the individual files that actually use it.
|
2006-11-01 11:18:46 +00:00 |
|
Jason Felds
|
3c02509b9e
|
Well, if VC6 is removed, might as well remove the VC6 #ifs then.
|
2006-10-19 23:42:40 +00:00 |
|
Jason Felds
|
386bbc23e2
|
Revert: need to start clean again perhaps.
|
2006-10-19 04:38:13 +00:00 |
|
Jason Felds
|
332183a78d
|
Add pragma for warning C4652 under VC8. (Should this be pragmaed for all VC's?)
|
2006-10-19 04:16:09 +00:00 |
|
Glenn Maynard
|
001a57c2e1
|
exchange one nonportable API for another, since newer Linux kernels changed their mind
|
2006-10-18 19:48:20 +00:00 |
|
Steve Checkoway
|
3ef367e613
|
fix
|
2006-10-14 21:59:51 +00:00 |
|
Steve Checkoway
|
3e913de2d2
|
Fix warning coming from system headers. Add a newline in error messages that will likely never be emitted...
|
2006-10-13 05:11:54 +00:00 |
|
Glenn Maynard
|
90c5d6fe99
|
move XML loading and saving into XmlFileUtil
update
|
2006-10-02 05:56:11 +00:00 |
|
Steve Checkoway
|
5bda054b50
|
Fix enum.
|
2006-09-28 06:28:14 +00:00 |
|
Renaud Lepage
|
d3338b2cc7
|
windows.h isn't present on xbox
|
2006-09-19 03:25:55 +00:00 |
|
Glenn Maynard
|
03ce23e9ea
|
ARRAYLEN
|
2006-09-18 23:27:09 +00:00 |
|
Glenn Maynard
|
b77024f3bc
|
include
|
2006-09-18 22:45:42 +00:00 |
|
Glenn Maynard
|
d7e5ea675f
|
split windows-specific stuff out of RageUtil
|
2006-09-18 22:31:29 +00:00 |
|
Glenn Maynard
|
fba01c798c
|
split directx-specific stuff out of RageUtil
|
2006-09-18 22:20:54 +00:00 |
|
Glenn Maynard
|
8ad2856209
|
GetBuf -> GetBuffer
|
2006-09-18 21:46:39 +00:00 |
|
Renaud Lepage
|
0a872c8c77
|
Code cleanup.
|
2006-09-15 15:01:50 +00:00 |
|
Renaud Lepage
|
7f4797e7af
|
Secondary fix for the PAL and Video values. This is more clean, while as working as the previous commit.
|
2006-09-15 14:54:43 +00:00 |
|
Renaud Lepage
|
12a7250def
|
Feature patch: Xbox Crash Handling.
Seems that the Xbox had debugger detection routines and a way to have a Debug Break. this patch activates it.
|
2006-09-15 14:06:27 +00:00 |
|
Steve Checkoway
|
125fccc33c
|
Simplify. Don't pass the button pressed bool along. This can be derived from the level every time.
|
2006-09-15 08:31:53 +00:00 |
|
Steve Checkoway
|
a0e54b55e9
|
Support rotations. I'm not sure what it means to rotate left, right, etc., so I just picked left to be negative values to be left/up and positive values to be right/down.
Use make_pair.
|
2006-09-15 08:04:21 +00:00 |
|
Steve Checkoway
|
6e8d262f8f
|
Simplify and optimize by building a reverse lookup table the first time it is called.
|
2006-09-14 07:21:44 +00:00 |
|
Steve Checkoway
|
8612011f08
|
Add license.
|
2006-09-13 10:22:37 +00:00 |
|
Steve Checkoway
|
af2bd3b70a
|
Launching via the Finder includes a single argument that looks like: -psn_0_3801089. there's some mapping between this number and pids but I don't know what off hand (or why it's even used at all). Don't pass it along to our main().
|
2006-09-13 10:20:25 +00:00 |
|
Steve Checkoway
|
4f83f9b9ae
|
Cleanup.
|
2006-09-13 09:57:14 +00:00 |
|