Latest Raze Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

30-Nov-2022 (Wednesday) at 11:31:09 EST by Shiny Metagross
Commit 169139c22 (HEAD -> master)
Parents: 6cf3dc045

Fixed A_Changemodel crash from invalid modeldef names

  • Invalid modeldef names no longer result in a crash

https://forum.zdoom.org/viewtopic.php?t=76810

27-Nov-2022 (Sunday) at 10:08:48 EST by Kevin Caccamo
Commit 6cf3dc045
Parents: 1a7a56ce3

Fix SNDINFO $rolloff always changing global rolloff

I investigated the issue a bit more by copying the grenade sounds from Wolfenstein: Blade of Agony and the definitions for the sounds from its SNDINFO lump, and then copying the entire SNDINFO lump from Wolfenstein: Blade of Agony into a small test mod, and disabling tags like $volume and $rolloff using sed. It turns out disabling $rolloff tags fixed the issue, and looking into the code, it seems as though the global rolloff was always being changed, or that rolloff was picking up a garbage pointer.

Fixes #1849

27-Nov-2022 (Sunday) at 00:53:57 EST by Ricardo Luís Vaz Silva
Commit 1a7a56ce3
Parents: d4f4b9b59

Fix GC ignoring DynArrays inside fixed Arrays

26-Nov-2022 (Saturday) at 02:39:48 EST by alexey.lysiuk
Commit d4f4b9b59
Parents: f256e7bb3

  • fixed continuous integration of Windows targets

25-Nov-2022 (Friday) at 17:35:10 EST by Marisa the Magician
Commit f256e7bb3
Parents: 70df34674

Fix UV "fix" for OBJ models.

25-Nov-2022 (Friday) at 12:35:13 EST by Marisa Heit
Commit 70df34674
Parents: 4103b282b

AST debug cleanup

  • Add ArrayIterationStmt printer.
  • Mark ZCC_TreeNodes as const for the AST printers.
  • Use static_assert to catch missing printers without needing to run with -dumpast.

25-Nov-2022 (Friday) at 06:29:36 EST by Christoph Oelckers
Commit 4103b282b
Parents: 28f8d4570

  • fixed: The raw texture caching in the texture manager did not work.

This erroneously checked for FrontSkyLayer. Also including some change here that allows explicit setting of the RawTexture (not used yet.)

25-Nov-2022 (Friday) at 06:27:54 EST by Christoph Oelckers
Commit 28f8d4570
Parents: 473221bb3

  • silence compiler warning

25-Nov-2022 (Friday) at 04:27:54 EST by Christoph Oelckers
Commit 473221bb3
Parents: 8206c29ed

  • fixed SoundEngine::isValidSoundId.

This never accounted for linked and random sounds. It never got noticed because it never was used to validate anything essential before.

24-Nov-2022 (Thursday) at 18:59:13 EST by Marisa the Magician
Commit 8206c29ed
Parents: 58a64e4f5

Allow assigning IQM frames by animation name plus frame offset.

23-Nov-2022 (Wednesday) at 22:09:40 EST by Ricardo Luís Vaz Silva
Commit 58a64e4f5
Parents: f32279278

Remove leftover variable in CustomMessageBox

23-Nov-2022 (Wednesday) at 22:56:40 EST by Boondorl
Commit f32279278
Parents: b002d5b8e

Added animation support for OptionMenus

Adds Animated and AnimatedTransition MENUDEF instructions for OptionMenus. Added DontDim and DontBlur MENUDEF instructions for all menus.

24-Nov-2022 (Thursday) at 11:49:30 EST by Marisa the Magician
Commit b002d5b8e
Parents: ffdd0a11e

Fix crash if Animation is not explicitly assigned in MODELDEF.

24-Nov-2022 (Thursday) at 17:50:52 EST by Christoph Oelckers
Commit ffdd0a11e
Parents: 65a26d677

  • fixed memory leak in ZScript backend.

This allocated some memory and never freed it again. A TArray would have been better - but since we know the maximum size is 4 we may just use a static array here to keep things as efficient as possible.

24-Nov-2022 (Thursday) at 10:49:04 EST by Christoph Oelckers
Commit 65a26d677
Parents: b89c4affa

  • removed the string constructors from FSoundID.

Due to C++ conversion rules this was a bit too volatile. There's really not enough places where being able to pass a string directly into the sound API was beneficial - the two most frequent functions now got overloaded variants.

24-Nov-2022 (Thursday) at 09:52:02 EST by Christoph Oelckers
Commit b89c4affa
Parents: d173c0453

  • removed the string assignment operators.

These all caught literal 0's as well

24-Nov-2022 (Thursday) at 09:48:35 EST by Christoph Oelckers
Commit d173c0453
Parents: 160633a4a

  • handle all remaining places of sound ID conversions after removing the conversion operators.

24-Nov-2022 (Thursday) at 09:22:07 EST by Christoph Oelckers
Commit 160633a4a
Parents: 1a6da5296

  • migrate a large part of the sound code to FSoundIDs.

This has always been a wild mixture of IDs and ints.

24-Nov-2022 (Thursday) at 08:30:19 EST by Christoph Oelckers
Commit 1a6da5296
Parents: d13f12cc3

  • use FSoundID in SoundEngine's interface.

24-Nov-2022 (Thursday) at 08:23:18 EST by Christoph Oelckers
Commit d13f12cc3
Parents: 7e8de9d1b

  • this should take care of the S_* interface.

24-Nov-2022 (Thursday) at 08:06:32 EST by Christoph Oelckers
Commit 7e8de9d1b
Parents: 225399a1e

  • made more use of FSoundID.

24-Nov-2022 (Thursday) at 07:48:48 EST by Christoph Oelckers
Commit 225399a1e
Parents: 4d1b44d9e

  • use TMap for the playersound hashtable.

24-Nov-2022 (Thursday) at 07:44:43 EST by Christoph Oelckers
Commit 4d1b44d9e
Parents: 419e593a4

  • eliminated GetSounds from the sound engine's interface.

24-Nov-2022 (Thursday) at 02:31:45 EST by Christoph Oelckers
Commit 419e593a4
Parents: f7f67114e

  • allow SNDINFO to declare sound mappings by using 'sounda = soundfle'.

This works similar to MAPINFO: The first definition in a file declares the format, all later ones must be the same. This change in syntax increases robustness significantly because it avoids the problems with the original syntax not being able to detect badly formatted names.

24-Nov-2022 (Thursday) at 17:40:26 EST by Rachael Alexanderson
Commit f7f67114e
Parents: 8db4c5ea7

  • move posix I_GetGogPaths() stub to program-specific code for use later

23-Nov-2022 (Wednesday) at 16:39:35 EST by Gutawer
Commit 8db4c5ea7
Parents: eab675c0c

  • process events every frame as well to ensure that menus can run at any framerate

22-Nov-2022 (Tuesday) at 08:57:03 EST by Marisa the Magician
Commit eab675c0c
Parents: 0509d3a4e

Make model stretch fix opt-in with a flag.

21-Nov-2022 (Monday) at 12:35:51 EST by Marisa the Magician
Commit 0509d3a4e
Parents: 599b00f2e

Fix incorrect pixelratio handling on rotated models.

22-Nov-2022 (Tuesday) at 00:08:28 EST by Boondorl
Commit 599b00f2e
Parents: 63c2d9303

Extended MENUDEF Functionality

*Added Font and TextureID types to Option and Image Scroller items (List items already have these) *Added "Class" instruction for Image Scrollers *Added ability for Option items to read in their OptionMenuDescriptor (List and Image Scroller items already have this) *Added "ForceList" instruction for Lists so that skill, playerclass, and episode menus don't get overridden

20-Nov-2022 (Sunday) at 10:49:22 EST by Gutawer
Commit 63c2d9303
Parents: 9f0c518be

  • quaternion improvements

19-Nov-2022 (Saturday) at 18:23:10 EST by Gutawer
Commit 9f0c518be
Parents: 540f77804

  • add remaining quaternion function implementations

13-Nov-2022 (Sunday) at 08:08:49 EST by RaveYard
Commit 540f77804
Parents: 802f77ab1

Quaternion structure and math ops

19-Nov-2022 (Saturday) at 17:03:38 EST by Ricardo Luís Vaz Silva
Commit 802f77ab1
Parents: d3bcc769f

Fix checking of wrong variable in String..Float concatenation

19-Nov-2022 (Saturday) at 02:45:16 EST by Boondorl
Commit d3bcc769f
Parents: 0f7e7744b

Clearscoped getters for map data

17-Nov-2022 (Thursday) at 17:46:22 EST by Ricardo Luís Vaz Silva
Commit 0f7e7744b
Parents: 724b89bb1

CustomMessageBox Formatting

17-Nov-2022 (Thursday) at 17:06:59 EST by Ricardo Luís Vaz Silva
Commit 724b89bb1
Parents: b082ad9ce

CustomMessageBox

16-Nov-2022 (Wednesday) at 15:06:33 EST by Rachael Alexanderson
Commit b082ad9ce
Parents: ef456a490

  • fix colormap remapping when colormap entries may have fullbright entries which should not be considered duplicates
  • this should address the "fullbright teeth" issue with the imps in KDiKDiZD: https://forum.zdoom.org/viewtopic.php?t=76790

17-Nov-2022 (Thursday) at 19:04:19 EST by Boondorl
Commit ef456a490
Parents: eb97346b0

Added PitchTo Function

16-Nov-2022 (Wednesday) at 11:08:11 EST by Christoph Oelckers
Commit eb97346b0
Parents: d0c86952e

  • stop all sound before showing ENDOOM.

16-Nov-2022 (Wednesday) at 10:29:02 EST by Christoph Oelckers
Commit d0c86952e
Parents: 29b4418c3

  • disabled shortcutting the intermission code if no summary screen is wanted.

This also disabled all cutscenes being attached to the completed map.

15-Nov-2022 (Tuesday) at 15:34:45 EST by Christoph Oelckers
Commit 29b4418c3
Parents: 4994e114c

  • added 'foreach' loop to ZScript.

Syntax:

foreach(variable : array) { }

the variable's type is automatically deducted.

14-Nov-2022 (Monday) at 13:49:37 EST by Christoph Oelckers
Commit 4994e114c
Parents: 31ac1bd41

  • backported Vector*::Sum() from Raze.

12-Nov-2022 (Saturday) at 14:05:36 EST by RaveYard
Commit 31ac1bd41
Parents: f41f393e9

Initial implementation of Quaternion type in ZScript

13-Nov-2022 (Sunday) at 15:06:45 EST by Emile Belanger
Commit f41f393e9
Parents: 7517b64ae

GLES: Added IQM bone support.

11-Nov-2022 (Friday) at 13:44:26 EST by Boondorl
Commit 7517b64ae
Parents: b4a8b1278

Updated to Interface Event

Changed SendConsoleEvent to SendInterfaceEvent to make functionality clearer. Added InterfaceProcess virtual to EventHandlers. Added CCMD for sending interface events.

11-Nov-2022 (Friday) at 04:53:53 EST by Boondorl
Commit b4a8b1278
Parents: a483ad20b

SendConsoleEvent function for EventHandlers

13-Nov-2022 (Sunday) at 14:50:33 EST by Major Cooke
Commit a483ad20b
Parents: f044695d2

Replaced memset for particles as recommended by dpJudas

13-Nov-2022 (Sunday) at 13:58:34 EST by Major Cooke
Commit f044695d2
Parents: 1047b766d

Future-proof particles by resetting them completely when replaced.

13-Nov-2022 (Sunday) at 01:50:54 EST by Christoph Oelckers
Commit 1047b766d
Parents: f3b33f7cf

  • added PlusZ intrinsic to Vector3 and ToVector intrinsic to numeric values.

These just mirror features of the internal vector classes.

13-Nov-2022 (Sunday) at 01:47:42 EST by Christoph Oelckers
Commit f3b33f7cf
Parents: 54f1cabed

  • added LengthSquared and Angle intrinsics for all vector types, also allow calling VectorAngle with a full vector as a single parameter.

Older commits