Commit graph

1868 commits

Author SHA1 Message Date
helixhorned
4fa07ed4af New sprite clipping for hitscan; crude debugging code for tracing down the crash that Commander is getting and I can reproduce only in real Windows with the synthesis build.
git-svn-id: https://svn.eduke32.com/eduke32@1721 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-30 20:32:06 +00:00
helixhorned
998bdb3a8b Fix crash. Reason was obsolete code.
git-svn-id: https://svn.eduke32.com/eduke32@1720 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-29 12:51:10 +00:00
helixhorned
f1caa980d0 Sector-like sprite clipping. Check samples/spriteclip.txt.
git-svn-id: https://svn.eduke32.com/eduke32@1719 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-28 20:17:22 +00:00
helixhorned
47be9ff8ce Temporarily replace drawpixels by a bounds-checked version in engine.c.
git-svn-id: https://svn.eduke32.com/eduke32@1718 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-24 21:52:21 +00:00
helixhorned
b126f6f6c8 Don't reset extra tags before loading map in Mapster32.
git-svn-id: https://svn.eduke32.com/eduke32@1717 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-22 23:12:59 +00:00
plagman
a925d39273 SDL and menu joystick fixes by NY00123 (thanks!).
git-svn-id: https://svn.eduke32.com/eduke32@1716 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-21 02:20:40 +00:00
Plagman
e0588e4a70 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.
git-svn-id: https://svn.eduke32.com/eduke32@1715 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-19 05:42:21 +00:00
plagman
5b987e8770 Package debug binaries in synthesis.
git-svn-id: https://svn.eduke32.com/eduke32@1714 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-19 04:39:54 +00:00
plagman
ee6548e6a9 Link debug builds with -rdynamic in order to get symbol names when printing backtraces from the signal handler.
git-svn-id: https://svn.eduke32.com/eduke32@1713 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-19 03:41:32 +00:00
helixhorned
e0874390ff New aspect determination code for classic/Polymost, controlled with r_usenewaspect and r_screenaspect cvars; print stack traces with SDL/GCC; change signature of app_main in game.c to match declarations found in other places and return different positive values on init error.
git-svn-id: https://svn.eduke32.com/eduke32@1712 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-17 14:49:39 +00:00
helixhorned
cb321a9d76 New CON command 'clipmovenoslide', doing the same as clipmove but stopping at collisions before sliding calculations. Fixes a problem with Mapster32 where names.h was tried to be read before setting up the search path.
git-svn-id: https://svn.eduke32.com/eduke32@1711 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-09 22:59:17 +00:00
helixhorned
036a88736c Mapster32: make sector keep old firstwall when adding inner loop, rewrite setfirstwall to use malloc'ed memory for temp storage instead of end of sector[], reintroduce correct searchwall determination in Polymer mouse picker (intersection of xy projection of aiming ray with wall); added commands to m32script: shiftvarvar[lr], ifhighlighted, ifin3dmode, updatehighlight, sethighlight; coded prototype terrain helper based on isolines and triangle strips.
git-svn-id: https://svn.eduke32.com/eduke32@1710 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-30 23:05:40 +00:00
helixhorned
bada760c56 Make pointer checking on save disabled by default.
git-svn-id: https://svn.eduke32.com/eduke32@1709 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-28 21:58:36 +00:00
helixhorned
91250f081c New CON commands:
* sectsetinterpolation <sector>
 * sectclearinterpolation <sector>
 * clipmove <<ret>> <<x>> <<y>> <z> <<sectnum>> <xvect> <yvect> <walldist> <floordist> <ceildist> <clipmask>
 * lineintersect  <x1> <y1> <z1>  <x2> <y2> <z2>  <x3> <y3>  <x4> <y4>  <<intx>> <<inty>> <<intz>> <<ret>>
 * rayintersect <x1> <y1> <z1>  <xv> <yv> <zv>  <x3> <y3>  <x4> <y4>  <<intx>> <<inty>> <<intz>> <<ret>>
 * calchypotenuse <<ret>> <x> <y>
(all except *interpolation also in m32script). Also fixes Sect_ClearInterpolation to be symmetrical to its Set counterpart (shouldnt change anything since it was unused). Added "-conversion YYYYMMDD" switch for keyword-compatibility with old mods.
Mapster32: invisible sprite preview with Quote-i.

git-svn-id: https://svn.eduke32.com/eduke32@1708 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-27 21:52:04 +00:00
terminx
68801322dc Automatically name savegames based on the map name instead of canceling the save if no name is entered
git-svn-id: https://svn.eduke32.com/eduke32@1707 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-14 18:19:38 +00:00
helixhorned
fec84e6dbb mapster32 fixes: aiming crash in polymer, more accurate aiming in polymost + calibration/replacement crosshair via "r_preview_mouseaim", 2 other crashes; fix "S" in tile selector, make read-only variable overridable with "script_expertmode", misc. beautifying.
git-svn-id: https://svn.eduke32.com/eduke32@1706 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-06 23:08:35 +00:00
terminx
a7c95286c2 msvc compile fix
git-svn-id: https://svn.eduke32.com/eduke32@1705 1a8010ca-5511-0410-912e-c29ae57300e0
2010-09-01 02:35:36 +00:00
plagman
ed17c7af80 Re-tie initial SDL mouse grabbing to DEBUGGINGAIDS.
git-svn-id: https://svn.eduke32.com/eduke32@1704 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-26 15:27:57 +00:00
plagman
1d28272c4a Correctly (I hope) handle the zoom argument of rotatesprite when drawing HUD models in Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1703 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-26 15:27:16 +00:00
plagman
3d31f645fb Add a few debug cvars for development purposes.
git-svn-id: https://svn.eduke32.com/eduke32@1702 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-26 15:24:12 +00:00
helixhorned
399a822fd7 Fixes various issues with selecting: sectors and duplicating them many times in a row, sprites and then deleting some of them (also adds set union ['] and difference [;] to RSHIFT); adds the ability to move all selected sprites in the XY plane in 3d mode with SHIFT-LMB and align to the grid in an absolute fashion with CTRL.
git-svn-id: https://svn.eduke32.com/eduke32@1701 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-26 13:50:09 +00:00
plagman
f5bd9e4ac5 Fix wrong interpretation of SPREXT_NOTMD that would cause it to assume the flag was set whenever any flag was set, causing the models to switch on and off in Duke Plus with Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1700 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-21 19:04:37 +00:00
plagman
99415a625f Polymost-style HUD model support for Polymer. It properly displays all HRP HUD models as far as I can tell.
git-svn-id: https://svn.eduke32.com/eduke32@1699 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-21 07:39:12 +00:00
helixhorned
7ae2a1071d Tweaks keys for the PR override vars once more. Keyboards are annoying.
git-svn-id: https://svn.eduke32.com/eduke32@1698 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-18 23:21:19 +00:00
helixhorned
917b924a0d Fixes crash in 2d map drawing where sector[-1] was accessed; added commands a2xy and ah2xyz to m32script, coded 2d preview of swinging and sliding doors; added "samprate" setting to configuration, useful if the default one gives jittering/echoey audio
git-svn-id: https://svn.eduke32.com/eduke32@1697 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-17 20:00:44 +00:00
helixhorned
b2988abb54 Search for named tile in tile selector ('S'); various bugfixes (among other things with PR-override vars)
git-svn-id: https://svn.eduke32.com/eduke32@1696 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-16 13:56:49 +00:00
helixhorned
c354695d60 bugfixes; mark tiles in tile selector for later grouping (press SPACE on a tile); a.m32: convert to CRLF and add [xyz]vel query in 3d mode (Alt-KP1), also different keys for Polymer override var tweaking; some CRLF->LF in LF-only files.
git-svn-id: https://svn.eduke32.com/eduke32@1695 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-14 21:32:28 +00:00
terminx
9ca26d9736 don't link build utils to all the libs needed for the actual engine itself
git-svn-id: https://svn.eduke32.com/eduke32@1694 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-13 06:45:38 +00:00
helixhorned
5e3d6ca527 Makefile cleanups: fixed building with GCC 3, made tabs into spaces where outside command context; Windows: make startup window stay 3 seconds if there was an error -- this way you won't mistake yourself forgetting to copy game data for a crash *d'oh*
git-svn-id: https://svn.eduke32.com/eduke32@1693 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-12 21:06:51 +00:00
helixhorned
6185aedded Fixes compilation for now. Now if my executable would start...
git-svn-id: https://svn.eduke32.com/eduke32@1692 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-12 13:38:37 +00:00
helixhorned
71e59a5502 A bunch of m32script additions, fixes and general stuff, among them: local vars/arrays, inline quotes and prettier error messages.
git-svn-id: https://svn.eduke32.com/eduke32@1691 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-11 22:37:45 +00:00
terminx
a2d2f0ed75 Fix some crashes with weapon sounds inappropriately set to -1 in the cons
git-svn-id: https://svn.eduke32.com/eduke32@1690 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-08 00:06:26 +00:00
terminx
ca382a894a Remove detection of sprites outside of sectors at map load and fix green sprites in Mapster32 with Polymer
git-svn-id: https://svn.eduke32.com/eduke32@1689 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 23:15:35 +00:00
terminx
1a214939d7 Possibly fix another weird crash
git-svn-id: https://svn.eduke32.com/eduke32@1688 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 23:14:23 +00:00
terminx
ba0958d49b This is not my day. >:
git-svn-id: https://svn.eduke32.com/eduke32@1687 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 23:06:28 +00:00
terminx
9f7c8d7a23 I am an idiot
git-svn-id: https://svn.eduke32.com/eduke32@1686 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 22:59:46 +00:00
terminx
b336d43f75 Another 64-bit crash fix
git-svn-id: https://svn.eduke32.com/eduke32@1685 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 22:52:58 +00:00
terminx
219b3204dd Fix bugs for DarkDefender
git-svn-id: https://svn.eduke32.com/eduke32@1684 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-07 22:38:15 +00:00
helixhorned
2f15e237f7 m32script: added BUILD functions getclosestcol and divscale, made 2d drawing commands accept VGA-palette colors (-1 through -255) in addition to editor colors, made 2d mode show Polymer SE light outlines
git-svn-id: https://svn.eduke32.com/eduke32@1683 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-03 22:21:13 +00:00
helixhorned
fff9bbadd9 added m32_autoexec.cfg execution on startup of mapster32 (like autoexec.cfg for the game); in 3d mode: shift-pgup/pgdn -> alt-pgup/pgdn for 2-sided walls
git-svn-id: https://svn.eduke32.com/eduke32@1682 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-03 17:45:44 +00:00
plagman
d9092fcd2b Implement 'away1' and 'away2' maphacks in Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1681 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-03 15:19:01 +00:00
plagman
10830a7f3f Respect the 'notmd' maphack when deciding to draw models in Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1680 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-03 15:06:24 +00:00
helixhorned
a1a5f9cb5a Partially fixes bug #3034382 and a few other ones.
git-svn-id: https://svn.eduke32.com/eduke32@1679 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-02 18:59:59 +00:00
terminx
c825727234 Damnit
git-svn-id: https://svn.eduke32.com/eduke32@1678 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-02 08:19:28 +00:00
terminx
a7eb0418d1 Global thermonuclear code rape
git-svn-id: https://svn.eduke32.com/eduke32@1677 1a8010ca-5511-0410-912e-c29ae57300e0
2010-08-02 08:13:51 +00:00
terminx
e1649ec722 Polymer performance improvement and some game related bug fixes. Improves Polymer framerate by about 25% in most cases and fixes problems causing Duke Caribbean doors to malfunction.
git-svn-id: https://svn.eduke32.com/eduke32@1676 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-26 22:36:45 +00:00
terminx
ceb217dec8 git-svn-id: https://svn.eduke32.com/eduke32@1675 1a8010ca-5511-0410-912e-c29ae57300e0 2010-07-26 22:35:09 +00:00
plagman
abbe41e97d Reorganize a little code so that lightmaps can be used when a spotlight isn't currently casting a shadow. This fixes the problem where the window lights in the E1L1 apartment secret would jump between square and circle-shaped depending on the shadowcount and the view angle.
git-svn-id: https://svn.eduke32.com/eduke32@1674 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-25 02:16:22 +00:00
terminx
8a3dd08b14 more multiplayer fixes
git-svn-id: https://svn.eduke32.com/eduke32@1673 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-22 20:29:09 +00:00
terminx
1102b74a35 mostly multiplayer fixes among other things
git-svn-id: https://svn.eduke32.com/eduke32@1672 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-19 15:14:00 +00:00
terminx
2335302486 fix screwed up movement in Mapster32
git-svn-id: https://svn.eduke32.com/eduke32@1671 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 21:38:13 +00:00
plagman
9853a66551 Fix build.
git-svn-id: https://svn.eduke32.com/eduke32@1670 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 19:33:29 +00:00
plagman
8fa536c83d Lose the quitflag check until we know while it gets out of sync between clients and server. This cause the new networking code to be somewhat usable again.
git-svn-id: https://svn.eduke32.com/eduke32@1669 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 08:59:58 +00:00
plagman
1374de7492 Fix multiplayer.
git-svn-id: https://svn.eduke32.com/eduke32@1668 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 08:10:15 +00:00
terminx
d62c6117fe Sound fixes... again. Also fixes SPINNINGNUKEICON visible in the upper left corner in widescreen.
git-svn-id: https://svn.eduke32.com/eduke32@1667 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 04:37:28 +00:00
terminx
7be36ebcd4 fix some crap
git-svn-id: https://svn.eduke32.com/eduke32@1666 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-05 01:45:29 +00:00
terminx
013ac85e2d Emit RPG_EXPLODE, PIPEBOMB_EXPODE and LASERTRIP_EXPLODE from the actual EXPLOSION2 sprite instead of whatever spawned EXPLOSION2, to prevent the sound from being owned by whatever sprite happens to spawn with the ID the RPG/pipebomb/whatever had before it was removed
Add brightness/gamma/contrast cvars to Mapster32

Fix bug with WEAPON_SEMIAUTO flag for custom weapons

Fix VM error with starttrack when specifying an invalid music track

Fix detection of 0x1a EOF characters in CON files

Fix a couple of additional sound issues

Fix crash in pushmove()

Fix Mapster32 textured 2D mode display being a few pixels off from the actual lines drawn

Fix crash when clicking "cancel" in Mapster32 startup window

Add Makefile detection to build with -march=pentium3 -mtune=generic on i686


git-svn-id: https://svn.eduke32.com/eduke32@1665 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-03 08:53:57 +00:00
plagman
a346acfccb Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect.
git-svn-id: https://svn.eduke32.com/eduke32@1664 1a8010ca-5511-0410-912e-c29ae57300e0
2010-07-02 01:26:56 +00:00
helixhorned
386c50d41c SDL/non-Windows: external midi playing with fork/exec and signals; double initprintf internal buffers since they got too long for the --help text; warn on replacing empty tile with a hightile; fix a keypad issue in Mapster32
git-svn-id: https://svn.eduke32.com/eduke32@1663 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-27 10:08:58 +00:00
terminx
0b5de0800a Final round (I hope!) of sound fixes. Should also fix the crash on exit on Windows and the REACTOR sprite size bug.
git-svn-id: https://svn.eduke32.com/eduke32@1662 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-26 08:51:42 +00:00
helixhorned
1905a1cf02 m32script: infinite loop safety halt (send a SIGINT), saved input history, states can be invoked without "state" keyword when in OSD
git-svn-id: https://svn.eduke32.com/eduke32@1661 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-25 23:01:54 +00:00
terminx
068d3c0e52 This is mostly just build fixes for USE_OPENGL=0, POLYMOST=0 and POLYMER=0. Also updated the precompiled libogg/libvorbis/libvorbisfile that are supplied for MinGW.
git-svn-id: https://svn.eduke32.com/eduke32@1660 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-23 04:20:46 +00:00
terminx
a32888140a Oops, forgot a file from ENet 1.3.0
git-svn-id: https://svn.eduke32.com/eduke32@1659 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-22 21:59:28 +00:00
terminx
9143833fc8 rotatesprite and multivoc have a rape baby
No, seriously.  Adds widescreen aware rotatesprite and works out half a dozen huge problems in the sound system, among other things.


git-svn-id: https://svn.eduke32.com/eduke32@1658 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-22 21:50:01 +00:00
terminx
4c3c64286a shading changes and fixes for a few crashes
git-svn-id: https://svn.eduke32.com/eduke32@1657 1a8010ca-5511-0410-912e-c29ae57300e0
2010-06-07 09:03:16 +00:00
terminx
d76817a361 Fix a couple of stupid typos and remove some dead code from Mapster32
git-svn-id: https://svn.eduke32.com/eduke32@1656 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-29 05:03:02 +00:00
helixhorned
ad0284b00c check limits in more places when drawing walls in 2d mode.
git-svn-id: https://svn.eduke32.com/eduke32@1655 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-28 23:08:32 +00:00
terminx
ff325e2205 probably fix snapshot filenames
git-svn-id: https://svn.eduke32.com/eduke32@1654 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-25 11:26:09 +00:00
terminx
1778d37b07 git-svn-id: https://svn.eduke32.com/eduke32@1653 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-25 11:00:42 +00:00
terminx
ac7767986a Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes
git-svn-id: https://svn.eduke32.com/eduke32@1652 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-25 10:56:00 +00:00
terminx
8ae2a7c1ac git-svn-id: https://svn.eduke32.com/eduke32@1651 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-25 10:47:52 +00:00
helixhorned
011a3ba327 forgot a file
git-svn-id: https://svn.eduke32.com/eduke32@1650 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-22 23:42:37 +00:00
helixhorned
02379ee1d2 More of them. Includes the possiblity of typing m32script commands directly into the OSD (without "do", see osdtryscript in mapster32.cfg) and improved diagnostics.
git-svn-id: https://svn.eduke32.com/eduke32@1649 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-22 23:41:18 +00:00
helixhorned
30877e925a more polymer-override variable twiddling in m32script, fixes and beautifying.
git-svn-id: https://svn.eduke32.com/eduke32@1648 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-22 14:04:47 +00:00
terminx
8120821f8d fix some breakage with the "load last game" screen that pops up when you die
git-svn-id: https://svn.eduke32.com/eduke32@1647 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-21 05:53:21 +00:00
terminx
7c3efce4cc fixes crashes when a bad model name is specified due to a typo I didn't notice after a find/replace
git-svn-id: https://svn.eduke32.com/eduke32@1646 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-20 06:05:46 +00:00
terminx
45052b8273 minor changes from my tree that I'm committing to test automated synthesis builds
git-svn-id: https://svn.eduke32.com/eduke32@1645 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-19 10:02:35 +00:00
helixhorned
8077dcd633 Mapster32 maintenance pack #1
The bulk of this commit is "code rape"--or rather, caressing, rewritten for readability.
Actual changes/fixes:
  - fixed "walking" in 2d mode
  - fixed DELETE key in OSD in SDL build
  - main loop in general (timeout for event wait after 200 ms so that highlights blink)
  - access to some pr_override* variables in m32script (suggested by Roma Loom)
  - API cleanup (added statics and consts here and there)

git-svn-id: https://svn.eduke32.com/eduke32@1644 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-18 05:14:17 +00:00
terminx
21192dfb48 Make nedmalloc a compile time option and add support for loading an external nedmalloc.dll at run time if it isn't compiled in
git-svn-id: https://svn.eduke32.com/eduke32@1643 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-18 00:30:30 +00:00
terminx
65b29ab092 win32 stuck input fix among other minor changes
git-svn-id: https://svn.eduke32.com/eduke32@1642 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-16 22:53:08 +00:00
plagman
9d27282ccd This should fix the build on unix platforms.
git-svn-id: https://svn.eduke32.com/eduke32@1641 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-16 22:42:22 +00:00
terminx
709c18a0e5 update to latest enet cvs
git-svn-id: https://svn.eduke32.com/eduke32@1640 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-15 09:07:49 +00:00
terminx
ddf83fbbf1 fix shrunk player speed
git-svn-id: https://svn.eduke32.com/eduke32@1639 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-14 12:40:24 +00:00
terminx
a77c4744c4 fix SwissCM's piece of shit corrupt map that will never be released because he has no friends who would want to play it
git-svn-id: https://svn.eduke32.com/eduke32@1638 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-12 00:53:35 +00:00
helixhorned
b1ffbfda36 Fixes some problems with mapster zooming; reset keystatus[] after playtesting.
git-svn-id: https://svn.eduke32.com/eduke32@1637 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-10 21:23:30 +00:00
plagman
7a9216ce93 Fix classic mode (typo broke it).
git-svn-id: https://svn.eduke32.com/eduke32@1636 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-10 03:11:15 +00:00
terminx
6b5ec5b3f6 fix a few more reported issues
git-svn-id: https://svn.eduke32.com/eduke32@1635 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-09 22:12:29 +00:00
terminx
3514722a74 fix input when using vsync
git-svn-id: https://svn.eduke32.com/eduke32@1634 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-09 08:51:25 +00:00
terminx
a6b614f6bf fix mouse positioning issue when using alt+tab on win32 and fix game speed at low framerates
git-svn-id: https://svn.eduke32.com/eduke32@1633 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-08 20:15:24 +00:00
terminx
bb21e1c05f Fixes anim playback, mouse lag with low fps, keyboard setup menu
git-svn-id: https://svn.eduke32.com/eduke32@1632 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-07 20:45:40 +00:00
terminx
e1649b9d0b git-svn-id: https://svn.eduke32.com/eduke32@1631 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-05 07:31:38 +00:00
terminx
cda6330cc2 fixes weird problems
git-svn-id: https://svn.eduke32.com/eduke32@1630 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-04 23:40:49 +00:00
terminx
c82a6b7ab0 fix a couple of issues with the new keyboard code
git-svn-id: https://svn.eduke32.com/eduke32@1629 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-03 10:32:38 +00:00
terminx
a8555ab644 fix version printed to eduke32.log... oops!
git-svn-id: https://svn.eduke32.com/eduke32@1628 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-03 10:21:04 +00:00
terminx
e665b96d1b MinGW build fix
git-svn-id: https://svn.eduke32.com/eduke32@1627 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-03 08:30:25 +00:00
terminx
b2baba827c git-svn-id: https://svn.eduke32.com/eduke32@1626 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-03 01:03:06 +00:00
terminx
45d93544a6 Source code "cleanup," herein referred to as "rape"
git-svn-id: https://svn.eduke32.com/eduke32@1625 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-02 23:27:30 +00:00
plagman
4ba108994c %esi gets modified by swapchar2 but isn't listed as an output operand for the GCC extended assembly version. This causes the compiler to fail to restore it after swapchar2 executes, causing crashes if used in a loop. This change fixes the security camera crash when using GCC 4.4.x or 4.5.0.
git-svn-id: https://svn.eduke32.com/eduke32@1624 1a8010ca-5511-0410-912e-c29ae57300e0
2010-04-26 04:55:42 +00:00
plagman
b0a27e4c34 Fail gracefully when processing (some) corrupt models instead of corrupting the heap and possibly crashing.
git-svn-id: https://svn.eduke32.com/eduke32@1623 1a8010ca-5511-0410-912e-c29ae57300e0
2010-04-26 00:51:44 +00:00
helixhorned
f7154d8c78 Various mapster32 fixes: check wall limits in sector drawing; don't count BACKSPACEing there as a new revision (probably fixes undo-related crashes). Also a patch-fix for a crash I couldn't pin down exactly and a corruption checker for m32script.
git-svn-id: https://svn.eduke32.com/eduke32@1622 1a8010ca-5511-0410-912e-c29ae57300e0
2010-04-19 21:22:26 +00:00
helixhorned
32a86d8fce m32: have default grid size in configuration
git-svn-id: https://svn.eduke32.com/eduke32@1621 1a8010ca-5511-0410-912e-c29ae57300e0
2010-04-11 13:04:53 +00:00
terminx
0c63340d4a Fix building engine utils w/ nedmalloc
git-svn-id: https://svn.eduke32.com/eduke32@1620 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-26 02:53:22 +00:00
terminx
375824cbb8 fix array read/write commands
git-svn-id: https://svn.eduke32.com/eduke32@1619 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-18 09:10:43 +00:00
terminx
1fe4cfb36f git-svn-id: https://svn.eduke32.com/eduke32@1618 1a8010ca-5511-0410-912e-c29ae57300e0 2010-03-17 07:40:13 +00:00
terminx
e7f91d9b84 further animlib improvements... like the previous commits, this probably speeds up playback of giant .anm files on very slow systems (handhelds like the Dingoo, etc)
git-svn-id: https://svn.eduke32.com/eduke32@1617 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-15 00:06:48 +00:00
helixhorned
36564f5070 fixes line numbering in CONs
git-svn-id: https://svn.eduke32.com/eduke32@1616 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-14 15:49:03 +00:00
terminx
3515f603af git-svn-id: https://svn.eduke32.com/eduke32@1615 1a8010ca-5511-0410-912e-c29ae57300e0 2010-03-14 11:42:13 +00:00
terminx
150678ce7b git-svn-id: https://svn.eduke32.com/eduke32@1614 1a8010ca-5511-0410-912e-c29ae57300e0 2010-03-14 11:15:53 +00:00
helixhorned
99c1dddf65 Ups entering of sprite extra in 3d mode from 1024 to 65536. Also a toy for tinkering with tints in mapster.
git-svn-id: https://svn.eduke32.com/eduke32@1613 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-12 23:28:10 +00:00
terminx
2027f7089f git-svn-id: https://svn.eduke32.com/eduke32@1612 1a8010ca-5511-0410-912e-c29ae57300e0 2010-03-12 06:21:06 +00:00
terminx
4c863a0625 Misc changes. Probably breaks something, but probably fixes something else!
git-svn-id: https://svn.eduke32.com/eduke32@1611 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-12 05:50:30 +00:00
helixhorned
8854ea2dbb Save last rendered texture tempoarily in memory when precaching. This cuts about 10 percent on initial precaching time on the average (E1-3 L1-4, current HRP). Also don't precache special palettes that the user hasn't chosen to render (saves a few % maybe) or models (can be substantial).
git-svn-id: https://svn.eduke32.com/eduke32@1610 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-11 23:35:22 +00:00
plagman
e7c9ce8624 Model specular map support and polymer fix for the OSX/ATI driver.
git-svn-id: https://svn.eduke32.com/eduke32@1609 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-07 01:09:39 +00:00
plagman
2b734bb6d0 Add proper DEF tokens for normal scale/bias in model skins.
git-svn-id: https://svn.eduke32.com/eduke32@1608 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-07 00:09:00 +00:00
terminx
3a48576bfb fix for underwater ceiling issue
git-svn-id: https://svn.eduke32.com/eduke32@1607 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-04 12:03:32 +00:00
terminx
da1bdf711c Better mouse fix?
git-svn-id: https://svn.eduke32.com/eduke32@1606 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-03 01:43:34 +00:00
terminx
33780b42e9 Fix a couple of bugs
git-svn-id: https://svn.eduke32.com/eduke32@1605 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-03 01:37:27 +00:00
terminx
ebeee01510 Rewrote gametext_z() and renamed it to G_PrintGameText(). Other (very) minor changes.
git-svn-id: https://svn.eduke32.com/eduke32@1604 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-02 22:49:26 +00:00
terminx
e00aeef384 Fix for mouse stalls at < 10 fps
git-svn-id: https://svn.eduke32.com/eduke32@1603 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-02 22:44:12 +00:00
terminx
abee6af03e force r_vbos to 0 for Polymost on ATI R520
git-svn-id: https://svn.eduke32.com/eduke32@1602 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-01 09:13:25 +00:00
terminx
55acd2b3fa internal sound handling changes/optimizations, seems to be working and shouldn't affect end users
git-svn-id: https://svn.eduke32.com/eduke32@1601 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-01 09:09:26 +00:00
terminx
c2ad42b303 Fix crash when calling rotatesprite from CON with invalid coordinates
git-svn-id: https://svn.eduke32.com/eduke32@1600 1a8010ca-5511-0410-912e-c29ae57300e0
2010-03-01 03:04:57 +00:00
terminx
c369aec8cc Minor formatting changes, fix nedmalloc on BSD, fix win32 joystick detection issue, fix for ambient sounds, possible fix for stopsound malfunctioning after extended play time, add CON compilation error for duplicate "break" in switch statement
git-svn-id: https://svn.eduke32.com/eduke32@1599 1a8010ca-5511-0410-912e-c29ae57300e0
2010-02-23 18:13:46 +00:00
helixhorned
512535c53f EDuke32: new demo system should be stable now; Made the $EDUKE32_MUSIC_CMD env var work (SDL only).
Mapster32: Helper feature -- pressing SHIFT on a 2-sided wall makes the PGUP/PGDN etc. commands operate on the sector at the other end of the wall; replaced searchstat numbers by #defined names and eliminated the worst cases of code duplication in astub.c

git-svn-id: https://svn.eduke32.com/eduke32@1598 1a8010ca-5511-0410-912e-c29ae57300e0
2010-02-13 21:46:42 +00:00
qbix79
eb464d45f9 Fix some 64 bit casts.
git-svn-id: https://svn.eduke32.com/eduke32@1597 1a8010ca-5511-0410-912e-c29ae57300e0
2010-02-10 18:20:30 +00:00
plagman
386a93c366 This is an attempt to fix r1595.
- pr_resetlights() was exported but polymer.c wasn't changed to reflect that. This also broke the gcc build so I'm not sure how this was missed.
 - commented code was laying around in the middle of polymer.h
 - savegame.c using a bunch of C99 non-constant initializers. Please keep in mind that MSVC is one of the supported compilers and doesn't know C99.
 - savegame.c using localtime_r, which doesn't exist on Win32.
 - demo playback calling resetlights and drawrooms without ever calling pr_loadboard().
 - this change makes the game run very choppy here.

git-svn-id: https://svn.eduke32.com/eduke32@1596 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-25 01:11:34 +00:00
helixhorned
eb5f59ca7f Improved demo system. Kick ass and watch :)\
Features:  * start recording in mid-game (ScrollLock)
           * saves interleaved diffs for later sync correction
           * supports fast-forward/rewind

Some work still needed to trace down remaining sync problems. Also be sure to check the demo* cvars.

git-svn-id: https://svn.eduke32.com/eduke32@1595 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-24 23:33:17 +00:00
plagman
0d6dc3a531 Model normal mapping support. This calculates the averaged texture-tangent basis for every face of every model when loading them, so this change will make startup times a lot worse until we implement a way to cache the computed models to disk.
git-svn-id: https://svn.eduke32.com/eduke32@1594 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-24 05:57:43 +00:00
terminx
e65891aad6 Very few actual changes... mostly formatting fixes from astyle
git-svn-id: https://svn.eduke32.com/eduke32@1593 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-23 22:12:02 +00:00
terminx
addf597188 More nedmalloc updates, possibly fix win32 mouse death at ~10 fps or less, fix dummytile crash, more untested multiplayer changes... different enet channels for different types of traffic in order to eliminate latency due to the occasional reliable packet getting dropped, therefore causing a hitch in the flow of unreliable movement packets on the same channel, remove mmulti API from engine in favor of having everything in game land
git-svn-id: https://svn.eduke32.com/eduke32@1592 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-21 10:02:04 +00:00
plagman
f3802b7897 Properly invert the tangent space matrix instead of transposing it (after all, model tangent space isn't guaranteed to be orthogonal) and do so offline. This removes a little strain from the GPU.
git-svn-id: https://svn.eduke32.com/eduke32@1591 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-21 05:52:19 +00:00
terminx
11c9195317 Fix building with MSVC
git-svn-id: https://svn.eduke32.com/eduke32@1590 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-18 11:40:40 +00:00
plagman
80b6a96901 This should correctly compute the normal of all BUILD floors and walls. Fixes bug 2806174 (E1L1 projection room floor not affected by light and parallaxing artifacts).
git-svn-id: https://svn.eduke32.com/eduke32@1589 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-18 07:07:22 +00:00
plagman
86fefa266d This should be the correct type for aGlobalMemoryStatusEx.
git-svn-id: https://svn.eduke32.com/eduke32@1588 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-17 20:08:03 +00:00
terminx
66e7dd15c2 Clean out remaining changes from tree... this is mostly crap like variable name cleanup
git-svn-id: https://svn.eduke32.com/eduke32@1587 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-16 23:08:17 +00:00
terminx
15b9665dc6 Update nedmalloc, fix loading tiles from .art files contained in a .zip, workaround GCC 4.4.x squarerotatetile() miscompilation issue
git-svn-id: https://svn.eduke32.com/eduke32@1586 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-16 20:17:33 +00:00
plagman
00fcc1851d Don't process the SDL_mixer effect if we're not done initializing.
git-svn-id: https://svn.eduke32.com/eduke32@1585 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-11 19:00:32 +00:00
plagman
9642d027d3 Annnnnd revert something I didn't mean to commit.
git-svn-id: https://svn.eduke32.com/eduke32@1584 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-11 17:26:44 +00:00
plagman
f0be341352 Fences access to common resources between the possible SDL_mixer effect thread and the rest of the audio code.
git-svn-id: https://svn.eduke32.com/eduke32@1583 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-11 17:25:47 +00:00
terminx
4917be2439 more semi-tested multiplayer changes and sound callback fix
git-svn-id: https://svn.eduke32.com/eduke32@1582 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-05 21:53:14 +00:00
plagman
f543a69ab8 Fixes a bug when you can't enable music from the sounds menu. Not sure why this line had a multiplayer-related check before rev 1574 yet.
git-svn-id: https://svn.eduke32.com/eduke32@1581 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-05 14:22:46 +00:00
plagman
fb85ae604f Changing S_TestSoundCallback() back to what it was before revision 1490 since calling into MultiVoc from the DirectSound buffer worker thread can cause deadlocks. TODO: make the callback value accurately point to the sound instance. Maybe change the type to intptr_t and directly pass a pointer?
git-svn-id: https://svn.eduke32.com/eduke32@1580 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-05 04:57:51 +00:00
helixhorned
102b702fc0 m32script fixes and additions
git-svn-id: https://svn.eduke32.com/eduke32@1579 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-04 14:38:29 +00:00
plagman
3bc78ac5d4 Adds code to disable the Vista/7 DWM when setting OpenGL modes. This buys some OpenGL performance in windowed mode and works around an ATI OpenGL driver bug.
git-svn-id: https://svn.eduke32.com/eduke32@1578 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-04 06:01:34 +00:00
plagman
9b1d03d2cc Hook the polymer map selection code to a few more places in the editor code. This will fix the screen turning greenish when selecting a pal with Alt-P. I could just drop the selection from these cases since the cursor can't actually move, but then people would ask why the FPS gets higher in this occurrences.
git-svn-id: https://svn.eduke32.com/eduke32@1577 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-02 17:29:31 +00:00
plagman
bbdb36692e Revert part of revision 1540 which broke E2L4 and parts of E2L5.
git-svn-id: https://svn.eduke32.com/eduke32@1576 1a8010ca-5511-0410-912e-c29ae57300e0
2010-01-01 08:26:23 +00:00
plagman
5621ad5983 This fixes a small problem with the mapster32 polymer selection code.
git-svn-id: https://svn.eduke32.com/eduke32@1575 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-31 10:00:21 +00:00
terminx
3cb09fd6ba further multiplayer improvements
git-svn-id: https://svn.eduke32.com/eduke32@1574 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-30 23:07:00 +00:00
terminx
8c015f48f3 Cleaning out tree in case I can't work on anything for a while... more multiplay fixes
git-svn-id: https://svn.eduke32.com/eduke32@1573 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-17 11:17:48 +00:00
terminx
2bb322377e more multiplayer crap
git-svn-id: https://svn.eduke32.com/eduke32@1572 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-15 05:53:15 +00:00
terminx
730b9d2c1d more multiplay fixes + server password support + client ping time display
git-svn-id: https://svn.eduke32.com/eduke32@1571 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 20:14:12 +00:00
terminx
18f098ba93 more multiplayer fixes
git-svn-id: https://svn.eduke32.com/eduke32@1570 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 09:54:11 +00:00
plagman
e38f060ce8 This fixes a renderer crash with external view + lights.
git-svn-id: https://svn.eduke32.com/eduke32@1569 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 07:08:21 +00:00
plagman
6e819ce0d0 Package more files in synthesis at H266's request.
git-svn-id: https://svn.eduke32.com/eduke32@1568 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 05:51:07 +00:00
terminx
b46bd5fa19 A bunch of multiplayer improvements
git-svn-id: https://svn.eduke32.com/eduke32@1567 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 05:23:29 +00:00
plagman
410c1187d1 Fix wall and sector updating over the wire so that it doesn't crash.
git-svn-id: https://svn.eduke32.com/eduke32@1566 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-13 05:13:59 +00:00
plagman
3c018e64ce Fix the San Andreas texture fix in some cases.
git-svn-id: https://svn.eduke32.com/eduke32@1565 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-13 01:54:29 +00:00
plagman
ce20870e21 Fix the build with POLYMER=0 or USE_OPENGL=0.
git-svn-id: https://svn.eduke32.com/eduke32@1564 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-13 01:23:44 +00:00
plagman
a5eb3903b2 Correct an error with rev 1556 that would cause drawing problems with parallaxed ceilings.
git-svn-id: https://svn.eduke32.com/eduke32@1563 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-12 22:06:41 +00:00
plagman
923eeb6f06 Change the BUILD Makefiles to properly link the tools against nedmalloc.
git-svn-id: https://svn.eduke32.com/eduke32@1562 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-12 20:14:13 +00:00
terminx
04ef6e8bde oops
git-svn-id: https://svn.eduke32.com/eduke32@1561 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-12 12:04:18 +00:00
terminx
952fc43e3c multiplayer fixes
git-svn-id: https://svn.eduke32.com/eduke32@1560 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-12 11:07:59 +00:00
plagman
173edd4b3f Port of the San Andreas fault texture alignment fix from Hunter_rus to Polymer. I have no idea what it does, but it works and the last thing I want to do is to mess with build texture alignment ever again.
git-svn-id: https://svn.eduke32.com/eduke32@1559 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-09 07:03:25 +00:00
plagman
8733c63e5b Remove some dead code. Cstat 16384 was properly implemented at the top of polymer_drawsprite(), so no need for this hack anymore.
git-svn-id: https://svn.eduke32.com/eduke32@1558 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-08 06:02:58 +00:00
plagman
4bd5f5de87 Don't overwrite hictinting[MAXPALOOKUPS-1].f when resetting the fullscreen tint hack. This fixes a bug where detail maps lighten models.
git-svn-id: https://svn.eduke32.com/eduke32@1557 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-08 05:57:31 +00:00
plagman
9f62cf5cb4 Don't cache sector parallaxing information in _prwalls. This fixes a bug where setting floor/ceiling parallaxing bits in the editor doesn't parallax the corresponding walls right away.
git-svn-id: https://svn.eduke32.com/eduke32@1556 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-07 07:17:33 +00:00
plagman
0888dbc38e Correct ceiling palette and shade validation in Polymer. That fix prevents changes to a ceiling palettes or shade from being ignored until the sector gets otherwise invalidated.
git-svn-id: https://svn.eduke32.com/eduke32@1555 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-07 07:04:57 +00:00
plagman
905abc3091 Proper editor picking code for Polymer. Also fixes a bunch of tabs that MSVC snuck in polymer.c.
git-svn-id: https://svn.eduke32.com/eduke32@1554 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-07 07:01:44 +00:00
plagman
1a1ba2b0b1 Don't change the CWD to the eduke32.exe directory on Windows. EDuke32 now searches the CWD for data files on all platforms.
git-svn-id: https://svn.eduke32.com/eduke32@1553 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-06 05:46:48 +00:00
terminx
44575d7e2c Ball-busting true client-server multiplayer prototype/alpha/whatever
git-svn-id: https://svn.eduke32.com/eduke32@1552 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-05 09:22:43 +00:00
plagman
0bd458fa42 Don't rely on repeating texture samplers to flip polymer sprites and request clamped textures for sprite textures. Fixes bug 2869362.
git-svn-id: https://svn.eduke32.com/eduke32@1551 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 07:37:34 +00:00
plagman
20cade406c Make polymer impervious to corrupt maps (for the tenth time..). Fixes bug 2869996.
git-svn-id: https://svn.eduke32.com/eduke32@1550 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 06:21:39 +00:00
plagman
a8cbeaa0f7 Don't save the OpenGL driver max texture size to the config file and remove some remaining instrumentation from rev 1546.
git-svn-id: https://svn.eduke32.com/eduke32@1549 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 05:38:09 +00:00
plagman
179997f969 Don't overflow scantoasc[] with high scancodes. This makes the 'T' key work in the console on my laptop.
git-svn-id: https://svn.eduke32.com/eduke32@1548 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 04:41:09 +00:00
plagman
281fc8e8ab Don't change the CWD to the eduke32.exe directory on Windows. EDuke32 now searches the CWD for data files on all platforms.
git-svn-id: https://svn.eduke32.com/eduke32@1547 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 03:11:41 +00:00
plagman
4d3b7501f0 Fixes a compressed texture cache bug where the background menu tile would sometime get replaced with another tile.
git-svn-id: https://svn.eduke32.com/eduke32@1546 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-03 03:07:04 +00:00
terminx
433c2cb607 some CON compilation fixes
git-svn-id: https://svn.eduke32.com/eduke32@1545 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-20 03:54:40 +00:00
terminx
1770c60af6 Second gtk startup window patch from bioman, other random fixes I can't be bothered to remember
git-svn-id: https://svn.eduke32.com/eduke32@1544 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-18 01:17:56 +00:00
terminx
094079d8dd fix glaring oversight in new multiplayer random ID generation scheme
git-svn-id: https://svn.eduke32.com/eduke32@1543 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-16 03:57:31 +00:00
helixhorned
b468afc867 fixes wall drawing (bug introduced in r1540)
git-svn-id: https://svn.eduke32.com/eduke32@1542 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-15 20:01:33 +00:00
terminx
7199818841 lower memory use for tilefromtexture by way of lzf compression, untested
git-svn-id: https://svn.eduke32.com/eduke32@1541 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-15 09:10:50 +00:00
terminx
2c9aeac2d5 A bunch of crap I meant to commit days ago... gtk startup window patch from bioman, nedmalloc REPLACE_SYSTEM_ALLOCATOR fix (related code uses #ifdef REPLACE_SYSTEM_ALLOCATOR so defining it to 0 was still satisfying the condition), slightly lower CPU usage in Mapster 2D mode, fix an ancient bug causing the player to not make vent footstep sounds on sprite based vents, fix map save state cvars, add "skill" cvar to console, fix saving the game while CON_SHOWVIEW is in use
git-svn-id: https://svn.eduke32.com/eduke32@1540 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-14 02:30:47 +00:00
qbix79
1573ee6e17 Fix 64 bit problems after viewing a security cam.
git-svn-id: https://svn.eduke32.com/eduke32@1539 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-04 08:11:21 +00:00
helixhorned
73d0b92d92 more demo control + sound access for m32script
git-svn-id: https://svn.eduke32.com/eduke32@1538 1a8010ca-5511-0410-912e-c29ae57300e0
2009-11-01 20:30:09 +00:00
terminx
784e919941 Change multiplayer random ID generation scheme and remove some dead code
git-svn-id: https://svn.eduke32.com/eduke32@1537 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-29 22:22:44 +00:00
helixhorned
d6f525b44b crude demo fast-forward/rewind; more m32script goodness
git-svn-id: https://svn.eduke32.com/eduke32@1536 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-25 23:25:38 +00:00
terminx
9a39896b82 git-svn-id: https://svn.eduke32.com/eduke32@1535 1a8010ca-5511-0410-912e-c29ae57300e0 2009-10-18 02:59:31 +00:00
terminx
4e4ef98ae6 clean up "renderer setup" menu a bit so we can put polymer shit in it later
git-svn-id: https://svn.eduke32.com/eduke32@1534 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-17 09:33:32 +00:00
plagman
cfc8b8d3da Don't override the system allocator with nedmalloc and remove the unused nedmalloc code from polymer.c. This should fix a few crashes caused by ALSA and Mesa picking up memory allocator symbols from eduke32.
git-svn-id: https://svn.eduke32.com/eduke32@1533 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-17 06:27:46 +00:00
terminx
a6dec44579 Fixes mouse on win32 and some other relatively minor issues, drops win9x support, adds BUILD_NOLARGEPAGES and BUILD_WIN9X environment var support to disable large page support and force 9x to pass OS version check, fixes issue with crosshair turning white during the next run after starting the game with a new cfg but quitting at the menu instead of entering a level
git-svn-id: https://svn.eduke32.com/eduke32@1532 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-15 23:08:47 +00:00
plagman
53691113d4 Don't do interpolations if they're already being done. This would cause problems when using showview inside EVENT_DISPLAYROOMS.
git-svn-id: https://svn.eduke32.com/eduke32@1531 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-15 16:02:55 +00:00
helixhorned
256c729910 relocated some key events
git-svn-id: https://svn.eduke32.com/eduke32@1530 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-11 20:13:16 +00:00
helixhorned
fb7efbd4b7 small fix
git-svn-id: https://svn.eduke32.com/eduke32@1529 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-11 16:18:06 +00:00
helixhorned
4bde7fddac m32script conveniece
git-svn-id: https://svn.eduke32.com/eduke32@1528 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-11 15:52:16 +00:00
terminx
20c028b2e9 Memory cleanups, use Bm/c/realloc/free everywhere (configured as nedmalloc version in compat.h), add large page support for Vista/7, tweak nedmalloc settings, add support for projecting textures from SE50 spotlights placed in maps via sprite owner member (manipulated through CONs via sprite htpicnum member), fix building Mapster32 with MSVC, increase PR_MAXLIGHTS to 1024
git-svn-id: https://svn.eduke32.com/eduke32@1527 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-07 06:47:35 +00:00
plagman
58194cb281 Fix specpower and specfactor definitions for diffuse maps.
git-svn-id: https://svn.eduke32.com/eduke32@1526 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-04 15:41:40 +00:00
terminx
4a24bcc0ea better version of the 16x16 icon from hendricks266
git-svn-id: https://svn.eduke32.com/eduke32@1525 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-04 02:58:15 +00:00
plagman
9429ba4133 Don't crash when adding spotlights from gameland because of uninitialized mylight.tilenum.
git-svn-id: https://svn.eduke32.com/eduke32@1524 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-03 21:14:42 +00:00
terminx
1a587a73a5 fix for ogg clicks and segfaults from JF
git-svn-id: https://svn.eduke32.com/eduke32@1523 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-03 14:34:05 +00:00
helixhorned
b9579e9db0 The actual "stuff"...
git-svn-id: https://svn.eduke32.com/eduke32@1522 1a8010ca-5511-0410-912e-c29ae57300e0
2009-10-03 13:33:47 +00:00