Commit graph

30 commits

Author SHA1 Message Date
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
97a042dcc0 Deobfuscate some values 2020-09-27 21:12:39 +01:00
Clownacy
a3692d1c40 Add Caret enums 2020-08-05 21:45:59 +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
Gabriel Ravier
3092c34681 src: Add #include <stddef.h> where appropriate in order to have NULL/size_t and others from the proper header
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 18:26:44 +02:00
Clownacy
a5bf854408 Document gMC.equip
All raw values have been replaced with enums
2020-06-27 19:27:57 +01: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
f0273ecf3f More-accurate MyChar.cpp variable arrangement 2020-01-07 06:52:36 +00:00
Clownacy
30ad5189f6 Clean-up MyChar.cpp 2019-11-15 12:32:35 +00:00
Clownacy
c5d6109df2 Comment tweaks 2019-11-10 12:17:07 +00:00
Gabriel Ravier
5b18283e5f Documentation : Made some comments clearer
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01: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
cc1df04fab Fix broken code in MyChar.cpp 2019-05-13 16:28:02 +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
f04872b91b Made MyChar.cpp ASM-accurate
See #74
2019-05-13 14:17:03 +01:00
Gabriel Ravier
70818bd58c Some orthograph corrections
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 12:19:15 +02:00
Gabriel Ravier
66a4805ceb Corrected formatting in MyChar.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 11:19:03 +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
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
e5caff593c Removed the SDL dependency from Draw.h
Should make compiling with VC++ 2003 simpler
2019-02-18 20:40:07 +00:00
Clownacy
132d3c5110 Applied SURFACE_ID constants to everything 2019-02-18 14:36:58 +00:00
Clownacy
f47f036e36 Added Core and more NPCs 2019-02-07 14:08:53 +00:00
cuckydev
de6bf5209c whimsical star done 2019-02-03 13:41:15 -05:00
cuckydev
ed4d67b0cb nope 2019-01-31 10:58:04 -05:00
cuckydev
10d946aca2 map system doesn't work 2019-01-29 09:17:13 -05:00
cuckydev
1e7b07a102 working on arms and items 2019-01-28 12:26:35 -05:00
cuckydev
7fa14698f0 ADDED OUCHIE 2019-01-27 14:54:05 -05:00
cuckydev
c04092df89 added first 6 npcs, npc map collision, player map collision, fixed huge issue with map drawing, causing there to be 50+% cpu usage. bluh 2019-01-25 22:38:50 -05:00
cuckydev
cbc5542cca added some stuff 2019-01-24 22:19:56 -05:00