Commit graph

495 commits

Author SHA1 Message Date
terminx
c4868aa2b6 git-svn-id: https://svn.eduke32.com/eduke32@448 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-06 06:02:45 +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
8a3ca3dbc4 git-svn-id: https://svn.eduke32.com/eduke32@445 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-05 23:40:37 +00:00
terminx
fc4bc3ef70 CON command for earthquakes
git-svn-id: https://svn.eduke32.com/eduke32@444 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-05 22:30:35 +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
cba58265b9 Control over the cache1d size...
git-svn-id: https://svn.eduke32.com/eduke32@442 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-02 02:27:57 +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
terminx
f74c413b68 git-svn-id: https://svn.eduke32.com/eduke32@438 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-28 20:36:38 +00:00
terminx
d2566913bb git-svn-id: https://svn.eduke32.com/eduke32@437 1a8010ca-5511-0410-912e-c29ae57300e0 2006-12-23 02:38:47 +00:00
Plagman
879a75817b More MSVC goodness.
git-svn-id: https://svn.eduke32.com/eduke32@436 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-22 15:04:49 +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
8d6eef5b0f More tiny optimizations I guess
git-svn-id: https://svn.eduke32.com/eduke32@433 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-21 09:33:26 +00:00
terminx
bc4139356a Prefer passing things between functions as int rather than short or char to avoid the overhead of converting back and forth between formats
git-svn-id: https://svn.eduke32.com/eduke32@432 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-20 03:27:25 +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
19115146ac Quite a few more optimizations
git-svn-id: https://svn.eduke32.com/eduke32@429 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 09:32:17 +00:00
terminx
d93dde5a59 Optimize some of the frequently used CON commands that have nasty overhead
git-svn-id: https://svn.eduke32.com/eduke32@428 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 08:37:12 +00:00
terminx
cb90dc8c83 This probably fixes something with projectiles
git-svn-id: https://svn.eduke32.com/eduke32@427 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 04:18:46 +00:00
terminx
15c080e73c Oops, I forgot to leave a space for the terminating character for the string here
git-svn-id: https://svn.eduke32.com/eduke32@426 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 04:18:29 +00:00
terminx
b04bfe58fb Removed orderweaponnum()
git-svn-id: https://svn.eduke32.com/eduke32@425 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-18 04:16:41 +00:00
terminx
aeaa03022d Heh, oops, that was totally backwards :)
git-svn-id: https://svn.eduke32.com/eduke32@424 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-17 21:48:21 +00:00
terminx
aaa84f3574 Stuff, and things.
git-svn-id: https://svn.eduke32.com/eduke32@423 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-17 21:20:35 +00:00
terminx
242eb24e3e This should allow map progression via nukebutton to work up to the 32 level limit, for all episodes.
git-svn-id: https://svn.eduke32.com/eduke32@422 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-17 03:21: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
a35a73796c Function for changing map in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@414 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 08:46:32 +00:00
terminx
760e784ffc Multiplayer code for "map" and "changelevel"
git-svn-id: https://svn.eduke32.com/eduke32@413 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 08:33:11 +00:00
terminx
35ea2d7ad1 Make sure map filenames always get slashes prepended to them, to make sure getlevelfromfilename() doesn't fail
git-svn-id: https://svn.eduke32.com/eduke32@412 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 07:25:01 +00:00
terminx
75563afd01 *yawn*
git-svn-id: https://svn.eduke32.com/eduke32@411 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 06:41:47 +00:00
terminx
998ced5cc4 More menu stuff
git-svn-id: https://svn.eduke32.com/eduke32@410 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 05:59:47 +00:00
terminx
401767810f Allow the startup screens to be skipped via mouse and allow the help and credits screens to be navigated via mouse as well
git-svn-id: https://svn.eduke32.com/eduke32@409 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 04:31:51 +00:00
terminx
d0f96d6c86 Mouse wheel support for the game menus
git-svn-id: https://svn.eduke32.com/eduke32@408 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-12 00:03:24 +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
c4147db020 Blah blah blah
git-svn-id: https://svn.eduke32.com/eduke32@400 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 21:53:33 +00:00
terminx
7017166f2d Oops
git-svn-id: https://svn.eduke32.com/eduke32@399 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 19:32:44 +00:00
terminx
169e0c824b Give most of the gamevar stuff its own object
git-svn-id: https://svn.eduke32.com/eduke32@398 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 06:49:01 +00:00
terminx
6b7ef5cd75 More optimizations
git-svn-id: https://svn.eduke32.com/eduke32@397 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 04:17:26 +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
0bd5f4a9e5 Uhh.. yeah
git-svn-id: https://svn.eduke32.com/eduke32@395 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 03:15:56 +00:00
terminx
d48c66b7ad I guess this is an optimization as well
git-svn-id: https://svn.eduke32.com/eduke32@394 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-10 01:52:35 +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
15ee3431f9 Check to see if the user map filename matches a defined level name and warp to that level instead of opening it as a user map
git-svn-id: https://svn.eduke32.com/eduke32@392 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-09 23:41:43 +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
c45445f8aa Null pointer checks for music filenames
git-svn-id: https://svn.eduke32.com/eduke32@389 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-06 23:14:49 +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
7dcd346352 This seems like a good idea...
git-svn-id: https://svn.eduke32.com/eduke32@386 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 21:51:24 +00:00
terminx
c8abb8384d Happy fun memory usage optimization
git-svn-id: https://svn.eduke32.com/eduke32@385 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 21:22:19 +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
9fc9365e2f Allow access to map12-map32 in multiplayer, and skip the ones that aren't defined
git-svn-id: https://svn.eduke32.com/eduke32@383 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-05 00:16:33 +00:00
terminx
44e9f75e48 I suppose it's probably a good idea not to crash when someone tries telling the game to warp to an undefined map
git-svn-id: https://svn.eduke32.com/eduke32@382 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 22:22:07 +00:00
terminx
57042cd9a7 This raises the max number of levels per episode to 32 and alters the game to use dynamically allocated memory for level and music names and filenames. No null pointer checks yet.
git-svn-id: https://svn.eduke32.com/eduke32@381 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 22:05:30 +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
42fe36d067 This makes -map bypass the menu in multiplayer
git-svn-id: https://svn.eduke32.com/eduke32@378 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-04 02:10:18 +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
fb06419c82 updatesectorz() -> updatesector()
I now have a clue about updatesectorz() breaking things. :o


git-svn-id: https://svn.eduke32.com/eduke32@376 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-02 06:00:49 +00:00
terminx
36f69beeb6 This should fix a bug with ifgotweaponce where the game had a rare chance of crashing and burning in cooperative
git-svn-id: https://svn.eduke32.com/eduke32@375 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 22:34:32 +00:00
terminx
0d22a2a208 Save the GRP file selected in the startup window to the cfg
git-svn-id: https://svn.eduke32.com/eduke32@374 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 04:22:16 +00:00
terminx
e35a1bdc33 I guess these checks are necessary, because if we don't have them, rmnet segfaults when it tries to strtok things that don't exist.
git-svn-id: https://svn.eduke32.com/eduke32@373 1a8010ca-5511-0410-912e-c29ae57300e0
2006-12-01 01:20:59 +00:00
terminx
f71b2cd2d9 updatesector() -> updatesectorz()
I have no clue if this breaks anything.


git-svn-id: https://svn.eduke32.com/eduke32@372 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:53:44 +00:00
terminx
5dda5b1660 Rename some functions and separate the player's weapon choice back out into its own packet, because we don't need to send it with player updates from the menu.
git-svn-id: https://svn.eduke32.com/eduke32@371 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 23:37:47 +00:00
terminx
da317ac063 One less hack :o
git-svn-id: https://svn.eduke32.com/eduke32@370 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 09:22:54 +00:00
terminx
69505e1cc2 git-svn-id: https://svn.eduke32.com/eduke32@369 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-30 06:54:01 +00:00
terminx
4f17d1299b Lag meter and a couple of MP fixes
git-svn-id: https://svn.eduke32.com/eduke32@368 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 04:36:20 +00:00
terminx
79f6c600d5 Multiplayer fixes. This solves the crash on map change issue.
git-svn-id: https://svn.eduke32.com/eduke32@367 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-30 02:09:51 +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
terminx
d7d9e82be0 Duke3d_w32 netcode... this compiles but doesn't work yet
git-svn-id: https://svn.eduke32.com/eduke32@362 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-28 04:16:20 +00:00
terminx
5ebab8df83 git-svn-id: https://svn.eduke32.com/eduke32@361 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-26 21:15:20 +00:00
terminx
8efa4670bb Support for using a different cfg file via command line
git-svn-id: https://svn.eduke32.com/eduke32@360 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-24 04:25:13 +00:00
terminx
cac0d84384 Fixes
git-svn-id: https://svn.eduke32.com/eduke32@359 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-22 01:25:35 +00:00
terminx
4de01782d3 Hm, I think this actually works correctly now
git-svn-id: https://svn.eduke32.com/eduke32@358 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-21 15:54:13 +00:00
terminx
3884546474 git-svn-id: https://svn.eduke32.com/eduke32@357 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-21 06:59:59 +00:00
terminx
a6a64c52b5 GL_EXP2 fog/shading re-adjustment... haha, whiners are going to crucify me.
git-svn-id: https://svn.eduke32.com/eduke32@356 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-21 05:38:22 +00:00
terminx
32c50b0c57 git-svn-id: https://svn.eduke32.com/eduke32@355 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-20 04:56:22 +00:00
terminx
b6f6873603 git-svn-id: https://svn.eduke32.com/eduke32@354 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-20 04:55:37 +00:00
terminx
20c261babd git-svn-id: https://svn.eduke32.com/eduke32@353 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-19 08:43:27 +00:00
terminx
715bc289e8 Fix "array subscript has type 'char'" warnings
git-svn-id: https://svn.eduke32.com/eduke32@352 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 08:24:46 +00:00
terminx
504ff2e8a4 Kill gamma in Mapster32 2D mode
git-svn-id: https://svn.eduke32.com/eduke32@351 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 07:31:03 +00:00
terminx
2d356245f2 git-svn-id: https://svn.eduke32.com/eduke32@350 1a8010ca-5511-0410-912e-c29ae57300e0 2006-11-19 07:09:43 +00:00
terminx
65dc97d55b More warning fixes
git-svn-id: https://svn.eduke32.com/eduke32@349 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 03:02:36 +00:00