Fabian Greffrath
f4acd9d6bd
optional support for PNG screenshots
...
You need to have SDL2_Image installed and run ./configure --with-sdlimage
2019-12-20 12:36:50 +01:00
Fabian Greffrath
1b0777bd84
port rendering and input code to SDL2
...
* Introduce rendering window, renderer, intermediate ARGB frame
buffer and texture.
* Update keyboard handling to scancode-based approach from Chocolate
Doom 3.0.
* Other code changes adapted from Chocolate Doom 3.0:
+ mouse grabing
+ window event handling
+ fullscreen toggle
* Adapt calls to SDL2 API changes.
* Remove all remaining SDL1-only cruft and Source/i_stretch.c.
* Rename "Use Page-Flipping" menu option to "Use Hardware
Acceleration".
2019-12-20 11:08:03 +01:00
Fabian Greffrath
d318bee68b
enable building on 64-bit architectures
...
* Include stdint.h for intptr_t types.
* Check for more headers and data types in configure.ac.
* Use a union of integer and string pointer to store config values, instead
of type-punning string pointers to integers which won't work on
64-bit systems anyway.
* Silence some "incompatible pointer types" GCC warnings, as
pointers to integer and union config_u are in fact
interchangeable.
* Fix memcpy() size parameters and pointer progression.
* Fix BMP screenshots by changing some variables from ambigious long
to corresponding int types.
* Silence the last remaining "cast pointer from/to integer of
different size" warnings.
2019-12-20 09:02:53 +01:00
Fabian Greffrath
8a9061188b
avoid configure substitutions in _SOURCES variables
...
Automake manual says:
"You can’t put a configure substitution (e.g., ‘@FOO@’ or ‘$(FOO)’
where FOO is defined via AC_SUBST) into a _SOURCES variable. The
reason for this is a bit hard to explain, but suffice to say that it
simply won’t work. Automake will give an error if you try to do this."
Well, okay.
2019-12-20 08:47:19 +01:00
Fabian Greffrath
a42d5677e9
general improvements to the Automake build system ( #2 )
...
* Call the binary by the package name.
* Add header files to sources.
* Optionally build with support for helper dogs and beta emulation
(enabled by default).
* Build with config.h instead of passing all defines on the command line.
2019-12-19 21:32:04 +01:00
Fabian Greffrath
2cfdd6a2fe
fix "type defaults to 'int'" compiler warnings ( #1 )
...
This fixes the last remaining warnings left when compiling with GCC
9.2.1 without any additional warning compiler flags.
2019-12-19 21:26:50 +01:00
Fabian Greffrath
88d472704d
convert all source files to UNIX line endings
upstream
2019-12-19 21:19:02 +01:00
James Haley
3af60d718b
Merge pull request #7 from fabiangreffrath/portability-linux
...
Fix compilation on *nix systems, e.g. Linux+GLibC+GCC
2016-08-20 17:29:00 -05:00
James Haley
139e057f53
Merge pull request #9 from chungy/gitignore
...
Ignore autotools-generated files
2016-08-20 17:24:11 -05:00
Mike Swanson
baa1c88082
Ignore autotools-generated files
2016-08-20 08:24:31 -07:00
James Haley
3988bce9d3
Merge pull request #8 from fabiangreffrath/config-aspect
...
Enable aspect ration correction by default
2016-08-20 02:19:41 -05:00
James Haley
dd1d2e9fed
Merge pull request #6 from fabiangreffrath/portability-autotools
...
Add Autoconf/Automake build system
2016-08-20 02:17:23 -05:00
James Haley
fa913d5a25
Merge pull request #3 from fabiangreffrath/portability-mingw32
...
Fix compilation with non-MSCV compilers, e.g. MinGW
2016-08-20 02:14:59 -05:00
James Haley
841d8afd84
Merge pull request #2 from fabiangreffrath/security-formatstring
...
Fix a format string vulnerability
2016-08-20 02:13:33 -05:00
James Haley
09ce9e26d3
Merge pull request #1 from fabiangreffrath/crash-videomode
...
Fix a format string mismatch
2016-08-20 02:12:43 -05:00
Fabian Greffrath
dbda307492
Enable aspect ration correction by default
2016-08-19 21:43:49 +02:00
Fabian Greffrath
e010030d57
Add Autoconf/Automake build system
2016-08-19 21:41:36 +02:00
Fabian Greffrath
d858126b2c
Fix compilation on *nix systems, e.g. Linux+GLibC+GCC
2016-08-19 21:39:04 +02:00
Fabian Greffrath
fa061a1d64
Fix compilation with non-MSCV compilers, e.g. MinGW
2016-08-19 21:29:36 +02:00
Fabian Greffrath
c86a999f74
Fix a format string vulnerability
2016-08-19 21:28:30 +02:00
Fabian Greffrath
d55c520996
Fix a format string mismatch
2016-08-19 21:27:22 +02:00
James Haley
70a0d74de2
Adjust EV_DoElevator prototype in p_spec.h to use proper enumeration type for compilers that care.
2010-02-04 18:01:14 -06:00
James Haley
0839b87ce1
Numerous warning fixes and ability to compile/execute without DOGS defined (nice goin' Lee :P)
2009-09-02 16:58:09 -05:00
James Haley
031ed7d6cb
Minor uncommitted tweak from who knows when.
2009-07-26 18:49:31 -05:00
James Haley
1298844d1f
Altered "Read This!" screen to mention "SDL Port By Team Eternity" instead of crediting Shawn Hargreaves for Allegro (which WinMBF doesn't use).
2009-05-12 14:15:32 -05:00
James Haley
5007ae92ae
Minor adjustments in preparation for build 3 release.
2009-05-12 13:40:38 -05:00
James Haley
ec1221a442
Additional tweaks and fixes to scaling, including -aspect, -hires, -nohires, -2, -3, -4, and -5 command-line parameters.
2009-05-11 21:57:33 -05:00
James Haley
c340fce6a9
fullscreen variable was not properly asserted in I_InitGraphicsMode.
2009-05-11 21:06:19 -05:00
James Haley
26c79d64c5
Initial commit of low-level video scaling and aspect ratio correction, enabling resolutions 320x240, 640x480, 960x600, 960x720, 1280x800, 1280x960, 1600x1000, and 1600x1200. Needs more testing.
2009-05-11 15:31:21 -05:00
James Haley
639459c211
Hand-modified project file to maintain lower-case filenames.
2009-03-26 12:56:17 -05:00
Simon Howard
90b6fa7fbb
Rename files to lower case.
2009-03-26 14:46:56 +00:00
James Haley
d4dbd745e5
Formatting problem in fuzz draw fix.
2009-03-26 08:54:00 -05:00
James Haley
b060a23583
Fuzz draw patch from SMMU 3.10 source; possibly not Lee's original fix, but it'll do.
2009-03-24 22:17:25 -05:00
James Haley
8df96343bb
Import EE mouse fix, EE screen centering code, and EE player corpse deferred removal savegame bug fix.
2009-03-23 18:57:44 -05:00
James Haley
5d5f2a10f2
Added all Eternity and PrBoom zone heap fixes (caching optimization, fragmentation optimization, savegame heap corruption, INSTRUMENTED C-heap corruption), and added th_delete thinker class to prevent infinite loops in the AI code.
2008-06-17 19:27:45 -05:00
James Haley
26f762b64e
Added Chocolate Doom appstate tracking.
2008-06-17 05:21:33 -05:00
James Haley
4a3dd8fc4e
Added anarkavre's netcode.
2008-06-16 22:12:12 -05:00
James Haley
c2035e5ff7
Imported new Eternity Engine sound code. Applied EE priority/singularity/pitch/volume bug fixes. Fixed conflicts between SDL.h and z_zone.h.
2008-06-16 21:52:45 -05:00
James Haley
9ab0817c7c
Initial import.
2008-06-16 19:08:27 -05:00