hendricks266
50f7f6cda4
Pause the game when playing IVF files with startcutscene.
...
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6511 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:20 +00:00
hendricks266
a72295f7f1
Fix flickering in IVF files.
...
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6510 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:17 +00:00
hendricks266
74908b1def
CON: Add screenpal command.
...
screenpal <r> <g> <b> <a>
Similar to palfrom, but works on screen events. Values range from 0 to 255.
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6509 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:14 +00:00
hendricks266
f6678b336a
CON: Add command "startscreen" and corresponding EVENT_SCREEN.
...
Use startscreen to take control away from the game and display content with rotatesprite.
RETURN is set to 1 when any key is pressed, and if it is nonzero when the event ends, the screen ends and the game resumes.
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6508 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:11 +00:00
hendricks266
dbd8b72d10
CON: Add EVENT_SKIPCUTSCENE.
...
Used with startcutscene. RETURN is set to 1 when any key is pressed, and is used to control when a cutscene ends.
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6507 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:07 +00:00
hendricks266
1377afe414
CON: Add EVENT_PRECUTSCENE.
...
Used with startcutscene. RETURN sets the frame of an ANM before it is rendered.
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6506 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:04 +00:00
hendricks266
a89ad84f4d
CON: Run EVENT_CUTSCENE during IVFs as well.
...
Changing the frame of an IVF file is unsupported, so its only purpose is to play sounds.
Patch from Fox.
git-svn-id: https://svn.eduke32.com/eduke32@6505 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:29:01 +00:00
hendricks266
38df0b7e82
CON: Add "actorsound" command.
...
Patch from Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6504 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:28:58 +00:00
hendricks266
bad61e3934
Replace arbitrary MAXGAMEEVENTS macro with the properly generated MAXEVENTS.
...
git-svn-id: https://svn.eduke32.com/eduke32@6503 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-29 07:28:54 +00:00
terminx
67e3166fb3
Add palette emulation menu options to control r_usetileshades and r_pr_artmapping
...
git-svn-id: https://svn.eduke32.com/eduke32@6502 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:43 +00:00
terminx
5df760b347
Small change to G_FPSLimit()
...
git-svn-id: https://svn.eduke32.com/eduke32@6501 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:38 +00:00
terminx
63d3f70258
Minor hard-coded Duke sprite cleanup
...
git-svn-id: https://svn.eduke32.com/eduke32@6500 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:33 +00:00
terminx
15b223840b
Useless removal of a couple of redundant blocks of code
...
git-svn-id: https://svn.eduke32.com/eduke32@6499 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:28 +00:00
terminx
fe9c6d25f4
Move autoexec.cfg execution to directly after settings.cfg execution
...
git-svn-id: https://svn.eduke32.com/eduke32@6498 1a8010ca-5511-0410-912e-c29ae57300e0
2017-11-22 05:23:23 +00:00
terminx
7bdd0e1361
Crash fix
...
git-svn-id: https://svn.eduke32.com/eduke32@6493 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-31 02:09:39 +00:00
terminx
c52e003e2a
Fix issue with arrays, saved map states, and savegames
...
git-svn-id: https://svn.eduke32.com/eduke32@6492 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-31 02:09:25 +00:00
hendricks266
e979aa1ff4
Eliminate the need for cache1d to calculate and remember the CRC32 of every GRP loaded.
...
git-svn-id: https://svn.eduke32.com/eduke32@6489 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-30 03:48:28 +00:00
terminx
3b9587cfa2
Fix issue with savemapstate/loadmapstate and gamearrays
...
git-svn-id: https://svn.eduke32.com/eduke32@6487 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-16 21:17:47 +00:00
hendricks266
d6682d58d3
Expand use of VM_GetKeywordForID to all other references to vm_keywords[].
...
Fixes printing of incorrect keywords, reported by Trooper Dan.
git-svn-id: https://svn.eduke32.com/eduke32@6485 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-16 03:32:34 +00:00
hendricks266
b3455b7b4d
Amend r6460 to move vm_keywords[] back to gamedef.cpp and factor the ID to keyword mapping into VM_GetKeywordForID().
...
git-svn-id: https://svn.eduke32.com/eduke32@6484 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-16 03:32:30 +00:00
hendricks266
aea57fde17
Fix infinite loop when requesting to open an invalid map from the command line.
...
git-svn-id: https://svn.eduke32.com/eduke32@6483 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-16 03:32:26 +00:00
hendricks266
ddd94d7b92
Re-add GAMETYPE_FRAGBAR to the default cases for deathmatch modes.
...
While the fragbar is indeed too cumbersome for use with more than 8 players, and a "show current score overlay" button is a better and more modern solution, this flag should connote whether a mode is *eligible* for it, not whether it is used at all.
TODO: Add a cvar for toggling the fragbar and turn it off by default.
git-svn-id: https://svn.eduke32.com/eduke32@6482 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:21 +00:00
hendricks266
6aaddf3fa2
Enumify the definition of g_gametypeFlags.
...
git-svn-id: https://svn.eduke32.com/eduke32@6481 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:18 +00:00
hendricks266
04d1f0eb29
Fix the bug where tapping (but not holding) fire with 1 ammo left for the chaingun would fail to switch away.
...
Reported by RunningDuke.
git-svn-id: https://svn.eduke32.com/eduke32@6480 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:15 +00:00
hendricks266
17c4d27298
if (A ? 1 : B) --> if (A || B)
...
git-svn-id: https://svn.eduke32.com/eduke32@6479 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:12 +00:00
hendricks266
486791b3ee
Add the Platoon Leader expansion for WWII GI to the GRP list.
...
git-svn-id: https://svn.eduke32.com/eduke32@6477 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:06 +00:00
hendricks266
1a256f2509
Duke: Scan for *.dat in addition to .grp, .zip, .ssi, etc.
...
git-svn-id: https://svn.eduke32.com/eduke32@6476 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-15 23:10:03 +00:00
hendricks266
95d93f770e
Eliminate the force-disabling of glprojectionhacks during showview.
...
Please notify me if this change negatively affects your code.
git-svn-id: https://svn.eduke32.com/eduke32@6473 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:37:17 +00:00
hendricks266
32d3ca1591
Some more standalone stuff.
...
git-svn-id: https://svn.eduke32.com/eduke32@6467 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:58 +00:00
hendricks266
60fcb6527c
Menus: If you open the Help menu with the F1 key, make Help the selected item on the main menu, if applicable.
...
git-svn-id: https://svn.eduke32.com/eduke32@6466 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:55 +00:00
hendricks266
ae81b6dce7
Menus: Factor out code into Menu_AboutToStartDisplaying and Menu_ChangingTo.
...
git-svn-id: https://svn.eduke32.com/eduke32@6465 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:52 +00:00
hendricks266
e971005153
Menus: Use SMALLFNTCURSOR for a text caret in the absence of a SPINNINGNUKEICON tile.
...
git-svn-id: https://svn.eduke32.com/eduke32@6464 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:48 +00:00
hendricks266
0ed359244e
Menus: Factor out SPINNINGNUKEICON drawing
...
git-svn-id: https://svn.eduke32.com/eduke32@6463 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:45 +00:00
hendricks266
7e914f838a
Avoid an unused variable warning with EDUKE32_STANDALONE.
...
git-svn-id: https://svn.eduke32.com/eduke32@6462 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-09 07:36:40 +00:00
terminx
ff8d608caf
Fix in-game 2d map view line colors when using palettes that differ completely from Duke3D's palette
...
git-svn-id: https://svn.eduke32.com/eduke32@6461 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-08 22:15:51 +00:00
terminx
938d444b35
This should fix the scrambled log output when the game crashes while executing a CON script somewhere
...
git-svn-id: https://svn.eduke32.com/eduke32@6460 1a8010ca-5511-0410-912e-c29ae57300e0
2017-10-04 22:30:53 +00:00
hendricks266
5967749a10
Menus: Don't play EXITMENUSOUND when trying to close a root menu outside of an active game.
...
git-svn-id: https://svn.eduke32.com/eduke32@6459 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 05:22:35 +00:00
hendricks266
788ba4f373
Amend r6452.
...
git-svn-id: https://svn.eduke32.com/eduke32@6458 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 05:22:32 +00:00
hendricks266
029340b3a5
Prevent P_GetP from treating player indexes that are >= g_mostConcurrentPlayers as player 0, by checking against MAXPLAYERS instead.
...
Prevents the "gib on spawn in multiplayer" bug, and allows fake players to work properly.
Patch from Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6457 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:37 +00:00
hendricks266
ee94494e3a
Fix display of the fragbar in widescreen.
...
Patch from Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6456 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:34 +00:00
hendricks266
b776c689bb
Fix the fragbar not respecting GAMETYPE_FRAGBAR.
...
Patch from Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6455 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:31 +00:00
hendricks266
11ce89d294
Fix randomseed in multiplayer.
...
Merged from private network branch.
Patch by [IFOC]75, prepared by Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6454 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:28 +00:00
hendricks266
fc0eabebb6
Add player[].connected.
...
Patch from Striker.
git-svn-id: https://svn.eduke32.com/eduke32@6453 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:24 +00:00
hendricks266
385a3f9182
Address an oversight in r6212.
...
git-svn-id: https://svn.eduke32.com/eduke32@6452 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-27 02:30:21 +00:00
hendricks266
36eb156d7d
macOS: Fix crash in startup window when no game data is found.
...
git-svn-id: https://svn.eduke32.com/eduke32@6448 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-23 03:17:32 +00:00
hendricks266
01c073f18a
Update credits.
...
git-svn-id: https://svn.eduke32.com/eduke32@6446 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-23 03:17:26 +00:00
hendricks266
b713b8489d
Pass the parameters of the warp and skill cheats to EVENT_ACTIVATECHEAT through userdef[].m_* and read them back afterward.
...
git-svn-id: https://svn.eduke32.com/eduke32@6445 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-23 03:17:22 +00:00
terminx
ab79264047
Make setinput work better in EVENT_PROCESSINPUT
...
git-svn-id: https://svn.eduke32.com/eduke32@6443 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-19 19:10:51 +00:00
terminx
bdf81027ec
NETCODE_DISABLE implementation tweaks. I think this is better.
...
git-svn-id: https://svn.eduke32.com/eduke32@6442 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-19 19:10:45 +00:00
terminx
389c71e185
uint64_t based FPS limiter
...
git-svn-id: https://svn.eduke32.com/eduke32@6441 1a8010ca-5511-0410-912e-c29ae57300e0
2017-09-19 19:10:39 +00:00