terminx
d89909997c
Fix issue with screenshots
...
git-svn-id: https://svn.eduke32.com/eduke32@6399 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-29 09:48:43 +00:00
terminx
7c7f550100
Useless change to force a synthesis build
...
git-svn-id: https://svn.eduke32.com/eduke32@6398 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 20:24:54 +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
hendricks266
e2c1e6b12c
In md3postload_polymer, always clear the triangle buffer (tribuf) to zero, not just when its allocation size is enlarged.
...
Fixes strange issues with lighting on models.
git-svn-id: https://svn.eduke32.com/eduke32@6396 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 11:29:16 +00:00
hendricks266
d1de78d8bc
Don't drink and copypaste, kids.
...
Unfucks r6379.
git-svn-id: https://svn.eduke32.com/eduke32@6395 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 11:29:12 +00:00
hendricks266
32ed49e5c5
Slightly change readarrayfromfile so that attempting to read arrays of a size that does not evenly divide into the requested type rounds up instead of down and zero-pads the difference.
...
This should help hackish persuits such as reading map files through this command.
git-svn-id: https://svn.eduke32.com/eduke32@6394 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:38 +00:00
hendricks266
201ee80f87
Fix readarrayfromfile with bitmaps and uint32s. Also improve it.
...
git-svn-id: https://svn.eduke32.com/eduke32@6393 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:35 +00:00
hendricks266
6e7daf6d1b
Introduce GAMEARRAY_SIZE_MASK.
...
git-svn-id: https://svn.eduke32.com/eduke32@6392 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:31 +00:00
hendricks266
b01b25bc93
Revise part of r6385 for clarity.
...
git-svn-id: https://svn.eduke32.com/eduke32@6391 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:28 +00:00
hendricks266
9eaf935757
Connect minitext_ to MF_Minifont.
...
git-svn-id: https://svn.eduke32.com/eduke32@6390 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-28 08:27:24 +00:00
terminx
652a56e3d3
Derp. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@6389 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 20:05:48 +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
eeaf1f1d54
Build fix
...
git-svn-id: https://svn.eduke32.com/eduke32@6387 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 10:08:52 +00:00
terminx
494f09f80c
Build fix
...
git-svn-id: https://svn.eduke32.com/eduke32@6386 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 10:02:13 +00:00
terminx
769b1255f6
I think this fixes readarrayfromfile and writearraytofile
...
git-svn-id: https://svn.eduke32.com/eduke32@6385 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:37 +00:00
terminx
d9c43bb560
Fix issue with r6374
...
git-svn-id: https://svn.eduke32.com/eduke32@6384 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:32 +00:00
terminx
1fd79171d8
Fix console background when using oversized font characters
...
git-svn-id: https://svn.eduke32.com/eduke32@6383 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:26 +00:00
terminx
b00266b47f
CON-solidation
...
Sorry for the shitty pun
git-svn-id: https://svn.eduke32.com/eduke32@6382 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:21 +00:00
terminx
fa02c6433b
Switch allocation of sprite/wall/sector to individual aligned allocations instead of the weird thing I was doing with multiple pointers to different parts of a single large block
...
git-svn-id: https://svn.eduke32.com/eduke32@6381 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:15 +00:00
terminx
9b9b6baecd
Set default number of voices to 256, remove voices option from menu when compiled with SIMPLE_MENU=1
...
git-svn-id: https://svn.eduke32.com/eduke32@6380 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-27 09:13:09 +00:00
hendricks266
e229fc607c
mdsprite: Augment or revert portions of r4639.
...
Substantial work done in md3postload_common, md3postload_polymer_check, and md3postload_polymer.
git-svn-id: https://svn.eduke32.com/eduke32@6379 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:33 +00:00
hendricks266
a782247eac
inthi_rintf
...
git-svn-id: https://svn.eduke32.com/eduke32@6378 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:30 +00:00
hendricks266
715d2ec25a
Menu stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@6377 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:26 +00:00
hendricks266
e87f1591f9
Duke 3D: Make the OSD use tilesizes to determine character positioning instead of hardcoded constants.
...
git-svn-id: https://svn.eduke32.com/eduke32@6376 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:23 +00:00
hendricks266
5c77a6a13c
compat.h: Update ssize_t under MSVC.
...
git-svn-id: https://svn.eduke32.com/eduke32@6375 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:20 +00:00
hendricks266
d5f8c7a028
compat.h: Update u/native_t by introducing reg_t from LZ4.
...
git-svn-id: https://svn.eduke32.com/eduke32@6374 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:18 +00:00
hendricks266
366ccd7900
Add a fallthrough__ entry for VS.
...
git-svn-id: https://svn.eduke32.com/eduke32@6373 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-22 04:00:13 +00:00
terminx
ef8bd42b49
Another attempt at fixing the problems caused by my recent changes to gamearrays
...
git-svn-id: https://svn.eduke32.com/eduke32@6372 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-20 08:57:50 +00:00
terminx
efcdd0cde0
derp
...
git-svn-id: https://svn.eduke32.com/eduke32@6371 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-19 06:06:19 +00:00
terminx
dad337add8
Fix gcc 7.1.0 warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@6370 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:41 +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
484f640f71
Maybe, possibly, unfuck gamearrays.
...
git-svn-id: https://svn.eduke32.com/eduke32@6368 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:22 +00:00
terminx
af0a291a59
Improve C_AddDefaultDefinitions()
...
git-svn-id: https://svn.eduke32.com/eduke32@6367 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:15 +00:00
terminx
dc282fcb7c
Remove extraneous "updated cfgname.cfg" message
...
git-svn-id: https://svn.eduke32.com/eduke32@6366 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:10 +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
terminx
a17eb158e8
Fix building with Clang
...
git-svn-id: https://svn.eduke32.com/eduke32@6364 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:52:42 +00:00
terminx
bf18114d31
Fix compiler warning
...
git-svn-id: https://svn.eduke32.com/eduke32@6363 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:52:36 +00:00
hendricks266
494c778feb
Fix some int/int32_t mismatches. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@6362 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-15 21:56:21 +00:00
hendricks266
f01c9205e9
Fix USE_OPENGL=0 build.
...
git-svn-id: https://svn.eduke32.com/eduke32@6361 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-15 21:56:17 +00:00
hendricks266
1b1fd9e0eb
CON: ifspawnedby and ifwasweapon are really the same command. Merge the code to execute them.
...
git-svn-id: https://svn.eduke32.com/eduke32@6360 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-15 21:56:12 +00:00
terminx
d703ac2c62
Fix issue with changing settings in the startup window
...
git-svn-id: https://svn.eduke32.com/eduke32@6359 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-12 04:10:37 +00:00
terminx
f4e1012081
"qputs" alias for "redefinequote"
...
git-svn-id: https://svn.eduke32.com/eduke32@6358 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-12 04:10:29 +00:00
terminx
3141084a65
More array work: support for reading and writing the new array types from disk. Not tested.
...
git-svn-id: https://svn.eduke32.com/eduke32@6357 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-11 04:03:01 +00:00
terminx
01d92aeed2
Syntax changes for gamevar and gamearray declarations:
...
Gamevar: default value and flags are now optional. A var declared without a value will default to 0 and a var declared without flags will default to global. Multiple flags can now be stacked one after another in a var declaration, and the most useful ones (GAMEVAR_PERPLAYER, GAMEVAR_PERACTOR, GAMEVAR_NODEFAULT, and GAMEVAR_NORESET) are now pre-defined tokens for easy use.
Gamearray: flags field now allows stacking of multiple flags as described above. Arrays can now be defined with specific data types, including int16_t, uint8_t, and a new bit-packed boolean data type. The tokens GAMEARRAY_RESTORE, GAMEARRAY_INT16, GAMEARRAY_UINT8, and GAMEARRAY_BOOLEAN are pre-defined for use of this feature.
This is all still pretty experimental.
git-svn-id: https://svn.eduke32.com/eduke32@6356 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-11 04:02:52 +00:00
hendricks266
1c4c1e9b55
Polymer: Address an oversight in r4600.
...
git-svn-id: https://svn.eduke32.com/eduke32@6355 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:44:10 +00:00
hendricks266
b702ebb085
Menus: Draw most text using YCenter and YOffsetZero modes to facilitate certain kinds of visual cues.
...
git-svn-id: https://svn.eduke32.com/eduke32@6354 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:44:07 +00:00
hendricks266
37b2a751b9
compat.h: Add preliminary FALLTHROUGH macro to support
...
git-svn-id: https://svn.eduke32.com/eduke32@6353 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:44:04 +00:00
hendricks266
4252a60af9
Add an error directive to C++ standards versions < 2011.
...
git-svn-id: https://svn.eduke32.com/eduke32@6352 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:44:01 +00:00
hendricks266
bbff77b20e
Add a THISACTOR for tiledata and paldata, referring to the current actor's picnum and pal.
...
git-svn-id: https://svn.eduke32.com/eduke32@6351 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:43:57 +00:00
hendricks266
ebe2e67439
Fix a bug with undefinegamefunc breaking the key configuration menu.
...
git-svn-id: https://svn.eduke32.com/eduke32@6350 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-10 13:43:54 +00:00