Clownacy
9a79041c6c
Optimise the Lanczos resampler a little
...
Apprently floating-point divisions are slower than multiplications
2020-08-31 17:28:35 +01:00
Clownacy
48386d443b
Add optional Lanczos filter to the audio mixer
...
Should be higher-quality than the linear-interpolator, but also much
slower, so it's disabled by default.
2020-08-31 16:07:25 +01:00
Clownacy
39067057c1
Fix some code formatting
2020-08-29 18:10:59 +01:00
Clownacy
40f78323df
Update a URL to CSE2's current name
2020-08-29 17:11:51 +01:00
Clownacy
71970c1f74
Merge branch 'accurate' into portable
2020-08-29 17:11:28 +01:00
Clownacy
20cbb8cc73
Unlist the dead branches, and reformat the readme
...
Now actually readable in a text editor
2020-08-29 17:04:01 +01:00
Clownacy
845ee1b96f
Don't store subsample offset as long
...
Only a short is needed.
2020-08-25 02:44:54 +01:00
Clownacy
c8e1e7aa0a
Another authentic struct name
2020-08-11 00:24:10 +01:00
Clownacy
e41d4472ec
Another authentic struct name
2020-08-11 00:24:10 +01:00
Clownacy
a2ecd75271
Restore an original struct name
...
This was buried in the Linux port
2020-08-11 00:24:04 +01:00
Clownacy
d12ee0813f
Remove some trailing commas
2020-08-05 22:09:05 +01:00
Clownacy
90d57b7d1b
More direction macros
2020-08-05 22:06:53 +01:00
Clownacy
4c758bb926
Apply more direction macros
2020-08-05 22:03:51 +01:00
Clownacy
a305151302
Apply some direction macros
2020-08-05 21:47:50 +01:00
Clownacy
a3692d1c40
Add Caret enums
2020-08-05 21:45:59 +01:00
Clownacy
d41b3993f5
Document caret stuff some more
2020-08-05 20:55:50 +01:00
Clownacy
8adf593403
Caret documentation/cleanup
2020-08-05 19:51:06 +01:00
Clownacy
02295489d2
More background documentation
2020-08-05 19:42:18 +01:00
Clownacy
a18be9c450
Document background stuff a little more
2020-08-05 19:30:13 +01:00
Clownacy
b016b22a1e
Do some NPC documentation
2020-08-05 16:56:26 +01:00
Clownacy
98c2a8880e
Convert NPC 0's rects to decimal
2020-08-05 16:56:26 +01:00
Clownacy
6a1d49d6b1
Fix sound enum typo
2020-08-05 16:56:25 +01:00
Clownacy
ea9952c2d0
Clean-up PixTone code a little
...
This is still ASM-accurate
2020-08-05 16:56:25 +01:00
Clownacy
6fd6a416cd
Fix another out-of-bounds array access
...
This one involves the Spur.
2020-07-15 16:51:11 +01:00
Clownacy
789d4fb0ea
Fix another out-of-bounds array access
...
This one involves the Spur.
2020-07-15 16:35:05 +01:00
Clownacy
10caae5e74
Fix Travis script
...
I also apparently managed to speed up macOS compilation from 13
minutes to 5.
2020-07-13 20:30:48 +01:00
Clownacy
808a437ec2
Fix dependency on libbrotlidec.dll
...
FreeType must have added a new dependency in 2.10.2
2020-07-13 20:22:04 +01:00
Clownacy
da5d7982c6
Improve SDL2 event handling accuracy
...
Now the event loop doesn't run constantly when the window isn't
focussed. This should match the original WinAPI code's behaviour.
2020-07-13 17:31:30 +01:00
Clownacy
a392034fd6
Fix input lag in SDL2 backend
...
If you spam keyboard inputs, they'll eventually lag behind. This was
caused by improperly porting the WinAPI logic to SDL2 and CSE2's
fancy backend-abstraction system.
2020-07-13 00:19:27 +01:00
Clownacy
1582af91cf
Replace more float logic with integer-only
...
I hate floats >:(
2020-07-09 01:09:19 +01:00
Clownacy
c7a3e9c308
Comment-out unused variable
2020-07-08 20:43:56 +01:00
Clownacy
6e486d9226
Er, actually remove those dead includes
2020-07-08 20:00:49 +01:00
Clownacy
9c056f6882
Add option to make DoConfig clone use OpenGL 2.1
...
This way, I can use it in my Windows 7 VM, where OpenGL 3.2 isn't
available.
2020-07-08 19:33:58 +01:00
Clownacy
cebd07a939
Update imgui to latest table branch commit
2020-07-08 19:33:55 +01:00
Clownacy
ab82f014ae
Avoid some float logic
...
Also shuts up some VS2019 warnings
2020-07-08 19:33:53 +01:00
Clownacy
8b854a0c95
Don't use Windows.h in WindowsWrapper.h
...
The need for this was eliminates ages ago, when I remove the
WindowsWrapper.h dependencies from the backends (it should only be
used by core Cave Story code).
This should eliminate any future issues with Windows.h causing
name-collisions.
2020-07-08 19:33:52 +01:00
Clownacy
565c79a4ce
Fix GLFW3 software renderer in VS2019
...
GLFW will include these headers for us properly
2020-07-08 19:33:49 +01:00
Clownacy
adb09e19b7
Merge branch 'accurate' into portable
2020-07-08 19:42:28 +01:00
Clownacy
f7a8a260a4
Added OTHER_RECT struct
...
Unifies the weird not-RECTs
2020-07-08 19:30:11 +01:00
Clownacy
bfc255478c
Remove unit-conversion macros
2020-07-08 19:15:11 +01:00
Clownacy
13985fb349
Added SoundMode enum
...
Controls whether a PlaySoundObject call start, stops, or loops a
sound
2020-07-08 18:52:32 +01:00
Clownacy
53c8d2e55c
Remove invalid comment
2020-07-08 17:01:44 +01:00
Clownacy
ccf79e2559
Code style tweak
2020-07-08 16:54:31 +01:00
Clownacy
5652756129
Deobfuscate some 'tiles-to-units' calculations
2020-07-08 16:46:28 +01:00
Clownacy
b6af751f7b
Convert NPC 129's rects to decimal
2020-07-08 16:41:49 +01:00
Clownacy
92ce7aeb5d
Use fixed-size types for the WAV header struct
...
This matches the WAVEFORMATEX struct
2020-07-08 16:35:09 +01:00
Clownacy
1733b58b3a
Merge branch 'accurate' into portable
2020-07-08 03:06:28 +01:00
Clownacy
d6bbb013f9
Deobfuscate some BOOLs
2020-07-08 02:57:00 +01:00
Clownacy
81641c82f3
Fix InitSoundObject
2020-07-08 02:37:19 +01:00
Clownacy
04fca693ad
Try to avoid more Windows.h name collisions
...
I was hearing that DrawText would conflict.
2020-07-08 02:27:37 +01:00