Commit Graph

431 Commits

Author SHA1 Message Date
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
terminx 643f4d1e44 Fix some warnings gcc 4.x threw in winlayer
git-svn-id: https://svn.eduke32.com/eduke32@348 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 02:17:47 +00:00
terminx 730129aee6 More warning fixes
git-svn-id: https://svn.eduke32.com/eduke32@347 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-19 01:28:51 +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 9f9ccf8344 Rip out the Build test game
git-svn-id: https://svn.eduke32.com/eduke32@336 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-16 03:00:03 +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 a289704d10 Crappy support for pausing model animations
git-svn-id: https://svn.eduke32.com/eduke32@334 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-15 01:14:27 +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 757da2432b dummytile fixes
git-svn-id: https://svn.eduke32.com/eduke32@330 1a8010ca-5511-0410-912e-c29ae57300e0
2006-11-07 22:08:57 +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 f24ac5dd86 Check file availability before calling the hightile substitution functions
git-svn-id: https://svn.eduke32.com/eduke32@326 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-31 18:32:29 +00:00
terminx d1bff5a20b spritecol
git-svn-id: https://svn.eduke32.com/eduke32@325 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-30 01:50:52 +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
Plagman 815c646e85 Take a look at your last sky, guessing you won't have the time to fullbright. (wtf)
git-svn-id: https://svn.eduke32.com/eduke32@320 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-19 23:51:44 +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
Plagman 874e32a3a5 Iron fingers stab the desert SKIES !
git-svn-id: https://svn.eduke32.com/eduke32@316 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-18 03:59:28 +00:00
Plagman fb8c39689e Fixed bottom walls switch and improved texture coordinate generation.
git-svn-id: https://svn.eduke32.com/eduke32@315 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-17 01:14:20 +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
Plagman 6dcdd0148a Animation, interpolation, fixed cliplanes, fixed map switching.
git-svn-id: https://svn.eduke32.com/eduke32@313 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-16 22:07:15 +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
Plagman d91977d23f VC project
git-svn-id: https://svn.eduke32.com/eduke32@307 1a8010ca-5511-0410-912e-c29ae57300e0
2006-10-04 09:54:25 +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
Plagman 2ce69e749f Polymer texturing and shading.
git-svn-id: https://svn.eduke32.com/eduke32@304 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-29 21:36:12 +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
Plagman 2f4725e0f2 Blood and sand.
git-svn-id: https://svn.eduke32.com/eduke32@301 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-27 17:55:49 +00:00
Plagman 40efe08ff1 Polymer development.
git-svn-id: https://svn.eduke32.com/eduke32@300 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-27 02:23:27 +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 c1f5d7fd0d Remove md2draw() and friends
git-svn-id: https://svn.eduke32.com/eduke32@295 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-17 22:25:46 +00:00
Plagman fe40a9ce85 MD2. BMW.
git-svn-id: https://svn.eduke32.com/eduke32@294 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-17 20:16:20 +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 d7a133eefd Whitespace cleanup
git-svn-id: https://svn.eduke32.com/eduke32@286 1a8010ca-5511-0410-912e-c29ae57300e0
2006-08-31 01:56:43 +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