Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JRickey/BattleShip
/ functions
Functions
1,583 in github.com/JRickey/BattleShip
⨍
Functions
1,583
◇
Types & classes
197
↓ 2 callers
Function
Basename
Basename (after the last '/' or '\\') of a path or zip entry name.
port/hires/HiResPack.cpp:309
↓ 2 callers
Function
BootToVSCSSCVarName
port/enhancements/BootToVSCSS.cpp:7
↓ 2 callers
Function
CheckForUpdatesAsync
port/enhancements/Updater.cpp:239
↓ 2 callers
Function
ClassicCoopCVarName
port/enhancements/ClassicCoop.cpp:7
↓ 2 callers
Function
ClassicCoopFriendlyFireCVarName
port/enhancements/ClassicCoop.cpp:11
↓ 2 callers
Function
CompRulesetCVarName
port/enhancements/CompRuleset.cpp:7
↓ 2 callers
Function
CpuLevel9CVarName
port/enhancements/CpuLevel9.cpp:7
↓ 2 callers
Function
Crc32Bytes
Plain CRC32-IEEE over a flat byte run. Used for the decoded-RGBA8 hash (post-decode, no row stride) and for hashing source bytes / palette bytes in du
port/hires/HiResPack.cpp:125
↓ 2 callers
Function
CurlCommandPrefix
port/enhancements/Updater.cpp:171
↓ 2 callers
Function
DRP_Shutdown
port/enhancements/DiscordRichPresence.cpp:65
↓ 2 callers
Function
DrawPostProcessCompatBadge
Draws the compat badge after a picker entry. `Any` shaders render at any resolution; `Native` shaders ratio against InputSize and only look right when
port/gui/PortMenu.cpp:113
↓ 2 callers
Function
DumpBacktraceBoth
Dump a backtrace to stderr and the log file. Async-signal-safe: * backtrace() and backtrace_symbols_fd() are listed as signal-safe on * glibc and Da
port/port_watchdog.cpp:76
↓ 2 callers
Function
ExtractAssetsIfNeeded
port/first_run.cpp:363
↓ 2 callers
Function
FailedZCancelCVarName
port/enhancements/FailedZCancelFlash.cpp:7
↓ 2 callers
Function
FetchShaderPackCatalogAsync
port/enhancements/ShaderDownloader.cpp:633
↓ 2 callers
Function
FindExisting
Search candidates in order; return the first that exists.
port/first_run.cpp:83
↓ 2 callers
Function
FreeExec
port/mods/HookManager.cpp:103
↓ 2 callers
Function
GetMenuFont
port/gui/Menu.cpp:101
↓ 2 callers
Function
GetShaderPackPhase
port/enhancements/ShaderDownloader.cpp:600
↓ 2 callers
Function
GetShaderPackStatus
port/enhancements/ShaderDownloader.cpp:603
↓ 2 callers
Function
GetVectorIndexOf
port/gui/Menu.cpp:151
↓ 2 callers
Method
HIDDeviceConnected
(int deviceID, String identifier, int vendorId, int productId, String serial_number, int release_number, Strin
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:691
↓ 2 callers
Method
HIDDeviceFeatureReport
(int deviceID, byte[] report)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:697
↓ 2 callers
Method
HIDDeviceInputReport
(int deviceID, byte[] report)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:696
↓ 2 callers
Method
HIDDeviceOpenResult
(int deviceID, boolean opened)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:693
↓ 2 callers
Function
HasExt
True if `name` ends in ".<ext>" (case-insensitive). `ext` is 3 lowercase chars.
port/hires/HiResPack.cpp:315
↓ 2 callers
Function
HasProcessPriority
port/enhancements/DisableStageHazards.cpp:238
↓ 2 callers
Function
HasWholeWord
True if `text` contains `<ident>` as a whole identifier (left/right neighbors are not identifier chars). Whole-word match avoids false-positives like
port/enhancements/ShaderDownloader.cpp:171
↓ 2 callers
Function
IndexEntry
Insert a parsed entry, applying the "last scan wins" collision rule (matches the loose-file ordering) and updating stats. Shared by both scanners.
port/hires/HiResPack.cpp:323
↓ 2 callers
Method
Init
port/hires/HiResPack.cpp:422
↓ 2 callers
Function
InputString
port/gui/UIWidgets.cpp:766
↓ 2 callers
Function
IsGroundHazardItemGObj
port/enhancements/DisableStageHazards.cpp:277
↓ 2 callers
Function
IsUpdateAvailable
port/enhancements/Updater.cpp:476
↓ 2 callers
Function
NeutralSpawnsCVarName
port/enhancements/NeutralSpawns.cpp:7
↓ 2 callers
Function
OpenZipCached
Open a pack .zip read-only and cache the handle for the process lifetime so we don't re-parse its central directory on every first-decode. A null hand
port/hires/HiResPack.cpp:337
↓ 2 callers
Function
ParseFilename
Parse a hires-pack filename into a HashKey. * * <prefix>#<rgba8CRC8>#<fmt>#<siz>[_<anything>].png * * Returns nullopt on grammar mismatch. We ac
port/hires/HiResPack.cpp:267
↓ 2 callers
Function
ParseSingleDigit
port/hires/HiResPack.cpp:245
↓ 2 callers
Function
PopStyleInput
port/gui/UIWidgets.cpp:158
↓ 2 callers
Function
PopStyleMenuItem
port/gui/UIWidgets.cpp:107
↓ 2 callers
Function
PopStyleSlider
port/gui/UIWidgets.cpp:519
↓ 2 callers
Function
PortShutdown
port/port.cpp:1115
↓ 2 callers
Function
PushStyleInput
port/gui/UIWidgets.cpp:141
↓ 2 callers
Function
PushStyleMenuItem
port/gui/UIWidgets.cpp:98
↓ 2 callers
Function
PushStyleSlider
port/gui/UIWidgets.cpp:505
↓ 2 callers
Function
ResetFlowState
Move the flow back to Idle and best-effort delete the tempdir. Safe to call from any phase; serialized by s_candidatesMutex so a running install threa
port/enhancements/ShaderDownloader.cpp:580
↓ 2 callers
Function
RunCapture
port/enhancements/Updater.cpp:149
↓ 2 callers
Function
SetDownloadStatus
port/enhancements/Updater.cpp:85
↓ 2 callers
Function
SkipResultsScreenCVarName
port/enhancements/SkipResultsScreen.cpp:7
↓ 2 callers
Function
SliderFloat
port/gui/UIWidgets.cpp:656
↓ 2 callers
Function
SliderInt
port/gui/UIWidgets.cpp:524
↓ 2 callers
Function
ThreadLabel
port/port_watchdog.cpp:381
↓ 2 callers
Function
UnmountMissingMods
Unmount mod archives whose on-disk source no longer exists. MountModsDir * only ever ADDS archives, so a mod folder/.o2r deleted at runtime stays *
port/port.cpp:517
↓ 2 callers
Function
_be_u32
(data: bytes, off: int)
tools/derive_stage_assets.py:138
↓ 2 callers
Function
_be_u8
(data: bytes, off: int)
tools/derive_stage_assets.py:142
↓ 2 callers
Function
_render_sprite_from_file
(args, file_id, sprite_off, stem)
debug_tools/sprite_deswizzle/sprite_deswizzle.py:492
↓ 2 callers
Method
addAxisButton
Trigger-axis button. Press/release routes through {@link #setTrigger} so the half-range vs full-range axis convention lives in one place.
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:371
↓ 2 callers
Function
analyze_body
Walk the struct body line by line tracking #ifdef PORT / #else / #endif. Returns: unguarded - list of (field_name, raw_type) for poi
tools/pointer_audit.py:111
↓ 2 callers
Function
api_request
(url: str, accept: str)
tools/generate_readme_stats.py:111
↓ 2 callers
Function
apply_force_render_to_fb_to_interp
port/bridge/framebuffer_capture.cpp:47
↓ 2 callers
Function
backtrace
port/port_watchdog.cpp:27
↓ 2 callers
Function
bankTable
port/bridge/particle_bank_bridge.cpp:84
↓ 2 callers
Method
bpp
(self)
debug_tools/sprite_deswizzle/sprite_deswizzle.py:158
↓ 2 callers
Function
bswap32
Simulate C BSWAP32: reverse 4 bytes of a u32.
tools/verify_struct_byteswap.py:71
↓ 2 callers
Function
build_tree
Read a Huffman tree from the bitstream in prefix notation.
debug_tools/reloc_extract/reloc_extract.py:68
↓ 2 callers
Function
bumpSlotGeneration
port/resource/RelocPointerTable.cpp:86
↓ 2 callers
Function
cmd_key
Build a hashable key used by SequenceMatcher to align cmds. Two cmds with the same key are treated as identical for alignment purposes. We d
debug_tools/gbi_diff/gbi_diff.py:212
↓ 2 callers
Function
convert_one
(png_path: Path, out_path: Path)
tools/png_to_rgba16_inc_c.py:63
↓ 2 callers
Function
convert_one
(png_path: Path, out_path: Path)
tools/png_to_ia8_inc_c.py:58
↓ 2 callers
Method
copyToMods
Stream {@code in} into mods/<safe>.zip via a validated temp+rename.
android/app/src/main/java/com/jrickey/battleship/PackImporter.java:96
↓ 2 callers
Method
countGamepads
()
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:313
↓ 2 callers
Function
decodeToken
port/resource/RelocPointerTable.cpp:100
↓ 2 callers
Function
decode_to_rgba8
Decode N64 texel data (in BE byte order, post fixup) into a flat RGBA8 buffer. Returns true if (fmt,siz) is supported and the byte count makes sense
port/bridge/lbreloc_byteswap.cpp:433
↓ 2 callers
Function
default_save_path
Resolve the save file path with the same precedence the running game uses (port_save.cpp::resolveSavePath): 1. $SSB64_SAVE_PATH explicit ov
tools/save_editor.py:435
↓ 2 callers
Method
disconnectBluetoothDevice
(BluetoothDevice bluetoothDevice)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:494
↓ 2 callers
Function
dump_tga_rgba
Write one 32-bit RGBA texel buffer (already in r,g,b,a byte order) as a TGA image. TGA uses BGRA byte order so we swizzle on the way out.
port/bridge/lbreloc_byteswap.cpp:404
↓ 2 callers
Method
emitAxis
@param nx,ny normalized [-1, 1]; positive Y is downward (matches SDL).
android/app/src/main/java/com/jrickey/battleship/AnalogStickView.java:174
↓ 2 callers
Function
ensureAttached
port/android_touch_overlay.cpp:51
↓ 2 callers
Function
ensureCapacity
port/resource/RelocPointerTable.cpp:60
↓ 2 callers
Function
ensurePristine
Ensure a pristine (byte-swapped, pre-pointerization) copy of the blob * at `archive_path` lives in sPristineCache. Returns a pointer to the * cached
port/bridge/particle_bank_bridge.cpp:317
↓ 2 callers
Method
executeNextGattOperation
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:364
↓ 2 callers
Method
extractFromAbsolutePath
Common extraction worker, called from both SAF result and dev shortcut.
android/app/src/main/java/com/jrickey/battleship/BootActivity.java:208
↓ 2 callers
Function
format_axis_value
(value: float)
tools/generate_readme_stats.py:155
↓ 2 callers
Function
format_cmd
Format a command for diff output.
debug_tools/acmd_diff/acmd_diff.py:219
↓ 2 callers
Function
format_cmd
Format a command for diff output.
debug_tools/gbi_diff/gbi_diff.py:334
↓ 2 callers
Function
format_date_label
(value: dt.date)
tools/generate_readme_stats.py:163
↓ 2 callers
Function
gbi_decode_geom_mode
debug_tools/gbi_trace/gbi_decoder.c:127
↓ 2 callers
Function
gbi_img_fmt_name
debug_tools/gbi_trace/gbi_decoder.c:113
↓ 2 callers
Function
gbi_img_siz_name
debug_tools/gbi_trace/gbi_decoder.c:121
↓ 2 callers
Function
gbi_trace_init
debug_tools/gbi_trace/gbi_trace.c:43
↓ 2 callers
Method
getAudioFormatString
(int audioFormat)
android/app/src/main/java/org/libsdl/app/SDLAudioManager.java:61
↓ 2 callers
Method
getConnectionState
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:204
↓ 2 callers
Method
getDeviceIDForIdentifier
(String identifier)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:128
↓ 2 callers
Method
getIdentifier
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:178
↓ 2 callers
Method
getIdentifier
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:33
↓ 2 callers
Method
getJoystick
(int device_id)
android/app/src/main/java/org/libsdl/app/SDLControllerManager.java:273
↓ 2 callers
Method
getLibraries
This method is called by SDL before loading the native shared libraries. It can be overridden to provide names of shared libraries to be loaded. The d
android/app/src/main/java/org/libsdl/app/SDLActivity.java:270
↓ 2 callers
Method
getManufacturerName
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:74
↓ 2 callers
Function
getOrBuild
port/css_icons/port_css_arrow.cpp:137
↓ 2 callers
Method
getProductName
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:86
↓ 2 callers
Method
get_buffer_size
(tex_type: TextureType, width: int, height: int)
tools/merge_mod.py:74
← previous
next →
201–300 of 1,583, ranked by callers