Clownacy
d81c46a79c
Release custom code under the MIT licence
...
Of course, Pixel's code is still proprietary.
2020-10-23 19:09:55 +01:00
Clownacy
f7a8a260a4
Added OTHER_RECT struct
...
Unifies the weird not-RECTs
2020-07-08 19:30:11 +01:00
Gabriel Ravier
66e4995135
src: Remove unnecessary includes
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 00:12:17 +02:00
Clownacy
03250d62a0
Make variables more accurate
...
This commit changes which variables are static: the Mac (and
presumably the Linux) debug data tells you what variables are static,
by prefixing their names with double_underscores.
The variable names themselves also hint at this: global variables are
prefixed with 'g', and use upper-camelcase, while static variables
use whatever_you_call_this.
2020-05-03 20:28:56 +01:00
Clownacy
ca6538561f
Document ActNpc061 (King)
2020-03-27 17:49:58 +00:00
Clownacy
30968a626c
Remove all the C-compatibility stuff
2020-01-07 04:46:58 +00:00
Clownacy
fb8ba25d0f
Made Stage.cpp valid C89
...
See #41
2020-01-06 20:57:20 +00:00
Clownacy
58bd3533d9
Clean-up NpChar.cpp
2019-11-14 02:22:29 +00:00
Clownacy
567330cc5b
Remove some trailing commas
...
According to Clang, they're not valid C++98
2019-10-29 12:11:07 +00:00
Gabriel Ravier
cc4de5e44c
Remove NPC utility macros
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-15 18:16:46 +02:00
Gabriel Ravier
9e5e2a0e26
Indented some comments
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-15 16:05:24 +02:00
Gabriel Ravier
002e0f7760
Changed erroneous "=" to "+="
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-15 16:00:06 +02:00
Gabriel Ravier
0d833b38a8
Prevent some annoying warnings popping up everywhere
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-15 10:50:46 +02:00
Gabriel Ravier
fcc1e3cc23
Added some common macro utilities used by most NPCs
...
I'm pretty sure Pixel didn't actually use macros for this but I don't think just having this kind of stuff copied around everywhere is really great either
Forgot to commit and push this yesterday
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-15 10:48:18 +02:00
Gabriel Ravier
e2c57e6dbc
Alphabetized macros in BossFrog and re-ordered some stuff to go along with Clownacy's coding standards
...
Also changed NPC_NULL_DELETES_ITSELF to NPC_DAMAGE_TEXT_HOLDER as Fayti pointed out the misnomer
Note to self : Make a PR with coding standards
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-13 20:35:37 +02:00
Gabriel Ravier
9bef4b1d49
Commented BossFrog entirely
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-13 18:49:17 +02:00
Gabriel Ravier
861064bf12
Started improving on balfrog.cpp
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-12 16:47:14 +02:00
Clownacy
3e34136f69
Overhauled the NPC_flags, and applied them everywhere
...
No more raw values floating about in the decompiled code.
Been wanting to do this for ages.
2019-08-21 17:59:06 +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
44f142d8e7
Big ugly rework of WindowsWrapper.h
...
Okay so WindowsWrapper.h now just includes Windows.h if it wants
non-portability. This meant I had to split the custom RECT struct
back to the original RECT and unknown nameless struct (one uses
left/right, while the other uses front/back).
2019-06-20 20:06:55 +01:00
Clownacy
676ee004fe
Removed the dependency on stdint.h
...
This doesn't exist in MSVC2003, and nothing in the Linux port's debug
symbols indicate Pixel used it.
2019-05-13 15:18:33 +01:00
Clownacy
fb87b8dd57
Made NpChar.cpp almost ASM-accurate
...
For some damn reason I can't replicate SetBulletObject stack frame
layout.
2019-05-12 23:47:31 +01:00
Clownacy
f8d4ae7014
Made Stage.cpp ASM-accurate
2019-05-07 13:52:50 +01:00
Clownacy
25e68bfb9d
Mark string pointers as const
2019-05-06 20:18:24 +01:00
Clownacy
168f69adf2
Shut up some -pedantic warnings
2019-03-07 00:18:48 +00:00
Clownacy
3e5f44f8de
Changed some things to BOOL/BOOLEAN, for ASM-accuracy
2019-02-22 22:23:57 +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
66e96f47b7
omega
2019-02-02 01:19:12 -05:00
cuckydev
eee18d71a3
Finally, bullets murder NPCS, also fixed SetExpObjects to not crash... oops!
2019-01-30 18:44:31 -05:00
Clownacy
81f22c2bb8
Added more NPCs
...
Mostly, if not all, Egg Corridor.
2019-01-29 18:48:43 +00:00
cuckydev
11bbcde9f8
worked on tsc some more, fixed Surface2Surface, blah blah blah happy birthday to me
2019-01-27 01:28:14 -05:00
cuckydev
cbc5542cca
added some stuff
2019-01-24 22:19:56 -05:00
cuckydev
51638079c7
worked on npc stuff
2019-01-22 22:04:35 -05:00
cuckydev
f43a3c1130
Org and sound
2019-01-19 21:23:04 -05:00