Commit graph

31 commits

Author SHA1 Message Date
Clownacy
71970c1f74 Merge branch 'accurate' into portable 2020-08-29 17:11:28 +01:00
Clownacy
ea9952c2d0 Clean-up PixTone code a little
This is still ASM-accurate
2020-08-05 16:56:25 +01:00
Clownacy
8880c599b4 Merge branch 'accurate' into portable 2020-07-02 14:46:06 +01:00
Clownacy
143f3b9646 Backport header improvements from #133
Thanks to GabrielRavier for these
2020-07-02 14:42:53 +01:00
Clownacy
1016411fa4 Cleanup 2020-04-06 13:37:53 +01:00
Gabriel Ravier
5bd70eb2db Removed ATTRIBUTE_OPTIMIZE from MakePixelWaveData
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-02-13 19:55:39 +01:00
Gabriel Ravier
6ccfe063ce Made MakePixelWaveData use ffast-math 2020-02-13 19:55:39 +01:00
Gabriel Ravier
65db12baaa Started trying to optimize MakePixelWaveData 2020-02-13 19:55:39 +01:00
Clownacy
9cbaa0be00 Merge branch 'accurate' into portable 2020-01-08 13:16:21 +00:00
Clownacy
10a014dabd More-accurate PixTone.cpp variable arrangement
Also added the Linux port's optimisation, for anyone that's curious
2020-01-07 21:45:43 +00:00
Clownacy
80e502b582 Merge branch 'accurate' into portable 2019-12-03 19:29:04 +00:00
Clownacy
0af9bcc89b Fix ASM-inaccuracy
I have no idea how that snuck through.
2019-12-03 19:27:26 +00:00
Clownacy
16b9f1f0a4 Clean-up PixTone.cpp some more 2019-11-21 19:50:20 +00:00
Clownacy
0ec5d85d56 Merge branch 'accurate' into portable 2019-11-17 18:30:44 +00:00
Clownacy
e04d3b8592 Clean-up PixTone.cpp 2019-11-14 01:47:51 +00:00
Clownacy
22c967ca3a Add a replication of MSVC2003's rand() algorithm
This actually affects how the game sounds. Seriously, listen to the
dialogue boxes. Now it matches the original.
2019-09-04 19:23:35 +00:00
Clownacy
451945e80c Ripped out SDL2, and begun made WinMain ASM-accurate
Almost there... see #74.
2019-09-01 14:39:16 +01:00
Gabriel Ravier
11e25b5aa5
Fixed indentation by using spaces instead of tabs when appropriate
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-06-14 20:56:48 +02:00
Gabriel Ravier
5ccb7dfa93
Reformatted Pixtone.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-06-14 16:52:53 +02:00
Clownacy
c80b593a3f Some #include fixes
Finally figured out how to get include-what-you-use working
2019-06-06 18:44:28 +00:00
Clownacy
421a3c46cd Made signed chars explicit
The default sign varies between hardware.

Text seems to always be ambiguously 'char', so I've left those
2019-05-06 20:04:47 +01:00
Clownacy
f3a2c96ce6 Made PixTone.cpp ASM-accurate
I DID IT, SQUIDWARD

But really, that was annoying to figure out. Even though I already know
the way the stack frame is sorted has something to do with alphabetical
order, it's still affected by the order of declaration too.
2019-04-08 15:54:56 +01:00
Clownacy
01ddc5e923 Fixed some warning MSVC2003 was giving in /W3 mode 2019-02-23 21:45:57 +00:00
Clownacy
cad4518d30 Fixed some portability issues (tested on a Pi) 2019-02-11 14:42:24 +00:00
cuckydev
9bd73d5ed8 rep_srand 2019-02-10 10:09:30 -05:00
Clownacy
a43b458e67 Made PixTone use the new rand function 2019-02-10 15:04:16 +00:00
Clownacy
61c75c0ffb Redecompiled PixTone.cpp
Now it's way more accurate. Even makes identical ASM.
2019-02-10 14:59:39 +00:00
cuckydev
113c3fc124 Made SFX loading more similar to the original 2019-01-31 13:01:09 -05:00
Clownacy
676b0f5894 Misc Linux fixes 2019-01-28 17:41:03 +00:00
cuckydev
7fa14698f0 ADDED OUCHIE 2019-01-27 14:54:05 -05:00
cuckydev
f43a3c1130 Org and sound 2019-01-19 21:23:04 -05:00