Commit graph

524 commits

Author SHA1 Message Date
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
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
terminx
50d1a03dbc Move screenshot code to getpackets() to allow screenshots in the menu and in cutscenes and add some snd_ cvars and a restartsound console command.
git-svn-id: https://svn.eduke32.com/eduke32@472 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-26 05:16:10 +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
8ca2a3f33b This adds -game_dir for Mapster, too.
git-svn-id: https://svn.eduke32.com/eduke32@467 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 03:10:09 +00:00
terminx
e0e4dfdabd This fixes using .cfg files that are outside of the game directory.
git-svn-id: https://svn.eduke32.com/eduke32@466 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:49:58 +00:00
terminx
76c2340c83 Support for -game_dir similar to Duke3d_w32
git-svn-id: https://svn.eduke32.com/eduke32@465 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-22 02:35:54 +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
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
699f26d1e7 This changes the map scaling feature to operate on sectors selected in the editor rather than the whole map
git-svn-id: https://svn.eduke32.com/eduke32@457 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-15 00:59:49 +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
197cf82051 Compile
git-svn-id: https://svn.eduke32.com/eduke32@453 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 23:24:13 +00:00
terminx
7b0104e9a1 JFAud
git-svn-id: https://svn.eduke32.com/eduke32@452 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 22:42:19 +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
c4868aa2b6 git-svn-id: https://svn.eduke32.com/eduke32@448 1a8010ca-5511-0410-912e-c29ae57300e0 2007-01-06 06:02:45 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
terminx
1b91c1bae3 This probably fixes building with SDL on Windows
git-svn-id: https://svn.eduke32.com/eduke32@346 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-18 08:46:58 +00:00
terminx
44e32d9300 Oops, I guess this would help... ;)
git-svn-id: https://svn.eduke32.com/eduke32@345 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-18 08:18:11 +00:00
terminx
80c51ac2de Fix some gcc4 warnings
git-svn-id: https://svn.eduke32.com/eduke32@344 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-18 08:13:33 +00:00
terminx
453c1f9649 Blar
git-svn-id: https://svn.eduke32.com/eduke32@343 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-17 08:22:52 +00:00
terminx
3413ff8dd9 A couple of SDL-related fixes
git-svn-id: https://svn.eduke32.com/eduke32@342 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-17 05:05:16 +00:00
terminx
0207e4fb79 WW2GI "support"
git-svn-id: https://svn.eduke32.com/eduke32@341 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 23:06:16 +00:00
terminx
59a260956e Remove more redundancy
git-svn-id: https://svn.eduke32.com/eduke32@340 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 08:57:13 +00:00
terminx
62c19ced26 Shitcan unixvoc.c and make multivoc.c work under *nix
git-svn-id: https://svn.eduke32.com/eduke32@339 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 08:51:07 +00:00
terminx
a75a1eb10c Fixes
git-svn-id: https://svn.eduke32.com/eduke32@338 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:25:32 +00:00
terminx
bbbccb7b11 Hopefully the last of the formatting changes + sound support for Linux. Previous commit also fixes the mouse cursor grab issue.
git-svn-id: https://svn.eduke32.com/eduke32@337 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:02:42 +00:00
terminx
628ef41cc4 An additional crapload of formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@335 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:16:55 +00:00
terminx
38e3d16aeb More formatting changes
git-svn-id: https://svn.eduke32.com/eduke32@333 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-14 21:35:50 +00:00
terminx
8127c07f45 Dump debug.con and debug.map on insertsprite() failure
git-svn-id: https://svn.eduke32.com/eduke32@332 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-14 19:58:59 +00:00
terminx
37dea75dc6 Formatting change
git-svn-id: https://svn.eduke32.com/eduke32@331 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-13 23:12:47 +00:00
terminx
f80b65cfb3 CON access to getincangle(), and usage of myconnectindex for EVENT_GETMENUTILE and EVENT_GETLOADTILE. This lets us force menu options to certain values while the player is in the menu via setuserdef.
git-svn-id: https://svn.eduke32.com/eduke32@329 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-06 22:14:27 +00:00
terminx
44d1866c5a Fix http://forums.3drealms.com/vb/showpost.php?p=439437 and bump demo/savegame version number due to a change in the size of the spriteext struct
git-svn-id: https://svn.eduke32.com/eduke32@328 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-05 06:54:22 +00:00
terminx
90eb35a551 Oops
git-svn-id: https://svn.eduke32.com/eduke32@327 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-01 23:40:15 +00:00
terminx
59f5ab835f Fix building without GL and Polymost
git-svn-id: https://svn.eduke32.com/eduke32@324 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-29 20:18:04 +00:00
terminx
f83fe0c7d3 Boredom
git-svn-id: https://svn.eduke32.com/eduke32@323 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-24 03:13:45 +00:00
terminx
e6fa910614 Best map par time tracking from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@322 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-23 21:47:28 +00:00
terminx
fc172fe3ea git-svn-id: https://svn.eduke32.com/eduke32@321 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-20 01:17:32 +00:00
terminx
28e6c029ce Move the window title setting code to the beginning of enterlevel(), so that it updates before the loading screen is displayed rather than after
git-svn-id: https://svn.eduke32.com/eduke32@319 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 17:16:35 +00:00
terminx
3584d01dcc git-svn-id: https://svn.eduke32.com/eduke32@318 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-19 07:26:33 +00:00
terminx
eac09688bc Nothing important
git-svn-id: https://svn.eduke32.com/eduke32@317 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 00:45:36 +00:00
terminx
96c035d63b Added a quote message for DNMONSTERS, fixed a MSVC compile error
git-svn-id: https://svn.eduke32.com/eduke32@314 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-17 01:12:31 +00:00
terminx
047524688f git-svn-id: https://svn.eduke32.com/eduke32@312 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-15 18:59:45 +00:00
Plagman
6b635120d4 Frustum clipping and cliplanes for map limits. Performance should be alright now.
git-svn-id: https://svn.eduke32.com/eduke32@311 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-15 18:51:41 +00:00
Plagman
9002a68e64 Polymer cliplanes and FOV.
git-svn-id: https://svn.eduke32.com/eduke32@310 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-14 23:33:10 +00:00
terminx
cbade0ca16 git-svn-id: https://svn.eduke32.com/eduke32@309 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-10 23:04:38 +00:00
terminx
ae3a91cc06 git-svn-id: https://svn.eduke32.com/eduke32@308 1a8010ca-5511-0410-912e-c29ae57300e0 2006-10-05 07:39:37 +00:00
terminx
9c8c6f421e This fixes a problem with using 'ifp' from within actors other than APLAYER.
git-svn-id: https://svn.eduke32.com/eduke32@306 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-03 01:17:01 +00:00
terminx
5019235983 qstrlen
git-svn-id: https://svn.eduke32.com/eduke32@305 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-30 06:51:48 +00:00
terminx
a4c411d637 Whitespace
git-svn-id: https://svn.eduke32.com/eduke32@303 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-29 05:01:33 +00:00
terminx
ec89d845aa Swap the qstrcpy parameters and fix the issue with frozen players
git-svn-id: https://svn.eduke32.com/eduke32@302 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-28 00:32:22 +00:00
terminx
784dfe8aa7 Blah blah blah
git-svn-id: https://svn.eduke32.com/eduke32@299 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-24 04:44:54 +00:00
terminx
55392349bb git-svn-id: https://svn.eduke32.com/eduke32@298 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-21 20:10:51 +00:00
terminx
ac7ca6aa75 Minor fixes...
git-svn-id: https://svn.eduke32.com/eduke32@297 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-20 07:23:25 +00:00
terminx
4f021f4736 New event/userdef CON extensions to allow fiddling with the movement interpolation in multiplayer.
git-svn-id: https://svn.eduke32.com/eduke32@296 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-19 23:02:33 +00:00
terminx
d961d235a5 git-svn-id: https://svn.eduke32.com/eduke32@293 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-12 00:51:50 +00:00
terminx
6db5e70888 git-svn-id: https://svn.eduke32.com/eduke32@292 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-10 17:40:34 +00:00
terminx
f14861b77a git-svn-id: https://svn.eduke32.com/eduke32@291 1a8010ca-5511-0410-912e-c29ae57300e0 2006-09-07 17:46:00 +00:00
terminx
e2ccbf6870 Replaced the 'dynquote' primitive with 'qsprintf' and fixed a parsing bug with some of the level and sound name definition stuff.
git-svn-id: https://svn.eduke32.com/eduke32@290 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-06 04:18:28 +00:00
terminx
11e8db76a8 Fix from JonoF for using a joystick in combination with SDLayer.
git-svn-id: https://svn.eduke32.com/eduke32@289 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-02 02:34:29 +00:00
terminx
c0f93c2aad Add a missing header, fix a config file bug and switch "exponentially" for "dramatically" in the texture caching dialog.
git-svn-id: https://svn.eduke32.com/eduke32@288 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-02 01:40:20 +00:00
terminx
c1bb2adb2c Fix an OOS problem with TDM. I want to punch whoever came up with sync based networking in the balls. :D
git-svn-id: https://svn.eduke32.com/eduke32@287 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 19:05:23 +00:00
terminx
138a4ab95f Makefile shite
git-svn-id: https://svn.eduke32.com/eduke32@285 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 01:54:23 +00:00
Plagman
0a0f399ba0 More Polymer (for win32 platform, still test code), added polymost.h for external access to some structs and funcs.
git-svn-id: https://svn.eduke32.com/eduke32@283 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-30 23:32:39 +00:00
terminx
102b17f743 Oops.
git-svn-id: https://svn.eduke32.com/eduke32@282 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-29 20:26:55 +00:00
terminx
36afe510ed This makes the faster weapon switching work a bit better in my opinion.
git-svn-id: https://svn.eduke32.com/eduke32@281 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-29 19:22:41 +00:00
terminx
60d78a27f3 Added a hack to offset the shadows of sprites a bit so there's no flickering at the base of the sprite.
git-svn-id: https://svn.eduke32.com/eduke32@280 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-29 08:07:06 +00:00
terminx
8765f0a215 Added some commands for getting the current compiled CON ptr and jumping to another location
git-svn-id: https://svn.eduke32.com/eduke32@277 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-28 19:18:05 +00:00
terminx
b4ed27fa7d Somebody needed an 'ezshootvar'. These commands are getting ridiculous.
git-svn-id: https://svn.eduke32.com/eduke32@276 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 21:02:06 +00:00
terminx
f369ba745c The bits2 member of the input struct has been renamed to extbits, and a proper fix for the strange OOS issues has been implemented.
git-svn-id: https://svn.eduke32.com/eduke32@275 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-22 05:38:59 +00:00
terminx
daa3b7b7a7 Fix for a crash when using rancidmeat network config files, fix for the "vote succeeded" message that's supposed to display when a multiplayer map vote passes, and a fix for an issue with the new game menu that I noticed when I accidentally used 1.4/1.5 CON files with the shareware GRP.
git-svn-id: https://svn.eduke32.com/eduke32@274 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 21:00:54 +00:00
terminx
827eb34b95 Fix for a problem with the automatic color selection setting for player color and add some additional informational text to the screen when someone has called a vote.
git-svn-id: https://svn.eduke32.com/eduke32@273 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 07:43:45 +00:00
terminx
511a6517cb I guess I'll use palette 21 for the red team instead of palette 10, though palette 10 does look better with the original sprites.
git-svn-id: https://svn.eduke32.com/eduke32@272 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-21 06:57:39 +00:00
terminx
20b89b70b3 More TDM stuff and a potential fix for a networking problem.
git-svn-id: https://svn.eduke32.com/eduke32@271 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-20 22:17:12 +00:00
terminx
c312a89e02 A couple more TDM things, including making the built in bots not attack players on the same team. However, this can leave them in a rather hilarious state in which they twitch in place in the middle of a room. It's almost as funny as watching them spin around kicking the walls.
git-svn-id: https://svn.eduke32.com/eduke32@270 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-19 01:30:40 +00:00
terminx
a7bad3d852 Team DukeMatch support
git-svn-id: https://svn.eduke32.com/eduke32@268 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-18 23:52:26 +00:00
terminx
929ab76c77 'useractor' protection for newbies. :/
git-svn-id: https://svn.eduke32.com/eduke32@267 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-17 23:07:43 +00:00
terminx
35df54c3a8 Text color fixes
git-svn-id: https://svn.eduke32.com/eduke32@266 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-15 17:15:23 +00:00
terminx
e0bccd9709 Add 'buildlic.txt' to source and binary distributions.
git-svn-id: https://svn.eduke32.com/eduke32@263 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-14 20:36:30 +00:00
terminx
cc1925110a This makes the dialog that asks you on first startup whether or not you want to enable the on-disk texture caching work again.
git-svn-id: https://svn.eduke32.com/eduke32@261 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-10 02:10:24 +00:00
terminx
897bfa7a0e Fix building with USE_OPENGL = 0 and POLYMOST = 0
git-svn-id: https://svn.eduke32.com/eduke32@259 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 19:57:53 +00:00
terminx
660815a3fd CON fix from JFDuke that I missed somewhere along the line + SDL mousewheel fix from Mephisto
git-svn-id: https://svn.eduke32.com/eduke32@258 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-07 06:18:57 +00:00
terminx
b68ea8f84f Fix for a bug with multiplayer demos causing the game to remain in a multiplayer mode after loading a single player savegame
git-svn-id: https://svn.eduke32.com/eduke32@256 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-04 01:13:31 +00:00
terminx
268521021f I guess this needs to throw warnings instead of errors, or else NAM and some other mods with problems will break.
git-svn-id: https://svn.eduke32.com/eduke32@255 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-04 00:57:27 +00:00
terminx
f467ebaf3e This is better.
git-svn-id: https://svn.eduke32.com/eduke32@254 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-03 03:14:43 +00:00
terminx
5b211422da Added detection for stupid mistakes people make with the 'move' command and doubled the CACHE1D size when not using JFAud.
git-svn-id: https://svn.eduke32.com/eduke32@253 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-02 20:51:50 +00:00
terminx
665a322312 Mapster32 crash fix and a couple of small projectile system changes
git-svn-id: https://svn.eduke32.com/eduke32@252 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-30 01:48:52 +00:00
terminx
564b220add Remove 'txdist' keyword
git-svn-id: https://svn.eduke32.com/eduke32@251 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-29 00:17:46 +00:00
terminx
590ba29bf3 This commit is effectively nothing
git-svn-id: https://svn.eduke32.com/eduke32@250 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-27 01:51:06 +00:00
terminx
a66440c908 A few cleanups
We're also no longer using upx -9 in MakeDistributions, because it breaks binaries


git-svn-id: https://svn.eduke32.com/eduke32@249 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-26 01:10:33 +00:00
terminx
4918ba6fde Formatting fixes for build.c, config.c, engine.c and polymost.c plus some warning fixes from JonoF and some cfg file reading changes for the game
git-svn-id: https://svn.eduke32.com/eduke32@248 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-24 02:47:47 +00:00
terminx
2a1b4418ad Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@247 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-23 21:12:46 +00:00
terminx
cf9f8a101c Disable parental lock in NAM
git-svn-id: https://svn.eduke32.com/eduke32@245 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 23:02:08 +00:00
terminx
931df593c1 We need to set ud.multimode before checkcommandline() or fake multiplayer mode doesn't work
git-svn-id: https://svn.eduke32.com/eduke32@242 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 05:49:55 +00:00
terminx
d404dd8ead Fixes from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@241 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 05:20:25 +00:00
terminx
3e9584a144 Warning fix
git-svn-id: https://svn.eduke32.com/eduke32@239 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 03:11:31 +00:00
terminx
9fcbb72c59 GRP loading fixes
git-svn-id: https://svn.eduke32.com/eduke32@236 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 02:54:07 +00:00
terminx
7cd91e3fc2 NAM support
git-svn-id: https://svn.eduke32.com/eduke32@234 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 00:53:20 +00:00
terminx
2cea1c5a9f Oops
git-svn-id: https://svn.eduke32.com/eduke32@233 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-22 00:06:57 +00:00
terminx
d33bcb97a8 Misc cleanups
git-svn-id: https://svn.eduke32.com/eduke32@232 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-21 22:25:05 +00:00
terminx
17f698c991 Add "aborted" messages for special function menu options
git-svn-id: https://svn.eduke32.com/eduke32@227 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 20:52:18 +00:00
terminx
f752e9a873 More boredom
git-svn-id: https://svn.eduke32.com/eduke32@226 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 17:33:56 +00:00
terminx
d9e51bc8ac Boredom.
git-svn-id: https://svn.eduke32.com/eduke32@225 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-20 05:02:55 +00:00
terminx
ece23acfc6 I hate this game
git-svn-id: https://svn.eduke32.com/eduke32@223 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-19 17:35:11 +00:00
terminx
9fc68fcc0a Update repo to 1.4.0 beta 2
git-svn-id: https://svn.eduke32.com/eduke32@222 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-18 21:08:38 +00:00
terminx
d395f8050d Fix randvar
git-svn-id: https://svn.eduke32.com/eduke32@221 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-15 00:18:36 +00:00
terminx
f5e728ab22 Boredom
git-svn-id: https://svn.eduke32.com/eduke32@220 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-14 07:28:32 +00:00
terminx
c8589f5b9a git-svn-id: https://svn.eduke32.com/eduke32@219 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-13 23:13:06 +00:00
terminx
c120d9f915 git-svn-id: https://svn.eduke32.com/eduke32@218 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-13 03:16:51 +00:00
terminx
0bc64d3518 Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@217 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-11 18:35:58 +00:00
terminx
2142db118e Fix squishing a shrunken enemy while changing weapon bug
git-svn-id: https://svn.eduke32.com/eduke32@216 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-09 19:51:09 +00:00
terminx
6fb8ac956b git-svn-id: https://svn.eduke32.com/eduke32@215 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-08 01:31:35 +00:00
terminx
6bab975972 GRP selection from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@214 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-07 18:41:05 +00:00
terminx
621da0a840 Mostly stuff from JonoF
git-svn-id: https://svn.eduke32.com/eduke32@212 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-06 06:18:18 +00:00
terminx
e9aca89385 Remove HUD model correction and more Polymost shading tweaks
git-svn-id: https://svn.eduke32.com/eduke32@211 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-05 02:05:39 +00:00
terminx
d826db409e git-svn-id: https://svn.eduke32.com/eduke32@208 1a8010ca-5511-0410-912e-c29ae57300e0 2006-07-04 05:46:38 +00:00
terminx
a99b97689e More polymost shading stuff
git-svn-id: https://svn.eduke32.com/eduke32@206 1a8010ca-5511-0410-912e-c29ae57300e0
2006-07-04 00:46:24 +00:00