Clownacy
169a755ec3
Wrap UTF-8 strings in C89-style comments
...
This should prevent compilation errors when compilers don't read the
source files as UTF-8.
MSVC in certain codepages previously misread some UTF-8 comments as
containing newlines, causing it to try to process the rest of the
comment as code. This was fixed by forcing MSVC to read the files as
UTF-8 using the `/utf-8` flag, but this doesn't seem to be supported
in older versions.
Since the issue was caused by newlines being added where they didn't
belong, using C89-style comments instead should avoid the problem
altogether.
I'll still keep the utf-8 flag around for supported compilers - just
in case.
2020-03-14 14:12:53 +00:00
Clownacy
58d7a45392
Empty Tags.h
...
There's no evidence Tags.h contained these variables (if anything, it
appears that Pixel manually declared them in every file that used
them).
gg Pixel
2020-01-06 21:20:17 +00:00
Clownacy
c838e8ebcb
Add and apply the enum_ESCRETURN enum
...
Restored from the original source code, as it survived in the Linux
port's debug data.
2020-01-06 19:19:17 +00:00
Clownacy
5e49d734c9
Clean-up Game.cpp
2019-11-15 20:00:43 +00:00
Gabriel Ravier
a45592302f
Documentation : Commented the fact that "swPlay % 2" is always true
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Clownacy
a8fb0839fa
Note Shift-JIS strings
2019-09-28 15:35:41 +00:00
Clownacy
42e1b36fd8
Restore the Windows-style path separators
2019-09-05 14:05:27 +01:00
Clownacy
4e50046d4b
Remove WINDOWS and NONPORTABLE
...
Now that the portable stuff gets its own branch, these are unneeded
2019-09-04 02:14:15 +01:00
Clownacy
451945e80c
Ripped out SDL2, and begun made WinMain ASM-accurate
...
Almost there... see #74 .
2019-09-01 14:39:16 +01:00
Clownacy
03e513365b
PATH_LENGTH is actually Windows's MAX_PATH
...
When MAX_PATH isn't available, use FILENAME_MAX. This might be a bad
idea.
2019-08-31 01:44:53 +01:00
Clownacy
34986ff049
Restore some commented-out code
2019-08-28 23:40:07 +01:00
Clownacy
3ab2b11204
Convert Game.cpp to UTF-8
2019-08-25 21:07:03 +01:00
Clownacy
b7d01aae3f
Overhauled the Music ID enum
...
This should be ASM-accurate, since SurfaceID was
2019-08-21 18:26:20 +00:00
Clownacy
64598dc2a5
Rename Surface_Ids to SurfaceID
...
For code style consistency (this isn't a vanilla enum name - I don't
think there even was an enum for this in the original source code)
2019-08-21 16:18:55 +00:00
Clownacy
f9de3f8216
Added another bugfix
...
This was causing MSVC debug builds to raise a warning whenever a save
was loaded.
2019-07-12 13:09:08 +01:00
Clownacy
97acb292bb
Made Game.cpp ASM-accurate
...
Working towards #74 .
2019-06-30 03:03:25 +01:00
Clownacy
19166f80d0
Correct some misdecompiled switchcases
2019-06-21 11:02:20 +00:00
Clownacy
078dc440c7
Made TextScr.cpp ASM-accurate
...
Yes! Finally!
Working towards #74
2019-06-20 20:33:47 +01: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
00ca00f5dd
Weed out some usage of C++ bools
...
Pixel used BOOL, the C89-friendly Windows-specific equivalent
2019-05-14 01:35:04 +01:00
Clownacy
c9d5b3d03a
Made Ending.cpp ASM-accurate
2019-05-13 20:43:43 +01:00
Clownacy
9b82baeb02
Made MiniMap.cpp actually ASM-accurate
2019-05-13 17:50:09 +01:00
Gabriel Ravier
16140d1903
Revert bad "clip rect" changes
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-12 16:52:13 +02:00
Gabriel Ravier
da07dc5ab5
Merge branch 'master' into improveGToK
2019-05-12 16:04:10 +02:00
Clownacy
9da92097a8
Deobfuscate some TimeCounter-related values
2019-05-11 02:22:10 +01:00
Clownacy
f3d073affe
Made Profile.cpp mostly ASM-accurate
...
The original code used MessageBoxA, but we haven't ported any of the
WinAPI stuff yet, so there's no hWnd available.
2019-05-10 20:40:58 +01:00
Gabriel Ravier
b706209bd1
Correct some orthograph and some formatting
...
I hope "cliprect" isn't actually a word or something
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-10 08:46:41 +02:00
Gabriel Ravier
3d94702bea
Fix parentheses and comments in Game.cpp, Generic.cpp
...
Also fixed formatting for a break (two spaces instead of a tab)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 09:03:56 +02:00
Gabriel Ravier
960fa6f456
Removed all trailing spaces and added newline at EOF (when not present)
...
Also changed a "linux" to "Linux"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 11:55:42 +02:00
Clownacy
3eca2d7cf3
Add all GetCortBoxColor calls back (also I found a vanilla bug)
2019-02-21 20:56:27 +00:00
Clownacy
55f1d3a9fe
Fixed some problems found while compiling most of this with VC++2003
...
I could compile most of this, but not link it (SDL2's .lib files must
be too new).
2019-02-20 03:55:05 +00:00
Clownacy
ec148c1072
Made the spriterects C++03-compatible
2019-02-19 22:30:43 +00:00
Clownacy
0bb9760d87
Rearranged #includes
2019-02-18 21:30:22 +00:00
Clownacy
132d3c5110
Applied SURFACE_ID constants to everything
2019-02-18 14:36:58 +00:00
cuckydev
e1cd4cf8d8
fix
2019-02-13 19:46:45 -05:00
cuckydev
1e748f9406
fix
2019-02-09 23:07:23 -05:00
cuckydev
efec3d420d
Added Nikumaru Counter
2019-02-09 16:11:06 -05:00
cuckydev
28fed460ef
credit
2019-02-07 20:20:27 -05:00
Clownacy
abf51970df
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-02-06 12:10:32 +00:00
cuckydev
d6da832f88
did some widescreen fixes and fixed baby polish
2019-02-05 21:21:43 -05:00
Clownacy
ee88e805b3
Fix some errors and prevent some GCC warnings
2019-02-05 22:51:44 +00:00
cuckydev
42f7bb55c0
STAR
2019-02-03 13:26:43 -05:00
cuckydev
66e96f47b7
omega
2019-02-02 01:19:12 -05:00
Clownacy
905ae02d77
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-01-31 18:42:19 +00:00
Clownacy
687f02119f
Added SelStage.cpp (teleporter menu)
2019-01-31 18:38:21 +00:00
cuckydev
c284afdadd
Mapping
2019-01-31 12:31:25 -05:00
Clownacy
5c8f80e611
Added some TSC commands and BossLife.cpp
2019-01-31 14:36:54 +00:00
Clownacy
8954e9aaca
More NPCs, and added Flash.cpp
2019-01-31 13:26:59 +00:00
cuckydev
eee18d71a3
Finally, bullets murder NPCS, also fixed SetExpObjects to not crash... oops!
2019-01-30 18:44:31 -05:00
cuckydev
bea22e72e0
bullet
2019-01-30 16:03:10 -05:00