Andrew Murray
4fbe28a3a2
Merge branch 'main' into mode_enums
2025-10-15 19:25:58 +11:00
Andrew Murray
55a4901bba
Removed BGR;15 and BGR;16 modes
2025-10-14 20:34:03 +11:00
Andrew Murray
a591000055
Removed BGR;24 and BGR;32
2025-10-14 20:31:42 +11:00
eyedav
84aa4372fd
linter changes
2025-07-19 17:06:44 +02:00
Yay295
0567f064e4
add debug check that all modes and rawmodes are defined
2025-07-19 17:02:05 +02:00
eyedav
9527ce7f8c
change mode structs to enums
...
Structs have better type safety, but they make allocation more difficult, especially when we have multiple Python modules trying to share the same code.
2025-07-19 16:54:32 +02:00
Yay295
579c55ea86
check for null input in findMode() and findRawMode()
2025-07-19 16:00:28 +02:00
Yay295
20a5aeac84
fix findRawMode()
...
and change findMode() to match
2025-07-19 16:00:28 +02:00
Yay295
cacb8b3ce7
define rawmodes
2025-07-19 16:00:28 +02:00
eyedav
4906285619
add function isModeI16() to check if a mode is an I;16 mode
2025-07-19 15:41:13 +02:00
eyedav
0df2ed0640
use mode structs in Access.c
2025-07-19 14:53:22 +02:00
Yay295
63a45ad8d0
add special modes
2025-07-19 14:29:08 +02:00
Yay295
cd93629a5c
use a struct for mode names instead of just a string
2025-07-19 14:29:08 +02:00