Commit Graph

1726 Commits

Author SHA1 Message Date
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