Commit Graph

297 Commits

Author SHA1 Message Date
Plagman 94a22e4d62 Rewrote half of polymer.c, HSR still needs a bit of work but I believe the end is near.
git-svn-id: https://svn.eduke32.com/eduke32@551 1a8010ca-5511-0410-912e-c29ae57300e0
2007-07-01 06:32:03 +00:00
terminx d8dfd8beb4 Misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
2007-06-12 19:47:34 +00:00
terminx 22b4b23240 git-svn-id: https://svn.eduke32.com/eduke32@547 1a8010ca-5511-0410-912e-c29ae57300e0 2007-06-02 04:14:10 +00:00
terminx 35afa5ff53 git-svn-id: https://svn.eduke32.com/eduke32@546 1a8010ca-5511-0410-912e-c29ae57300e0 2007-05-17 19:31:14 +00:00
terminx fecd0c6e44 bleh
git-svn-id: https://svn.eduke32.com/eduke32@544 1a8010ca-5511-0410-912e-c29ae57300e0
2007-05-01 04:35:27 +00:00
terminx 4ec4aac70f Speed up HRP loading
git-svn-id: https://svn.eduke32.com/eduke32@543 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-30 19:41:19 +00:00
terminx d7b35528a0 git-svn-id: https://svn.eduke32.com/eduke32@541 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-23 23:36:21 +00:00
terminx 2148b4bebc Window position memory for win32
git-svn-id: https://svn.eduke32.com/eduke32@540 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-22 03:44:54 +00:00
terminx fc287ec735 Prototype for user-defined tile groups
git-svn-id: https://svn.eduke32.com/eduke32@536 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-21 20:25:07 +00:00
terminx 423a486b61 Scale tiles in polymost tile viewer to bigger sizes
git-svn-id: https://svn.eduke32.com/eduke32@535 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-17 07:47:21 +00:00
terminx 62ae233489 Newer tile selector from Mapfun and some other stuff
git-svn-id: https://svn.eduke32.com/eduke32@534 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-17 05:54:12 +00:00
Plagman 2440ab75b9 The Abyss crash fix.
git-svn-id: https://svn.eduke32.com/eduke32@533 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-16 02:15:43 +00:00
terminx a5388fc0a4 git-svn-id: https://svn.eduke32.com/eduke32@532 1a8010ca-5511-0410-912e-c29ae57300e0 2007-04-15 20:04:52 +00:00
Plagman a71d347f83 smoothduration def token for model frame definitions (defaults at 0)
git-svn-id: https://svn.eduke32.com/eduke32@531 1a8010ca-5511-0410-912e-c29ae57300e0
2007-04-12 03:09:41 +00:00
Plagman fc613042a0 Working commit for animation smoothing. Pretty much breaks everything that relied on fixed-frame transitions (muzzledlashes) but makes stuff look good otherwise. Needs a DEF-hook to control which frames should be smoothed.
git-svn-id: https://svn.eduke32.com/eduke32@530 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-30 18:02:00 +00:00
terminx b54b8e1e6b git-svn-id: https://svn.eduke32.com/eduke32@529 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-24 23:17:56 +00:00
terminx 4785f64476 git-svn-id: https://svn.eduke32.com/eduke32@528 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-22 20:58:13 +00:00
Plagman 456f144451 Blah.
git-svn-id: https://svn.eduke32.com/eduke32@527 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-22 18:40:26 +00:00
Plagman cc8ae625d6 Fix.
git-svn-id: https://svn.eduke32.com/eduke32@526 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-22 18:36:23 +00:00
Plagman 004e4da3de Game angle interpolation (cl_angleinterpolation) and engine model animation smoothing (r_animsmoothing).
git-svn-id: https://svn.eduke32.com/eduke32@525 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-22 18:28:41 +00:00
terminx 4b4d37cf3f git-svn-id: https://svn.eduke32.com/eduke32@523 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-13 18:37:46 +00:00
Plagman 3081c87724 Support for Vertex Buffer Objects (r_vbos, r_vbocount).
git-svn-id: https://svn.eduke32.com/eduke32@519 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-08 03:07:10 +00:00
terminx 070c38a85e git-svn-id: https://svn.eduke32.com/eduke32@515 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-07 20:18:48 +00:00
terminx 67efe33c18 Small things
git-svn-id: https://svn.eduke32.com/eduke32@514 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-04 19:52:57 +00:00
Plagman 3f5f1b8fb2 Corrected issues with detailmaps scaling, improved general model drawing performance and added support for using vertex arrays when drawing models (r_vertexarrays)
git-svn-id: https://svn.eduke32.com/eduke32@513 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-03 23:09:40 +00:00
Plagman 19719cf7fb Detail map scaling.
git-svn-id: https://svn.eduke32.com/eduke32@512 1a8010ca-5511-0410-912e-c29ae57300e0
2007-03-01 18:19:11 +00:00
terminx 8e86c02364 git-svn-id: https://svn.eduke32.com/eduke32@511 1a8010ca-5511-0410-912e-c29ae57300e0 2007-03-01 00:50:59 +00:00
terminx 23dbb55689 Bug fixes
git-svn-id: https://svn.eduke32.com/eduke32@508 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-26 01:46:38 +00:00
terminx 0dfc03afa0 Fixes the skybox problem, the problem with the default keyboard configuration, and adds cl_viewbob and cl_weaponsway
git-svn-id: https://svn.eduke32.com/eduke32@506 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-23 22:27:22 +00:00
Plagman 6440b48ec8 Added xscale and yscale DEF tokens to texture blocks to control the size ratio with the ART.
git-svn-id: https://svn.eduke32.com/eduke32@504 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-17 02:23:50 +00:00
Plagman 8c462256c0 HUD detail and glow maps.
git-svn-id: https://svn.eduke32.com/eduke32@503 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 17:44:59 +00:00
Plagman b436f4fb71 Various fixes and detail texturing on models.
git-svn-id: https://svn.eduke32.com/eduke32@501 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 01:34:41 +00:00
terminx d3af85c064 Some crap I didn't commit before
git-svn-id: https://svn.eduke32.com/eduke32@500 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-16 00:11:25 +00:00
Plagman 39c818d053 Avoid loading textures two times.
git-svn-id: https://svn.eduke32.com/eduke32@499 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 22:26:50 +00:00
terminx b48a0a933b git-svn-id: https://svn.eduke32.com/eduke32@498 1a8010ca-5511-0410-912e-c29ae57300e0 2007-02-15 01:45:38 +00:00
Plagman 3dd47da766 Glow mapping !
git-svn-id: https://svn.eduke32.com/eduke32@497 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-15 01:35:34 +00:00
terminx ac95cded34 This fixes the fog issue described here: http://forums.3drealms.com/vb/showpost.php?p=492096
git-svn-id: https://svn.eduke32.com/eduke32@490 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-12 21:52:23 +00:00
terminx ee4573779c Remove JFAud until it works right
git-svn-id: https://svn.eduke32.com/eduke32@483 1a8010ca-5511-0410-912e-c29ae57300e0
2007-02-07 00:13:47 +00:00
terminx 0a1afbd3f3 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@480 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-30 02:04:14 +00:00
terminx 6ff2a7d2cc This fixes the issue with running in 16-bit color, and it doesn't look like it breaks depth peeling...
git-svn-id: https://svn.eduke32.com/eduke32@479 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 23:01:28 +00:00
terminx ef81aee7be The mouse wheel was backwards on Win32... I think this fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@478 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 03:21:12 +00:00
terminx 4c1a6e6ce1 Fixes for http://forums.3drealms.com/vb/showpost.php?p=481243 and possibly http://forums.3drealms.com/vb/showpost.php?p=480994
git-svn-id: https://svn.eduke32.com/eduke32@477 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:19:49 +00:00
terminx 64ec370c98 dos2unix on the engine headers
git-svn-id: https://svn.eduke32.com/eduke32@476 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-29 01:18:16 +00:00
Plagman d7832a7d4f Winlayer keyboard input fix for OSD buffer issues and removed blending in drawrooms.
git-svn-id: https://svn.eduke32.com/eduke32@475 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 22:37:48 +00:00
terminx c21558f2a3 Minor crap
git-svn-id: https://svn.eduke32.com/eduke32@474 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 21:12:05 +00:00
Plagman 1b5284aee0 Fixes blending in drawrooms and dynamic GLU not compiling in Win32.
git-svn-id: https://svn.eduke32.com/eduke32@473 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 20:29:36 +00:00
terminx 50559c7a32 Re-done player setup menu, support for 4 teams in multiplayer, and separate menu options for weapon switch on pickup and weapon switch when empty. The string with __DATE__ and __TIME__ in it (which is used in the first line of the log file) was moved to global.c so that we're no longer forcing game.c to be recompiled every time something else is changed.
git-svn-id: https://svn.eduke32.com/eduke32@471 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 00:28:44 +00:00
terminx f1d10f4c8c Packet rate control
git-svn-id: https://svn.eduke32.com/eduke32@470 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 21:24:35 +00:00
terminx f628faefd8 Misc. fixes
git-svn-id: https://svn.eduke32.com/eduke32@469 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-24 03:42:54 +00:00
terminx 23a468d956 git-svn-id: https://svn.eduke32.com/eduke32@468 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-22 05:00:57 +00:00
terminx fe9004fafe Support for -ww2gi, -nam, -cfg, -usecwd, -h, and -j in Mapster32. Because I am lazy, this is all code from game.c.
git-svn-id: https://svn.eduke32.com/eduke32@464 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-21 23:49:07 +00:00
terminx 44e869c8d9 Misc minor things
git-svn-id: https://svn.eduke32.com/eduke32@463 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-20 03:10:32 +00:00
terminx a94063e0be Dynamically loaded GLU
git-svn-id: https://svn.eduke32.com/eduke32@462 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-16 03:19:04 +00:00
Plagman 43657d4f56 GL State leak correction : no more diffuse map disappearance.
git-svn-id: https://svn.eduke32.com/eduke32@461 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 12:17:01 +00:00
Plagman 581fd77c35 Asking the end-user to have sexual intercourse with his family is not that cool.
git-svn-id: https://svn.eduke32.com/eduke32@460 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:22:13 +00:00
Plagman 59ef78ff35 Detail mapping : r_detailmapping.
git-svn-id: https://svn.eduke32.com/eduke32@459 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 09:08:57 +00:00
terminx 530edf77b8 MAXSPRITESONSCREEN = 4096 and a few other things
git-svn-id: https://svn.eduke32.com/eduke32@458 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 05:46:49 +00:00
terminx c7def8d139 This makes Mapster32 go into 3D mode at startup only if the map's start position is inside of a sector. This means that you won't end up in 3D mode on a blank map anymore if you have an empty newboard.map in your directory.
git-svn-id: https://svn.eduke32.com/eduke32@456 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:38:21 +00:00
Plagman 8a5a966cd0 Restored fullbrights, improved depth peeling, tweaked MSVC support for JFAud.
git-svn-id: https://svn.eduke32.com/eduke32@454 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-14 07:00:29 +00:00
terminx 8e84d072c2 It looks like handleevents() returns true when the window loses focus, so the processor was maxing out again if Mapster was running but wasn't the active window. This fixes that.
git-svn-id: https://svn.eduke32.com/eduke32@451 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 05:49:09 +00:00
terminx 3205ee4fd1 git-svn-id: https://svn.eduke32.com/eduke32@450 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-12 05:05:19 +00:00
terminx d6aa1e6c85 More consistent console scroll speed (especially with a low framerate)
This still seems to screw up sometimes.


git-svn-id: https://svn.eduke32.com/eduke32@449 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 09:50:02 +00:00
Plagman 70bf6c9102 Minor fixes.
git-svn-id: https://svn.eduke32.com/eduke32@447 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 05:11:14 +00:00
Plagman 5a7cceb19d Second draft of depth peeling code. It should be in a usable state, although still slow as hell.
git-svn-id: https://svn.eduke32.com/eduke32@446 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-06 01:29:45 +00:00
terminx 7c89d81fda Fix/add some of the stuff in http://forums.3drealms.com/vb/showpost.php?p=468104
git-svn-id: https://svn.eduke32.com/eduke32@443 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-04 07:15:17 +00:00
terminx ad6cfa105e Mouse sensitivity stuff
git-svn-id: https://svn.eduke32.com/eduke32@441 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-02 02:27:31 +00:00
Plagman 4bc6daa489 Sorting is back.
git-svn-id: https://svn.eduke32.com/eduke32@440 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-31 06:41:57 +00:00
Plagman 08e4113086 Broken depth peeling.
git-svn-id: https://svn.eduke32.com/eduke32@439 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-31 06:32:04 +00:00
Plagman 3d16de2d56 MD2 rotation issues should be fixed now (untested).
git-svn-id: https://svn.eduke32.com/eduke32@435 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 15:18:50 +00:00
Plagman 87556300bf EDuke32 now compiles okay with the Microsoft compiler using NMake.
git-svn-id: https://svn.eduke32.com/eduke32@434 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 12:53:11 +00:00
terminx 2705563578 Minor things such as un-breaking setvarvar :)
git-svn-id: https://svn.eduke32.com/eduke32@431 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-19 20:31:40 +00:00
terminx 31775358e6 Death to local variables
git-svn-id: https://svn.eduke32.com/eduke32@430 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 21:29:55 +00:00
terminx a236be837c git-svn-id: https://svn.eduke32.com/eduke32@421 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-17 01:08:39 +00:00
Plagman 5c4f5b3744 Fixed memory leaks issues with converted MD3s.
git-svn-id: https://svn.eduke32.com/eduke32@420 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-16 23:18:11 +00:00
terminx ccb6ff7141 Minor fixes and a couple of improvements to the fake AI players
git-svn-id: https://svn.eduke32.com/eduke32@419 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-15 01:09:25 +00:00
terminx cd4e66b71a Faster movement in Mapster32.
git-svn-id: https://svn.eduke32.com/eduke32@418 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 08:50:18 +00:00
terminx a68248896c I wonder how this feature is going to come back to bite me in the ass later
git-svn-id: https://svn.eduke32.com/eduke32@417 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 04:13:19 +00:00
terminx dc0dea7c09 Update checking for win32...
git-svn-id: https://svn.eduke32.com/eduke32@416 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-14 03:34:55 +00:00
terminx 991d785e73 Add an extra noapply flag to setbrightness() so we can invalidate just the 8 bit textures.
git-svn-id: https://svn.eduke32.com/eduke32@415 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 09:28:37 +00:00
terminx 7e405214c5 Oops, I accidentally made 3D mode teh slows.
git-svn-id: https://svn.eduke32.com/eduke32@407 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 22:23:56 +00:00
terminx e7d1346248 This makes the editor quite a bit friendlier in terms of CPU usage. After checking for input, we wait for 1 ms if none was reported.
git-svn-id: https://svn.eduke32.com/eduke32@406 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:56:00 +00:00
terminx 215e0fb0c6 This makes the console work in Mapster32 2D mode when Polymost is selected
git-svn-id: https://svn.eduke32.com/eduke32@405 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:21:41 +00:00
terminx 3509a4dc8c Fixes
git-svn-id: https://svn.eduke32.com/eduke32@404 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 21:18:21 +00:00
terminx 3d867963b9 Support for a version string to stick in the lower right hand corner of the OSD
git-svn-id: https://svn.eduke32.com/eduke32@403 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 04:38:10 +00:00
terminx 5d79272ac2 Separate input capturing from OSD drawing so that we don't have to wait for the OSD to scroll off the screen to un-grab everything
git-svn-id: https://svn.eduke32.com/eduke32@402 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 03:32:43 +00:00
terminx 286dd4b519 This makes the console slide on and off of the screen and also print out a list of everything that matches when auto-completing something
git-svn-id: https://svn.eduke32.com/eduke32@401 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-11 03:06:49 +00:00
terminx 70a60c34f9 More of an optimization
git-svn-id: https://svn.eduke32.com/eduke32@396 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:35:45 +00:00
terminx d0ef9e1133 I guess this is some kind of an optimization :o
git-svn-id: https://svn.eduke32.com/eduke32@393 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:21:30 +00:00
terminx e11f4c9afb Better alt-tab support for fullscreen OpenGL on win32
git-svn-id: https://svn.eduke32.com/eduke32@391 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-08 16:45:12 +00:00
terminx f8e113ce03 Pitch and roll control for maphacks
git-svn-id: https://svn.eduke32.com/eduke32@390 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-07 23:56:35 +00:00
terminx bee93c60b7 git-svn-id: https://svn.eduke32.com/eduke32@388 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-06 06:27:07 +00:00
terminx a53a03eb88 ATI fog fix
git-svn-id: https://svn.eduke32.com/eduke32@387 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 23:14:14 +00:00
terminx ccb93c19d8 Palette stuff... hijack hictinting[MAXPALOOKUPS-1] for use as a tint control on all hightile assets. This way, NVG and underwater tinting in Polymost doesn't interfere with the ps[].pals tinting that palfrom sets in the CONs.
git-svn-id: https://svn.eduke32.com/eduke32@384 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 20:39:29 +00:00
terminx 3a811040af La la la
git-svn-id: https://svn.eduke32.com/eduke32@380 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 04:12:14 +00:00
terminx e4afb39e66 git-svn-id: https://svn.eduke32.com/eduke32@379 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-04 04:08:14 +00:00
terminx b93ae5baa9 Blar.
git-svn-id: https://svn.eduke32.com/eduke32@377 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-03 00:27:43 +00:00
terminx 2515d19746 Okay, so that was a bad idea.
git-svn-id: https://svn.eduke32.com/eduke32@366 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-29 21:49:44 +00:00
terminx 270d573af3 Hmm..
git-svn-id: https://svn.eduke32.com/eduke32@365 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-29 10:30:25 +00:00
terminx 44fcea85a8 Makefile switch for which networking code to use
git-svn-id: https://svn.eduke32.com/eduke32@364 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 22:53:11 +00:00
terminx 8727166e24 I wish I knew why this doesn't work
git-svn-id: https://svn.eduke32.com/eduke32@363 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 16:23:37 +00:00