engine.c: style tweaks (tighter var. declaration) in sprite drawing functions.

git-svn-id: http://svn.eduke32.com/eduke32@4809 1a8010ca-5511-0410-912e-c29ae57300e0
engine.c: prevent an oob access of uwall[] in ceilspritescan().

git-svn-id: http://svn.eduke32.com/eduke32@4810 1a8010ca-5511-0410-912e-c29ae57300e0
Move g_noFloorPal[] to the engine side and adapt other stuff accordingly.

- 'nofloorpalrange' DEF token: now handled for both game and editor (for the
  latter, it's effective only for "shade preview" mode, [']+[X]).
- in generatefogpals(), assign g_noFloorPal[] = 1 for every generated (default)
  fog pal; get rid of its return value / g_firstFogPal

git-svn-id: http://svn.eduke32.com/eduke32@4811 1a8010ca-5511-0410-912e-c29ae57300e0
Pull setting g_noFloorPal[] further down, into makepalookup().

Now passed as last arg 'noFloorPal' to makepalookup(). Used as follows:
- from loadlookups(): *false*, i.e. do take over floor pal.
- from generatefogpals() [default fog pals] and fillemptylookups(): *true*,
  i.e. don't take over floor pal
- from DEF 'fogpal': true
- from DEF 'makepalookup': take over flag from pal from which we are remapping,
  or set to true if remapping from pal 0
- (CROSSHAIR_PAL: true)

This should make the issue reported in
 http://forums.duke4.net/topic/775-eduke32-20-and-polymer/page__view__findpost__p__197583
resolve in a natural manner.

git-svn-id: http://svn.eduke32.com/eduke32@4812 1a8010ca-5511-0410-912e-c29ae57300e0
DEF: fix handling of 'remappal' attribute for 'makepalookup'.

git-svn-id: http://svn.eduke32.com/eduke32@4813 1a8010ca-5511-0410-912e-c29ae57300e0
LunaCON: expose more members, properly handle setting ud.screen_size.

BUILD_LUNATIC.

git-svn-id: http://svn.eduke32.com/eduke32@4814 1a8010ca-5511-0410-912e-c29ae57300e0
Lunatic: show on-screen errors even in passive menu; fix '(display)rand*' for large values.

Also, some minor style cleanup in game.c. DONT_BUILD.

git-svn-id: http://svn.eduke32.com/eduke32@4815 1a8010ca-5511-0410-912e-c29ae57300e0
Lunatic: for '(display)rand*', use math.floor(); correct create_additive_trans() help.

DONT_BUILD.

git-svn-id: http://svn.eduke32.com/eduke32@4816 1a8010ca-5511-0410-912e-c29ae57300e0
Makefile.common: in non-release builds, explicitly pass -fno-omit-frame-pointer.

So that stack traces can be gotten with optimized DEBUGANYWAY builds, e.g. for
Linux's 'perf' --> flame graphs. DONT_BUILD.

git-svn-id: http://svn.eduke32.com/eduke32@4817 1a8010ca-5511-0410-912e-c29ae57300e0