cave-story-solaris/src
Clownacy 7f7553bef2 An accuracy improvement in Triangle.cpp
This one's weird: it doesn't affect the actual generation of ASM in
the function, but rather it affects the ASM of sinf and cosf.

You see, sinf and cosf are static - they're built right into the EXE.
Since the previous code used cosf and sinf, they were embedded into
the EXE, and InitTriangleTable would call them directly.

However, this isn't what the original EXE does: instead,
InitTriangleTable calls an intermediary function, that in turn calls
the real cosf and sinf. Turns out this strange code generation is
caused by calling cos and sin instead of cosf and sinf, but still
using float parameters.
2019-09-05 17:04:07 +01:00
..
ArmsItem.cpp PATH_LENGTH is actually Windows's MAX_PATH 2019-08-31 01:44:53 +01:00
ArmsItem.h Made ArmsItem.cpp ASM-accurate 2019-02-19 00:18:32 +00:00
Back.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Back.h Made Back.cpp about as ASM-accurate as I can make it 2019-02-19 00:50:16 +00:00
Boss.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
Boss.h Rearranged #includes 2019-02-18 21:30:22 +00:00
BossAlmo1.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossAlmo1.h Added Core and more NPCs 2019-02-07 14:08:53 +00:00
BossAlmo2.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossAlmo2.h Added Undead Core and more NPCs 2019-02-09 14:47:20 +00:00
BossBallos.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossBallos.h Added Ballos 2019-02-10 00:42:48 +00:00
BossFrog.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossFrog.h Added more NPCs and Balfrog 2019-02-04 18:58:30 +00:00
BossIronH.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
BossIronH.h Added IronHead and relevant NPCs 2019-02-07 15:10:46 +00:00
BossLife.cpp Made BossLife.cpp ASM-accurate 2019-04-06 13:43:35 +01:00
BossLife.h Made BossLife.cpp ASM-accurate 2019-04-06 13:43:35 +01:00
BossOhm.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossOhm.h Rearranged #includes 2019-02-18 21:30:22 +00:00
BossPress.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossPress.h Added Heavy Press 2019-02-09 23:21:27 +00:00
BossTwinD.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossTwinD.h More NPCs, and added the Sisters 2019-02-07 20:45:53 +00:00
BossX.cpp Code cleanup 2019-08-23 00:30:33 +00:00
BossX.h Added Monster X 2019-02-06 12:07:54 +00:00
Bug Fixes.txt Added a bugfix 2019-02-12 04:38:26 +00:00
BulHit.cpp Some #include fixes 2019-06-06 18:44:28 +00:00
BulHit.h Rearranged #includes 2019-02-18 21:30:22 +00:00
Bullet.cpp Corrected forgotten RECT formatting and made comment more accurate 2019-05-07 19:24:41 +02:00
Bullet.h Big ugly rework of WindowsWrapper.h 2019-06-20 20:06:55 +01:00
Caret.cpp Fix bad RECT declaration spacing 2019-05-07 18:48:18 +02:00
Caret.h Rearranged #includes 2019-02-18 21:30:22 +00:00
CommonDefines.h PATH_LENGTH is actually Windows's MAX_PATH 2019-08-31 01:44:53 +01:00
Config.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Config.h Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
Dialog.cpp Correct some WinAPI usage 2019-09-05 15:03:34 +01:00
Dialog.h Correct some WinAPI usage 2019-09-05 15:03:34 +01:00
Draw.cpp Fix incorrectly-ordered #include 2019-09-04 14:13:51 +00:00
Draw.h Ripped out SDL2, and begun made WinMain ASM-accurate 2019-09-01 14:39:16 +01:00
Ending.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Ending.h Rearranged some functions to match the original EXE 2019-08-29 00:00:57 +01:00
Escape.cpp Big ugly rework of WindowsWrapper.h 2019-06-20 20:06:55 +01:00
Escape.h Big ugly rework of WindowsWrapper.h 2019-06-20 20:06:55 +01:00
Fade.cpp Some #include fixes 2019-06-06 18:44:28 +00:00
Fade.h Made signed chars explicit 2019-05-06 20:04:47 +01:00
Flags.cpp Merge pull request #32 from GabrielRavier/makeFlagsMacros 2019-05-15 15:49:54 +00:00
Flags.h Made Flags.cpp actually ASM-accurate 2019-04-08 14:43:04 +01:00
Flash.cpp Made Flash.cpp actually ASM-accurate 2019-02-24 03:13:36 +00:00
Flash.h More NPCs, and added Flash.cpp 2019-01-31 13:26:59 +00:00
Frame.cpp Some #include fixes 2019-06-06 18:44:28 +00:00
Frame.h Rearranged #includes 2019-02-18 21:30:22 +00:00
Game.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Game.h Made Game.cpp ASM-accurate 2019-06-30 03:03:25 +01:00
Generic.cpp Correct some WinAPI usage 2019-09-05 15:03:34 +01:00
Generic.h Remove WINDOWS and NONPORTABLE 2019-09-04 02:14:15 +01:00
GenericLoad.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
GenericLoad.h Made GenericLoad.cpp ASM-accurate 2019-04-22 20:12:43 +01:00
Input.cpp ASM-accurate Main.cpp and added the various Windows menus 2019-09-01 18:15:12 +01:00
Input.h ASM-accurate Main.cpp and added the various Windows menus 2019-09-01 18:15:12 +01:00
KeyControl.cpp KeyControl tweaks 2019-08-21 18:38:59 +00:00
KeyControl.h KeyControl tweaks 2019-08-21 18:38:59 +00:00
Main.cpp Explain some Shift-JIS 2019-09-02 20:28:41 +01:00
Main.h Move SystemTask from WindowsWrapper.h to Main.h 2019-09-04 02:23:49 +01:00
Map.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Map.h Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
MapName.cpp Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
MapName.h Made MapName.cpp ASM-accurate 2019-04-08 16:34:18 +01:00
MiniMap.cpp Apply some surface ID constants 2019-07-23 15:20:13 +01:00
MiniMap.h Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
MyChar.cpp Big ugly rework of WindowsWrapper.h 2019-06-20 20:06:55 +01:00
MyChar.h Big ugly rework of WindowsWrapper.h 2019-06-20 20:06:55 +01:00
MycHit.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
MycHit.h Rearranged #includes 2019-02-18 21:30:22 +00:00
MycParam.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
MycParam.h Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
NpcAct.h Rearranged #includes 2019-02-18 21:30:22 +00:00
NpcAct000.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct020.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct040.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct060.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct080.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct100.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct120.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct140.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct160.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct180.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct200.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct220.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct240.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct260.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct280.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct300.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct320.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcAct340.cpp More cleanup 2019-08-25 16:49:52 +00:00
NpChar.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
NpChar.h Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcHit.cpp Overhauled the NPC_flags, and applied them everywhere 2019-08-21 17:59:06 +00:00
NpcHit.h Made NpcHit.cpp ASM-accurate 2019-05-13 02:46:07 +01:00
NpcTbl.cpp Remove WINDOWS and NONPORTABLE 2019-09-04 02:14:15 +01:00
NpcTbl.h Some #include fixes 2019-06-06 18:44:28 +00:00
Organya.cpp Remove some FIX_BUGS things that aren't actually bugs 2019-09-04 13:57:22 +00:00
Organya.h Added Dialog.cpp 2019-08-31 00:22:07 +01:00
PixTone.cpp Ripped out SDL2, and begun made WinMain ASM-accurate 2019-09-01 14:39:16 +01:00
PixTone.h Redecompiled PixTone.cpp 2019-02-10 14:59:39 +00:00
Profile.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
Profile.h Overhauled the Music ID enum 2019-08-21 18:26:20 +00:00
SelStage.cpp Some #include fixes 2019-06-06 18:44:28 +00:00
SelStage.h Made SelStage.cpp ASM-accurate 2019-05-13 21:31:14 +01:00
Shoot.cpp Added a translation for a Japanese variable 2019-06-23 22:55:01 +00:00
Shoot.h Rearranged #includes 2019-02-18 21:30:22 +00:00
Sound.cpp I might have found out why Sound.cpp uses DSBUFFERDESC1 2019-09-03 00:34:47 +01:00
Sound.h I might have found out why Sound.cpp uses DSBUFFERDESC1 2019-09-03 00:34:47 +01:00
Stage.cpp Add the typos back to the stage table 2019-09-05 14:56:03 +01:00
Stage.h Overhauled the Music ID enum 2019-08-21 18:26:20 +00:00
Star.cpp Removed all trailing spaces and added newline at EOF (when not present) 2019-05-07 11:55:42 +02:00
Star.h Rearranged #includes 2019-02-18 21:30:22 +00:00
Tags.h PATH_LENGTH is actually Windows's MAX_PATH 2019-08-31 01:44:53 +01:00
TextScr.cpp Restore the Windows-style path separators 2019-09-05 14:05:27 +01:00
TextScr.h PATH_LENGTH is actually Windows's MAX_PATH 2019-08-31 01:44:53 +01:00
Triangle.cpp An accuracy improvement in Triangle.cpp 2019-09-05 17:04:07 +01:00
Triangle.h Removed the dependency on stdint.h 2019-05-13 15:18:33 +01:00
Types.h Removed all trailing spaces and added newline at EOF (when not present) 2019-05-07 11:55:42 +02:00
ValueView.cpp Some #include fixes 2019-06-06 18:44:28 +00:00
ValueView.h Made ValueView.cpp ASM-accurate 2019-03-17 14:11:16 +00:00
WindowsWrapper.h Move SystemTask from WindowsWrapper.h to Main.h 2019-09-04 02:23:49 +01:00