raze/polymer/eduke32
helixhorned 3deb8d1d99 Clear up handling of g_*NamePtr in the game.
The primary change is that things have been made memory-clean.  Some of these
pointers may point to wildly different places during the course of the program
such as statically or dynamically allocated storage, the buffer returned by
getenv() (which must not be modified according to the docs), or an element of
argv[].  Consequently, we need to strdup, or better, dup_filename them if they
are ever to be passed to a function that modifies their pointed-to data.

Specifically:
 - added statics or consts according to usage
 - 3 new functions clear{Grp,Def,Script}NamePtr, only 'Def' one extern for now
 - in G_CheckCommandLine, don't strip 'const'; use Bstrncpyz where appropriate
 - remove multiple declarations

Also, warn if an application parameter has been ignored (not matched).

git-svn-id: https://svn.eduke32.com/eduke32@2561 1a8010ca-5511-0410-912e-c29ae57300e0
2012-03-28 19:44:00 +00:00
..
Apple OS X: Fix more warnings. 2012-03-26 05:04:21 +00:00
build New helper function "char *dup_filename(const char *fn)" in common.h. 2012-03-28 19:43:39 +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 Add the source .psd files for the EDuke32 logo and program icon to the repository. Though they are .psd, they are effectively vector because they utilize paths. 2012-02-25 02:57:59 +00:00
rsrc cosmetic: 2012-02-25 02:57:25 +00:00
samples Update samples/trueror1.map with some tests of sprites lying on TROR floors. 2012-02-16 19:25:56 +00:00
source Clear up handling of g_*NamePtr in the game. 2012-03-28 19:44:00 +00:00
Windows Fix building ebacktrace1.dll with versions of binutils/libbfd after 2.20.51-1. This removes the need to link and depend on libintl (for now). 2012-03-05 07:25:55 +00:00
backtrace.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +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.vcproj Very few actual changes... mostly formatting fixes from astyle 2010-01-23 22:12:02 +00:00
eduke32.vcxproj Multiplayer improvements 2011-02-25 21:50:19 +00:00
eduke32.vcxproj.filters Multiplayer improvements 2011-02-25 21:50:19 +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
libiconv2.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +00:00
libintl3.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +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 Add common.[ch] which should be used for common non-engine types/functions/data. 2012-03-26 22:03:20 +00:00
Makefile.common Makefile.common: comment out usage of llvm versions of ar and ranlib with clang. 2012-03-26 22:03:51 +00:00
Makefile.deps Trivial stuff that got accumulated and not committed. 2012-03-13 20:07:40 +00:00
Makefile.msvc Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation 2011-03-04 08:50:58 +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 Rebuild nedmalloc.dll using newest git sources 2012-02-19 04:07:14 +00:00
osxbuild.sh osxbuild.sh: more options and designation of presets 2012-03-26 05:07:42 +00:00
SEHELP.HLP Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
STHELP.HLP Global thermonuclear code rape 2010-08-02 08:13:51 +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