Commit graph

100 commits

Author SHA1 Message Date
hendricks266
7414f29348 Add buildvfs, abstraction layer for file I/O.
Currently it passes calls through to the system libraries as before.

Also adds an incomplete implementation on PhysFS.

git-svn-id: https://svn.eduke32.com/eduke32@7359 1a8010ca-5511-0410-912e-c29ae57300e0
2019-03-01 08:51:50 +00:00
terminx
43d140eaee Revert "SDL 2.0.9"
git-svn-id: https://svn.eduke32.com/eduke32@7318 1a8010ca-5511-0410-912e-c29ae57300e0
2019-01-23 23:00:03 +00:00
terminx
ccebff2c85 Update libcompat-to-msvc.a for 32-bit so we can link against SDL 2.0.9
git-svn-id: https://svn.eduke32.com/eduke32@7225 1a8010ca-5511-0410-912e-c29ae57300e0
2018-11-18 18:13:40 +00:00
terminx
7403ff229e Fix Polymer checkbox not showing up in the startup window in Visual Studio builds
git-svn-id: https://svn.eduke32.com/eduke32@7217 1a8010ca-5511-0410-912e-c29ae57300e0
2018-11-18 18:12:49 +00:00
terminx
af7c8efaf8 Add a couple missing headers to build.vcxproj
git-svn-id: https://svn.eduke32.com/eduke32@7192 1a8010ca-5511-0410-912e-c29ae57300e0
2018-11-18 18:10:27 +00:00
terminx
6a97d4ea46 SDL 2.0.9
git-svn-id: https://svn.eduke32.com/eduke32@7185 1a8010ca-5511-0410-912e-c29ae57300e0
2018-11-18 18:09:27 +00:00
hendricks266
fd175086a3 Move the LZW compression functions out of cache1d.cpp into their own object, klzw.cpp.
This eliminates the hackiness of libcache1d.so (now libkzlw.so) and CACHE1D_COMPRESS_ONLY.

git-svn-id: https://svn.eduke32.com/eduke32@7140 1a8010ca-5511-0410-912e-c29ae57300e0
2018-11-05 07:28:07 +00:00
terminx
c49ff8696d Drop C++ standard used in Visual Studio builds from C++17 to C++14, to be more consistent with our GNU makefile.
git-svn-id: https://svn.eduke32.com/eduke32@7136 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-25 23:34:15 +00:00
terminx
2160d22788 Move editor headers into correct VS project
git-svn-id: https://svn.eduke32.com/eduke32@7118 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-25 23:32:21 +00:00
terminx
d9be193392 Remove nonexistent file lzwnew.h from VS project
git-svn-id: https://svn.eduke32.com/eduke32@7039 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-07 05:23:15 +00:00
terminx
5a5712575a Trying to silence a warning at link time in VS. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6994 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-07 05:19:39 +00:00
terminx
7d5b6acbbc VS build fix. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6993 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-07 05:19:32 +00:00
terminx
d431c844a3 This seems to fix debug builds in Visual Studio. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6992 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-04 20:28:15 +00:00
terminx
8a534c2c8c VS project changes. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6991 1a8010ca-5511-0410-912e-c29ae57300e0
2018-10-04 04:19:53 +00:00
terminx
45f4fba56b VS project properties
git-svn-id: https://svn.eduke32.com/eduke32@6985 1a8010ca-5511-0410-912e-c29ae57300e0
2018-09-28 04:28:00 +00:00
terminx
b9eb42672d New native Visual Studio solution and projects, based on a set made by icecoldduke.
git-svn-id: https://svn.eduke32.com/eduke32@6981 1a8010ca-5511-0410-912e-c29ae57300e0
2018-09-28 04:27:35 +00:00
pogokeen
1df7127609 Support software renderer upscaling engine-side in sdlayer and sdlayer12 with various scaling factors (beyond just pixel doubling).
When glsurface is available, use GL to upscale the render buffer.
Additionally, fix build issues with sdlayer12 introduced by GLAD changes (r6656).

git-svn-id: https://svn.eduke32.com/eduke32@6939 1a8010ca-5511-0410-912e-c29ae57300e0
2018-07-14 21:36:44 +00:00
pogokeen
ffee0f8ae9 Add glsurface.cpp/h and tilepacker.cpp/h to Visual Studio Project
git-svn-id: https://svn.eduke32.com/eduke32@6922 1a8010ca-5511-0410-912e-c29ae57300e0
2018-06-13 19:15:26 +00:00
terminx
4cd19d5435 Update Miniz
git-svn-id: https://svn.eduke32.com/eduke32@6849 1a8010ca-5511-0410-912e-c29ae57300e0
2018-04-23 06:35:34 +00:00
terminx
5522ac0f2d Rename int64.h to fix16_int64.h
git-svn-id: https://svn.eduke32.com/eduke32@6848 1a8010ca-5511-0410-912e-c29ae57300e0
2018-04-23 06:35:25 +00:00
terminx
64c82e7b0d Remove no longer used glext.h
git-svn-id: https://svn.eduke32.com/eduke32@6842 1a8010ca-5511-0410-912e-c29ae57300e0
2018-04-23 06:34:49 +00:00
terminx
d49300eeff Add missing file to VS project
git-svn-id: https://svn.eduke32.com/eduke32@6838 1a8010ca-5511-0410-912e-c29ae57300e0
2018-04-21 06:04:50 +00:00
terminx
dac6d70af6 Add some missing files to the VS project
git-svn-id: https://svn.eduke32.com/eduke32@6801 1a8010ca-5511-0410-912e-c29ae57300e0
2018-04-04 20:48:00 +00:00
terminx
a2dbe93dd6 SDL 2.0.8
git-svn-id: https://svn.eduke32.com/eduke32@6758 1a8010ca-5511-0410-912e-c29ae57300e0
2018-03-09 05:55:30 +00:00
terminx
4d8bb170a3 Use Q16.16 fixed point for player horiz
git-svn-id: https://svn.eduke32.com/eduke32@6724 1a8010ca-5511-0410-912e-c29ae57300e0
2018-03-07 04:21:05 +00:00
pogokeen
d6926cb7d3 Fix building on Visual Studio after GLAD & Polymost changes
git-svn-id: https://svn.eduke32.com/eduke32@6671 1a8010ca-5511-0410-912e-c29ae57300e0
2018-02-17 06:38:15 +00:00
terminx
1cba801b55 Switch MSVC Makefile to target the VS2015.3 toolchain instead of the VS2017 toolchain, to work around a compiler bug
git-svn-id: https://svn.eduke32.com/eduke32@6545 1a8010ca-5511-0410-912e-c29ae57300e0
2017-12-09 02:56:22 +00:00
terminx
212a318f4d Windows builds: SDL 2.0.7
git-svn-id: https://svn.eduke32.com/eduke32@6497 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:14 +00:00
hendricks266
64d76db260 Add support for MTM modules.
git-svn-id: https://svn.eduke32.com/eduke32@6475 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:09:59 +00:00
hendricks266
2506936b41 Cleanups in eduke32.vcxproj.
Thanks to [IFOC]75.

git-svn-id: https://svn.eduke32.com/eduke32@6451 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:17 +00:00
hendricks266
3a9228d69f SDL 2.0.6
git-svn-id: https://svn.eduke32.com/eduke32@6450 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-23 03:18:01 +00:00
hendricks266
81031df924 Improvements to wiibuild.sh. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6431 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-14 03:43:30 +00:00
hendricks266
82fd56b464 synthesis.sh does not need to be in SVN any more. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6405 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 22:55:48 +00:00
hendricks266
0f54975751 Yet another round of trailing whitespace.
git-svn-id: https://svn.eduke32.com/eduke32@6400 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 20:39:46 +00:00
hendricks266
a27fc79e86 A fairly pointless change. I'm just committing this to try and kick synthesis into making a build like it should have.
git-svn-id: https://svn.eduke32.com/eduke32@6397 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 17:59:01 +00:00
terminx
c5ddc0d919 Parallelize synthesis
git-svn-id: https://svn.eduke32.com/eduke32@6388 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 10:17:58 +00:00
terminx
60098c45d6 Add /std:c++latest parameter to MSVC makefile
git-svn-id: https://svn.eduke32.com/eduke32@6369 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:27 +00:00
terminx
fd19569099 Drop libpng and zlib in favor of a custom < 100 line .png writer and a drop-in zlib replacement called miniz.
git-svn-id: https://svn.eduke32.com/eduke32@6365 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:00 +00:00
hendricks266
01b6047377 Trailing whitespace.
git-svn-id: https://svn.eduke32.com/eduke32@6303 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 11:01:22 +00:00
terminx
c25aa4a790 OSD (console) cleanup
git-svn-id: https://svn.eduke32.com/eduke32@6297 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-27 02:24:14 +00:00
hendricks266
d57234e668 Replace sound_func function pointer parameter and associate functions for hardcoded ANMs with equivalent animsounds arrays.
git-svn-id: https://svn.eduke32.com/eduke32@6285 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-25 11:24:34 +00:00
hendricks266
9f871a7587 Amend r6174 to properly define HAVE_XMP.
git-svn-id: https://svn.eduke32.com/eduke32@6178 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-14 06:59:54 +00:00
terminx
d0211379e0 Get MSVC building again, DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6174 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-10 08:19:35 +00:00
hendricks266
44536c51d0 Makefile: Add libxmp-lite, replacing static linking to a library that was uncommon in Linux and Mac package managers.
git-svn-id: https://svn.eduke32.com/eduke32@6159 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-09 06:39:42 +00:00
hendricks266
22fbca52ca Remove HAVE_INTTYPES define.
No #else was ever provided for any build system that lacks inttypes besides MSVC.

git-svn-id: https://svn.eduke32.com/eduke32@6073 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-25 08:15:20 +00:00
terminx
5d77a4ac06 Fix compiler specified for synthesis. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6060 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 23:03:06 +00:00
hendricks266
3811f7f0e6 Try fixing synthesis.sh.
git-svn-id: https://svn.eduke32.com/eduke32@6059 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 22:18:45 +00:00
hendricks266
12ef7e9f8d Some tweaks to the cleanup.
git-svn-id: https://svn.eduke32.com/eduke32@6058 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-03 21:59:45 +00:00
hendricks266
417b047cf3 Bring the previous commit into effect.
git-svn-id: https://svn.eduke32.com/eduke32@6056 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:20:54 +00:00
hendricks266
1cc9d13ccf The great repository rearrangement of 2017.
Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?

git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:01:11 +00:00