Steve Checkoway
|
169d7c8b44
|
Greatly decrease time to write catalog.xml by pulling THEME->GetMetricB out of the inner loop and passing it along to RadarValues. (Also don't copy the vector of Song*.) The time to generate the XNode for Songs was cut down by a fifth (from 2.5 seconds to .5 seconds for me, fully optimized).
|
2007-02-04 09:35:02 +00:00 |
|
Steve Checkoway
|
e17ccc6bdb
|
Allow quitting before creating the main window.
|
2007-02-04 08:17:22 +00:00 |
|
Steve Checkoway
|
6223d48554
|
Copyright years.
|
2007-02-04 08:15:47 +00:00 |
|
Steve Checkoway
|
5e15696c59
|
Yes.
|
2007-02-04 08:07:26 +00:00 |
|
Steve Checkoway
|
ea316d22a0
|
The version_time variable is itself const. I.e., constant pointer to constant data.
|
2007-02-04 02:08:25 +00:00 |
|
Steve Checkoway
|
113a4f0eca
|
extern const as per c++98 7.1.5.2.
|
2007-02-04 02:04:30 +00:00 |
|
Steve Checkoway
|
af16c8df97
|
Use the perl script.
|
2007-02-04 01:35:54 +00:00 |
|
Steve Checkoway
|
ae8f79a2ed
|
Do not call perl from a bash script. Whatever required this before as since been fixed.
|
2007-02-04 01:35:37 +00:00 |
|
Steve Checkoway
|
4d27ec506f
|
Follow StepMania.cpp and use unsigned long.
|
2007-02-04 01:29:17 +00:00 |
|
Steve Checkoway
|
a9b94093bd
|
CRASH_HANDLER
|
2007-02-03 06:37:36 +00:00 |
|
Steve Checkoway
|
d14323bd4a
|
Implement BACKTRACE_METHOD_X86_DARWIN. It isn't enabled since I can't test it though. There's a fair amount of duplicated code with the x86 linux version. This could be refactored but since I don't own a single x86 machine...
|
2007-02-02 13:58:17 +00:00 |
|
Steve Checkoway
|
631a595bce
|
Too noisy. This was only for debugging anyway. (Finding stuff in log.txt is a pain.)
|
2007-02-02 11:33:11 +00:00 |
|
Steve Checkoway
|
58715e319f
|
It seems that gcc decided that even though _mm_load_ps and _mm_loadu_ps are static inline functions calling a gcc builtin, it should emit a call to them because they were used as template parameters. Oh well, the code is short enough to just copy.
|
2007-01-28 23:12:06 +00:00 |
|
Steve Checkoway
|
1bb3190d62
|
Year.
|
2007-01-28 22:27:52 +00:00 |
|
Steve Checkoway
|
3813d5dbd2
|
Remove unneeded header and comment.
|
2007-01-28 22:27:25 +00:00 |
|
Steve Checkoway
|
75f7b2d9dc
|
Simplify.
|
2007-01-28 22:26:49 +00:00 |
|
Steve Checkoway
|
1931be330b
|
Sort of update the vector test for floating point. Still a lot of cruft in there.
|
2007-01-27 17:14:14 +00:00 |
|
Steve Checkoway
|
f4d616e7a2
|
Update for floating point. No need to bother with the integer read because OS X doesn't use it.
|
2007-01-27 17:09:15 +00:00 |
|
Steve Checkoway
|
f3a489aa01
|
Removing some comments?
|
2007-01-27 13:30:51 +00:00 |
|
Steve Checkoway
|
1f67599508
|
Simplify.
|
2007-01-27 13:29:36 +00:00 |
|
Steve Checkoway
|
a579593c52
|
Disable vector code for now. It needs to be updated for floats.
|
2007-01-27 13:24:39 +00:00 |
|
Steve Checkoway
|
b0dcd6c57a
|
int -> float.
|
2007-01-27 13:24:12 +00:00 |
|
Steve Checkoway
|
3b39d09843
|
Update for Signal handler api change.
|
2007-01-25 11:44:12 +00:00 |
|
Steve Checkoway
|
eb9016eda3
|
Add files.
|
2007-01-25 11:43:30 +00:00 |
|
Steve Checkoway
|
2f8079fae9
|
Remove unused files. All targets build (including no mp3 and no networking).
|
2007-01-24 10:27:35 +00:00 |
|
Steve Checkoway
|
c45bad110f
|
Add/remove files. Change options to not use common blocks.
|
2007-01-24 09:25:46 +00:00 |
|
Steve Checkoway
|
8b2c07f4be
|
Fix compile on ppc.
|
2007-01-24 09:25:12 +00:00 |
|
Steve Checkoway
|
7a296e8bc8
|
Fix template. I'm not sure it's really any less ugly, but at least it's more descriptive, sort of.
|
2007-01-20 09:06:05 +00:00 |
|
Steve Checkoway
|
7b3d6b2465
|
Add files.
|
2007-01-20 06:58:06 +00:00 |
|
Steve Checkoway
|
2407d46dbf
|
Fix compile.
|
2007-01-20 06:55:23 +00:00 |
|
Steve Checkoway
|
bae94ed8ab
|
Fix warning, fix compile.
|
2007-01-19 01:42:44 +00:00 |
|
Steve Checkoway
|
ccdf81b295
|
Remove file.
|
2007-01-18 12:57:10 +00:00 |
|
Steve Checkoway
|
2984456ba3
|
Simplify.
|
2007-01-18 12:46:02 +00:00 |
|
Steve Checkoway
|
cde616c5e8
|
Unused header.
|
2007-01-18 12:45:35 +00:00 |
|
Steve Checkoway
|
3391f98d52
|
Unused header and rearranged them.
|
2007-01-18 12:44:45 +00:00 |
|
Steve Checkoway
|
2207bbec54
|
Er, character encoding of the comment, maybe?
|
2007-01-18 12:41:43 +00:00 |
|
Steve Checkoway
|
4f228d3a30
|
Use IsJoystick() and IsPump().
|
2007-01-18 12:35:13 +00:00 |
|
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 |
|
Steve Checkoway
|
ca92299c23
|
Sort.
|
2007-01-16 06:36:09 +00:00 |
|
Steve Checkoway
|
c977bf15be
|
Add files.
|
2007-01-16 06:35:10 +00:00 |
|
Steve Checkoway
|
0e8e618f78
|
Fix warnings. iterator vs. const_iterator is the whole reason this template is so ugly.
|
2007-01-16 00:29:22 +00:00 |
|
Steve Checkoway
|
b0b68212c7
|
Remove unused.
|
2007-01-13 05:18:44 +00:00 |
|
Steve Checkoway
|
800e4d4c50
|
Revert to the strange %i.
|
2007-01-04 09:49:11 +00:00 |
|
Steve Checkoway
|
d7de914a77
|
Fix crash when pushing other buttons. I don't really like this. Some of the paths through StepStrumHopo can handle col = -1 but others lead to crashes. Maybe it should be refactored so that all code touching col is separate from the Strum code where col is -1.
|
2007-01-03 05:40:19 +00:00 |
|
Steve Checkoway
|
ba2778bbeb
|
Invalid buttons make invalid inputs.
|
2007-01-03 05:06:28 +00:00 |
|
Steve Checkoway
|
55f5e88e0a
|
unneeded.
|
2007-01-03 05:05:54 +00:00 |
|
Steve Checkoway
|
4517499f0f
|
lroundf -> lrintf.
|
2007-01-03 05:05:28 +00:00 |
|
Steve Checkoway
|
b074f49334
|
Implementation of lroundf, if needed.
|
2007-01-02 23:43:55 +00:00 |
|
Steve Checkoway
|
c4284cb792
|
Check for lroundf.
|
2007-01-02 23:42:49 +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 |
|
Steve Checkoway
|
7a6eabd616
|
RageSoundDriver.
|
2007-01-02 23:23:30 +00:00 |
|
Steve Checkoway
|
7cd0ea6bcb
|
Add/remove files.
|
2006-12-30 04:32:43 +00:00 |
|
Steve Checkoway
|
ea988bab1c
|
Remove old, buggy driver.
|
2006-12-30 04:31:55 +00:00 |
|
Steve Checkoway
|
bdda436ce7
|
Remove old buggy driver.
|
2006-12-30 04:31:06 +00:00 |
|
Steve Checkoway
|
941c11b55e
|
Windows can't handle standard format specifiers...
|
2006-12-30 04:27:36 +00:00 |
|
Steve Checkoway
|
c7baf0f7bd
|
Initialize to zero.
|
2006-12-30 04:23:24 +00:00 |
|
Steve Checkoway
|
45659961ce
|
Casting to ints produces incorrect results when the number is larger than 2^32.
|
2006-12-30 04:16:21 +00:00 |
|
Steve Checkoway
|
4d2f534d45
|
Simplify.
|
2006-12-28 04:57:21 +00:00 |
|
Steve Checkoway
|
388c280824
|
Simplify.
|
2006-12-28 04:29:21 +00:00 |
|
Steve Checkoway
|
39a2c9647e
|
Reference.
|
2006-12-28 04:03:52 +00:00 |
|
Steve Checkoway
|
f3fcf9c083
|
Name cleanup.
|
2006-12-28 03:01:13 +00:00 |
|
Steve Checkoway
|
f7e7bea9a8
|
Simplify.
|
2006-12-28 03:00:20 +00:00 |
|
Steve Checkoway
|
23645ba30b
|
Use references rather than pointers.
|
2006-12-28 02:38:56 +00:00 |
|
Steve Checkoway
|
0022407a7a
|
I think this handles repeat events correctly now. It is hard for me to test it though.
|
2006-12-15 05:51:22 +00:00 |
|
Steve Checkoway
|
66e3eaa3e9
|
Fix crash on extra stage but I'm a little concerned that this is just covering up the real bug.
|
2006-12-12 12:24:27 +00:00 |
|
Steve Checkoway
|
ebbd138a76
|
Cleanup.
|
2006-12-12 12:11:24 +00:00 |
|
Steve Checkoway
|
eab92a7ded
|
Tune, align loops.
|
2006-12-12 11:45:27 +00:00 |
|
Steve Checkoway
|
06bb8c9582
|
Use the float interface.
|
2006-12-11 13:55:05 +00:00 |
|
Steve Checkoway
|
996385f795
|
All subclasses to get float data.
|
2006-12-11 13:54:39 +00:00 |
|
Steve Checkoway
|
e7832c9ad4
|
Mix using the vector unit on OS X.
|
2006-12-11 13:31:51 +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
|
6c9632bdc6
|
Test misaligned reads.
|
2006-12-11 13:03:27 +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
|
1adb0fcc87
|
Add memory alignment hacks so I can run the test on x86 linux. The sse code is portable.
|
2006-12-10 13:55:18 +00:00 |
|
Steve Checkoway
|
84dc0ea84c
|
Simplify compilation instructions.
|
2006-12-10 13:24:30 +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
|
1c2fa7eff6
|
Ensure that the precondition is satisfied before calling those functions. Perhaps I'll fix the code to handle misaligned addresses at some point.
|
2006-12-10 13:13:47 +00:00 |
|
Steve Checkoway
|
afa3284614
|
Intel instructions. SSE code tested and works.
|
2006-12-10 13:07:27 +00:00 |
|
Steve Checkoway
|
835bac88dd
|
Test other read function while I am at it.
|
2006-12-10 12:07:25 +00:00 |
|
Steve Checkoway
|
7f02063b35
|
Add test for vector implementation of the sound mix buffer functions.
|
2006-12-10 11:38:44 +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 |
|
Steve Checkoway
|
95a08d5740
|
Add files.
|
2006-12-10 09:01:43 +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
|
0e38878528
|
We can be sure that if the low level window is going to be created, it will already have been created so we need only set the event masks here and they will be preserved across window recreations.
|
2006-12-07 12:56:22 +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
|
32e20beefc
|
manager -> handler
|
2006-12-07 12:35:19 +00:00 |
|
Steve Checkoway
|
f299862e19
|
Update comment.
|
2006-12-07 12:33:39 +00:00 |
|
Steve Checkoway
|
d92dcfc6f7
|
Delete the gl contexts when we create new ones or shut down.
|
2006-12-07 12:03:48 +00:00 |
|
Steve Checkoway
|
93be46923a
|
Simplify. Do not use Open/CloseMask for the MapNotify events.
|
2006-12-07 11:51:42 +00:00 |
|
Steve Checkoway
|
a1ae4ce45a
|
Improve readability by removing all X11Helper::s.
|
2006-12-07 11:00:24 +00:00 |
|
Steve Checkoway
|
a62c3a88b1
|
Update. Make sure all windows are destroyed.
|
2006-12-07 10:53:50 +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
|
e03934c21f
|
Do not rebuild the lookup table each time the function is called.
|
2006-12-07 08:17:18 +00:00 |
|