Clownacy
afb2b22e58
Merge branch 'accurate' into portable
2020-10-23 19:10:36 +01:00
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
27a1fd900f
Revert more unnecessary edits
2020-06-30 13:48:46 +01:00
Gabriel Ravier
564d42dbd2
src: Change from using asprintf-based code to using std::string-based code
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-29 18:33:22 +02:00
Gabriel Ravier
32a879ca58
src: Removed MAX_PATH and made the path/string handling better in general (ported over from supportPathsAboveFilenameMax)
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-29 00:14:30 +02:00
Clownacy
9cbaa0be00
Merge branch 'accurate' into portable
2020-01-08 13:16:21 +00:00
Clownacy
86412f0528
More-accurate Map.cpp variable arrangement
2020-01-07 06:40:58 +00:00
Clownacy
84626ea710
Merge branch 'accurate' into portable
2020-01-07 04:55:16 +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
0ec5d85d56
Merge branch 'accurate' into portable
2019-11-17 18:30:44 +00:00
Clownacy
9513a04f45
Clean-up Map.cpp
2019-11-15 14:24:21 +00:00
Clownacy
8344716548
Merge branch 'accurate' into portable
2019-11-09 14:24:55 +00:00
Gabriel Ravier
3c920996b8
Make memcmp usage clearer
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-05 10:43:09 +01:00
Clownacy
0510e017e1
Merge branch 'accurate' into portable
2019-09-10 02:03:58 +00:00
Clownacy
f8c2e17655
Clean up Map.cpp
2019-09-09 23:46:35 +01:00
Clownacy
5b5d5ae729
Revert "Restore the Windows-style path separators"
...
This reverts commit 42e1b36fd8
.
2019-09-05 14:19:17 +01:00
Clownacy
84c3cd825e
Merge branch 'accurate' into portable
2019-09-05 14:18:42 +01: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
73e18b4610
Removed the WINDOWS and NONPORTABLE stuff
...
Now that all the ASM-accurate stuff is in its own branch, we don't
need these anymore.
2019-09-04 00:54:11 +01:00
Clownacy
5ea356a3bd
Weed out a lot of the Windows dependency
...
Storytime: Cucky's original SDL2 port work involved using SDL2's
threading API to emulate the original WinAPI threading.
I can't be assed with that stuff, so I used the same trick Cucky did
for the Wii port, and hooked Organya up to the SDL2 audio callback.
This actually opens up the possibility for perfectly-synchronised
Organya playback. By that I mean, instead of needing a super
low-latency audio callback, I can have the callback synchronise its
audio mixing with Organya itself. I haven't done it yet, I plan to
soon.
2019-09-04 00:28:23 +01:00
Clownacy
35344c5f4f
Fixes
...
What is it with Pixel's official code, and relying on non-standard
stuff? Even his PxTone library had portability issues.
2019-09-02 02:02:25 +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
c80b593a3f
Some #include fixes
...
Finally figured out how to get include-what-you-use working
2019-06-06 18:44:28 +00: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
Gabriel Ravier
70818bd58c
Some orthograph corrections
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 12:19:15 +02:00
Gabriel Ravier
1d0129e681
Corrected formatting in Map.cpp
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 09:28:44 +02:00
Clownacy
b062d8af5b
Add a missing PATH_LENGTH
2019-05-07 16:47:17 +01:00
Clownacy
532661b0cf
Made Map.cpp and some of NpcAct020.cpp ASM-accurate
...
Also added a new constant 'NONPORTABLE', for enabling bits of code that
are non-portable, but needed for accuracy
2019-02-24 14:35:35 +00:00
Clownacy
3fc8ceb0a6
Made NpcAct000.cpp *really* ASM-accurate
...
Unlike the other files, I've gone out of my way to get accurate stack
frame layouts. The Devilution comparer tool really comes in handy here.
2019-02-24 02:34:19 +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
c44186d93a
Ditched SDL's file IO for stdio and our own convenience functions
...
ASM-accurate file stuff can come later.
2019-02-15 20:33:08 +00:00
cuckydev
d6da832f88
did some widescreen fixes and fixed baby polish
2019-02-05 21:21:43 -05:00
cuckydev
bea22e72e0
bullet
2019-01-30 16:03:10 -05:00
cuckydev
4a104a527c
FORTNTIE
2019-01-29 17:47:34 -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
f43a3c1130
Org and sound
2019-01-19 21:23:04 -05:00
cuckydev
c84f49f1dc
wip
2019-01-16 22:48:21 -05:00