raze-gles/polymer/eduke32
helixhorned 1009e0f2ec Remove many redundant (int16_t) casts and one now incorrect one.
The redundant ones are in code like this: s->cstat = (int16_t)32768;
Because the value is eventually converted to the type of "s->cstat", any
casts to integral types having at least as many bits are no-ops, signedness
being irrelevant due to (probably any two's complement arch targeting
compiler's) bit-pattern preserving semantics of these conversions.

The now incorrect one is: if (lotag == (int16_t) 65535),
"int32_t lotag" being read from a wall or sprite struct directly earlier.
Now, with these members being unsigned, and (int16_t)65535 equalling -1,
the check always fails.  The correction fixes normal switches having such
a lotag ending the level immediately.

In short: integer casts before assignments are unnecessary, those in reads
highly relevant!

git-svn-id: https://svn.eduke32.com/eduke32@3211 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-18 19:01:34 +00:00
..
Apple The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
build Engine cleanup: factor out code getting bounds of sprites. 2012-11-17 19:46:50 +00:00
eobj Importing source for great justice 2006-04-13 20:47:06 +00:00
eobj_win 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
installer 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
obj Importing source for great justice 2006-04-13 20:47:06 +00:00
obj_win 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
psd EDuke32 Wii: Ready for action! 2012-05-20 07:25:25 +00:00
rsrc cosmetic: 2012-02-25 02:57:25 +00:00
samples splitscreen: tweak base palette application, remove resp. code from splitscr.con. 2012-08-22 22:49:27 +00:00
source Remove many redundant (int16_t) casts and one now incorrect one. 2012-11-18 19:01:34 +00:00
Wii EDuke32 Wii: Ready for action! 2012-05-20 07:25:25 +00:00
Windows Fix mixed declarations and code in backtrace.c. 2012-11-05 02:50:12 +00:00
buildlic.txt 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
ChangeLog git-svn-id: https://svn.eduke32.com/eduke32@997 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-22 04:26:26 +00:00
ChangeLog.html Update repo to 1.4.0 beta 2 2006-07-18 21:08:38 +00:00
eduke32.sln Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
eduke32.vcxproj Remove the xdelta3 files from the VS2010 project, too 2012-11-16 16:41:04 +00:00
eduke32.vcxproj.filters Remove the xdelta3 files from the VS2010 project, too 2012-11-16 16:41:04 +00:00
eduke32.vcxproj.user Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
GNU.TXT Importing source for great justice 2006-04-13 20:47:06 +00:00
m32help.hlp * Lazy hightile loading in Mapster32 tile selector (first display all as lowtiles, then load each one while allowing movement) 2011-03-23 17:41:01 +00:00
MakeDistributions Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
Makefile Remove xdelta3 since it doesn't fit in with our current networking plans anymore 2012-11-16 15:40:28 +00:00
Makefile.common Split r3159..r3161, part 1: Makefile and MSVC project file changes. 2012-11-15 14:27:49 +00:00
Makefile.deps Remove xdelta3 since it doesn't fit in with our current networking plans anymore 2012-11-16 15:40:28 +00:00
Makefile.msvc Remove xdelta3 since it doesn't fit in with our current networking plans anymore 2012-11-16 15:40:28 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
nedmalloc.dll Remove built-in copy of nedmalloc and update nedmalloc.dll. Note that the built-in copy of nedmalloc hasn't been updated or enabled in a really long time as modern system allocators (Windows 7 and Linux 3.x at least) are no longer consistently beat by nedmalloc (but nor are they consistently faster). So, the dll remains for users of Windows XP because it may still improve performance there (while not likely degrading it on Vista/7). 2012-10-15 00:17:30 +00:00
osxbuild.sh Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
SEHELP.HLP STHELP.HLP/SEHELP.HLP: reference SE11 and ST23 from each other. 2012-09-08 22:18:47 +00:00
STHELP.HLP STHELP.HLP/SEHELP.HLP: reference SE11 and ST23 from each other. 2012-09-08 22:18:47 +00:00
tiles.cfg move tiles.cfg out of eduke32/samples/ into eduke32/ and update synthesis.sh to reflect that 2011-07-28 21:12:02 +00:00
wiibuild.bat Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00