Steve Checkoway
|
ec31f8c1ec
|
update release script.
|
2007-02-12 06:55:16 +00:00 |
|
Steve Checkoway
|
02fd0dc140
|
Not virtual.
|
2007-02-12 04:44:05 +00:00 |
|
Steve Checkoway
|
d3c116a178
|
Separate song and player mods. Set fall off for Battle.
|
2007-02-11 04:47:16 +00:00 |
|
Steve Checkoway
|
38cd50ffcc
|
Separate song and player mods.
|
2007-02-11 04:46:45 +00:00 |
|
Steve Checkoway
|
1cb3fdc3d9
|
Separate forced song and player mods.
|
2007-02-11 04:46:30 +00:00 |
|
Steve Checkoway
|
923aba9d40
|
Bind GetDefaultSongOptions.
|
2007-02-11 04:22:32 +00:00 |
|
Steve Checkoway
|
ccef45d77f
|
We have assets here. No need for a dummy file to keep the directory from being pruned any longer.
|
2007-02-11 02:29:21 +00:00 |
|
Steve Checkoway
|
b88d415b52
|
Style.
|
2007-02-11 01:51:44 +00:00 |
|
Steve Checkoway
|
80140f2168
|
atomic writes.
|
2007-02-11 01:30:51 +00:00 |
|
Steve Checkoway
|
2d1cd1de50
|
When changing resolutions, SwitchThemeAndLanguage was being called after clearing all subscribes but STAL wasn't reloading them because nothing had changed. Reload them explicitly if the theme doesn't change.
I'm not sure what the rationale behind taking this code path for changing the resolution as it seems to have nothing to do with the theme.
|
2007-02-11 01:19:30 +00:00 |
|
Steve Checkoway
|
735d9bfac5
|
flat has not been updated.
|
2007-02-11 00:37:15 +00:00 |
|
Steve Checkoway
|
b3d52febb4
|
PowerPC linux build.
|
2007-02-09 01:13:51 +00:00 |
|
Steve Checkoway
|
450ebed713
|
Remove timing code. There is likely more to optimize here. The current break down for time spent is, 51.9% in XmlFileUtil::SaveToFile (all of that in GetXMLInternal), 23.7% in RadarValues::CreateNode (with half of that in ssprintf alone!), 12.8% in XNode::Free and the rest is spread around pretty evenly. For reference, before these changes, it was taking about 3.5 seconds to write my catalog.xml and now it's taking under 1.5 (that's .8 seconds for writing and .5 for creating the XNodes for Songs, if anyone was wondering).
|
2007-02-04 13:36:16 +00:00 |
|
Steve Checkoway
|
424f04219b
|
Simplify. There is no need for a SAFE_DELETE since attribute and children data structures are clear()ed.
|
2007-02-04 13:23:24 +00:00 |
|
Steve Checkoway
|
eebc1e9f3c
|
Simplify.
|
2007-02-04 10:57:09 +00:00 |
|
Steve Checkoway
|
69b4f62a7a
|
No need for this to be split out.
|
2007-02-04 10:49:42 +00:00 |
|
Steve Checkoway
|
6f312b4810
|
Put StepMania.app in the main directory no matter what the configuration is. (I'm not sure how this got changed.)
|
2007-02-04 10:45:25 +00:00 |
|
Steve Checkoway
|
6d2fa387d8
|
Cut xml writing time down by a third for catalog.xml by not concatenating strings before calling Write.
|
2007-02-04 10:44:45 +00:00 |
|
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 |
|