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
↓ 5 callers
Function
signingProp
android/app/build.gradle.kts:38
↓ 5 callers
Method
stop
(int device_id)
android/app/src/main/java/org/libsdl/app/SDLControllerManager.java:526
↓ 5 callers
Function
y_for_value
(value: float, y_max: float, plot_y: int, plot_h: int)
tools/generate_readme_stats.py:232
↓ 4 callers
Function
CalcComboWidth
port/gui/UIWidgets.cpp:443
↓ 4 callers
Method
Get
port/hires/HiResPack.cpp:164
↓ 4 callers
Function
IsCheckingForUpdates
Atomic reads - no locks required for the UI thread!
port/enhancements/Updater.cpp:475
↓ 4 callers
Function
NowMs
port/port_watchdog.cpp:375
↓ 4 callers
Function
PortLocateFile
Port-side replacement for Ship::Context::LocateFileAcrossAppDirs. LUS's version uses the throwing form of std::filesystem::exists, which raises files
port/port.cpp:567
↓ 4 callers
Function
RenderText
port/gui/UIWidgets.cpp:268
↓ 4 callers
Function
RunSilent
Run a subprocess and discard its stdout. Returns true on exit code 0. We discard stdout/stderr because we shell out with the silent flags (`-s` on cur
port/enhancements/ShaderDownloader.cpp:327
↓ 4 callers
Function
ShellSingleQuote
Quote a string for embedding inside a single-quoted shell argument: close the quote, escape, reopen.
port/native_dialog.cpp:56
↓ 4 callers
Function
Spacer
port/gui/UIWidgets.cpp:233
↓ 4 callers
Function
WipeTempDir
Pure tempdir teardown without touching phase / status. Used by the worker-thread error paths so a failed download doesn't leave the extracted tree (po
port/enhancements/ShaderDownloader.cpp:564
↓ 4 callers
Function
backtrace_symbols_fd
port/port_watchdog.cpp:28
↓ 4 callers
Function
bswap16At
port/bridge/particle_bank_bridge.cpp:163
↓ 4 callers
Function
compute_checksum
Sum each byte multiplied by (1-based index), exactly as the game does. The game stores the result in a signed 32-bit slot. We mask to 32 bits
tools/save_editor.py:390
↓ 4 callers
Function
count_opcode_matches
Count u32 words at 8-byte-aligned (w0) positions whose high byte matches * the given opcode — diagnostic for F3D vs F3DEX2 discrimination. */
port/bridge/lbreloc_byteswap.cpp:91
↓ 4 callers
Function
count_opcode_matches_any_phase
Same as count_opcode_matches but steps by 1 word, so it also catches * commands whose (w0, w1) pair lands at an odd word offset within the file. */
port/bridge/lbreloc_byteswap.cpp:104
↓ 4 callers
Method
finish
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:135
↓ 4 callers
Function
getSprite
port/css_icons/port_css_stage_assets.cpp:636
↓ 4 callers
Function
get_interp
port/bridge/framebuffer_capture.cpp:53
↓ 4 callers
Method
isDeXMode
This method is called by SDL using JNI.
android/app/src/main/java/org/libsdl/app/SDLActivity.java:1190
↓ 4 callers
Function
load_s32_from_s16
port/audio/mixer.c:588
↓ 4 callers
Function
osSendMesg
port/stubs/n64_stubs.c:274
↓ 4 callers
Function
port_diag_get_scene_name
port/stubs/port_diag_stubs.c:22
↓ 4 callers
Function
put_u16
port/css_icons/port_css_stage_assets.cpp:166
↓ 4 callers
Function
read_be_u16
debug_tools/reloc_extract/reloc_extract.c:31
↓ 4 callers
Method
routeAfterAssets
()
android/app/src/main/java/com/jrickey/battleship/BootActivity.java:188
↓ 4 callers
Function
scan
port/port_aobj_fixup.cpp:117
↓ 4 callers
Function
store_s32_to_s16
port/audio/mixer.c:594
↓ 4 callers
Function
tex_dump_enabled
port/bridge/lbreloc_byteswap.cpp:396
↓ 4 callers
Function
tree_decode
(bs: BitStream, root: HuffNode)
debug_tools/reloc_extract/reloc_extract.py:86
↓ 4 callers
Function
vpk0_decode
Decompress a VPK0 buffer. Returns decompressed bytes.
debug_tools/reloc_extract/reloc_extract.py:93
↓ 4 callers
Method
writeCharacteristic
(UUID uuid, byte[] value)
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:404
↓ 3 callers
Function
BuildDownloadCommand
port/enhancements/Updater.cpp:192
↓ 3 callers
Function
BuildHandle
Detour `target` (real engine address) to `replacement`. On success * returns the funchook handle and writes the call-original trampoline * to *orig_
port/mods/HookManager.cpp:164
↓ 3 callers
Function
CVarCheckbox
port/gui/UIWidgets.cpp:383
↓ 3 callers
Function
ClampFloat
port/gui/UIWidgets.cpp:626
↓ 3 callers
Function
Combobox
port/gui/UIWidgets.hpp:692
↓ 3 callers
Function
IsCurrentStage
port/enhancements/DisableStageHazards.cpp:199
↓ 3 callers
Function
IsDownloadComplete
port/enhancements/Updater.cpp:479
↓ 3 callers
Function
IsDownloading
port/enhancements/Updater.cpp:478
↓ 3 callers
Function
MountModsDir
Recursively walk mods/, mounting any folder that contains a * manifest.json or any .o2r/.otr/.zip file as a separate archive * with the LUS ArchiveM
port/port.cpp:446
↓ 3 callers
Function
PostProcessShaderLabel
Bundled (in-archive) post-process shaders get a friendly label in the picker. Names not in this map render with the shader's short name directly (the
port/gui/PortMenu.cpp:102
↓ 3 callers
Function
RandomDouble
port/gui/Compat.h:145
↓ 3 callers
Function
RefreshModList
port/gui/PortMenu.cpp:1441
↓ 3 callers
Function
RunAndCaptureFirstLine
popen/pclose helper: run the command, capture the first non-empty line of stdout, return it (trimmed of trailing newline). Returns "" on any error.
port/native_dialog.cpp:23
↓ 3 callers
Function
ShellQuote
Format a filesystem path for inclusion in a shell command line. `generic_string()` collapses Windows backslashes to forward slashes, which every shell
port/enhancements/ShaderDownloader.cpp:360
↓ 3 callers
Method
addBtnButton
Plain SDL button — DOWN sets, UP clears.
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:343
↓ 3 callers
Method
buildButton
Build the visual: an ImageView with the N64-styled vector drawable as background, optionally overlaid by a TextView with the label. Returns the touch
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:433
↓ 3 callers
Method
centerThumb
()
android/app/src/main/java/com/jrickey/battleship/AnalogStickView.java:168
↓ 3 callers
Method
close
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:242
↓ 3 callers
Method
connectBluetoothDevice
(BluetoothDevice bluetoothDevice)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:473
↓ 3 callers
Method
copyAsset
(AssetManager am, String assetPath, File outFile)
android/app/src/main/java/com/jrickey/battleship/AssetExtractor.java:96
↓ 3 callers
Method
dp
(Context ctx, int dp)
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:499
↓ 3 callers
Method
enableSensor
(int sensortype, boolean enabled)
android/app/src/main/java/org/libsdl/app/SDLSurface.java:302
↓ 3 callers
Method
finishCurrentGattOperation
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:345
↓ 3 callers
Function
fresh_default
Return a BackupData identical to the in-game default (`dSCManagerDefaultBackupData`).
tools/save_editor.py:591
↓ 3 callers
Function
gbi_trace_end_frame
debug_tools/gbi_trace/gbi_trace.c:151
↓ 3 callers
Method
getContentView
()
android/app/src/main/java/org/libsdl/app/SDLActivity.java:1243
↓ 3 callers
Method
getProductId
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:9
↓ 3 callers
Method
getProductId
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:47
↓ 3 callers
Method
getVendorId
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:42
↓ 3 callers
Method
inZip
empty for loose; entry name within the zip
port/hires/HiResPack.cpp:63
↓ 3 callers
Function
is_gfx_opcode
Check if a big-endian u32 word looks like a Gfx w0 (has valid opcode in high byte).
tools/examine_word_patterns.py:92
↓ 3 callers
Function
is_in_halfswapped_range
port/port_aobj_fixup.cpp:36
↓ 3 callers
Function
lbRelocFindForceStatusBufferFile
port/bridge/lbreloc_bridge.cpp:436
↓ 3 callers
Function
lbRelocGetExternBufferFile
port/bridge/lbreloc_bridge.cpp:1000
↓ 3 callers
Function
lbRelocLoadAndRelocFile
* Load a file from the .o2r archive, copy into ram_dst, and perform * token-based internal + external pointer relocation. Thin wrapper * around port
port/bridge/lbreloc_bridge.cpp:913
↓ 3 callers
Method
nativeGenerateScancodeForUnichar
(char c)
android/app/src/main/java/org/libsdl/app/SDLActivity.java:2077
↓ 3 callers
Method
nativePermissionResult
(int requestCode, boolean result)
android/app/src/main/java/org/libsdl/app/SDLActivity.java:935
↓ 3 callers
Method
onNativeTouch
(int touchDevId, int pointerFingerId, int action, float x,
android/app/src/main/java/org/libsdl/app/SDLActivity.java:922
↓ 3 callers
Function
parse_date
(value: str)
tools/generate_readme_stats.py:147
↓ 3 callers
Function
popcount_bits
port/port_aobj_fixup.cpp:63
↓ 3 callers
Function
portEvictStructFixupsInRange
port/bridge/lbreloc_byteswap.cpp:1036
↓ 3 callers
Function
portRelocEvictFileRangesInRange
port/bridge/lbreloc_bridge.cpp:135
↓ 3 callers
Function
portRelocFindContainingFile
port/bridge/lbreloc_bridge.cpp:1159
↓ 3 callers
Function
portRelocTryResolvePointer
port/resource/RelocPointerTable.cpp:187
↓ 3 callers
Function
portResolveSymbol
port/port.cpp:181
↓ 3 callers
Function
portWriteMinidump
port/port.cpp:216
↓ 3 callers
Function
port_diag_get_scene_curr
port/stubs/port_diag_stubs.c:12
↓ 3 callers
Function
port_log_get_fd
port/port_log.c:22
↓ 3 callers
Function
port_watchdog_note_yield
port/port_watchdog.cpp:561
↓ 3 callers
Method
queueGattOperation
(GattOperation op)
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:392
↓ 3 callers
Function
read_be_u16
port/android_torch_bridge.cpp:84
↓ 3 callers
Function
rotate16
Rotate each u32 word by 16 bits: converts u32-swapped u16 pairs to correctly u16-swapped data. After u32 swap, BE bytes [A B C D] became [D C B A]. ro
port/bridge/lbreloc_byteswap.cpp:842
↓ 3 callers
Function
run
(cmd: list[str], cwd: Path, check=True, capture=True, text=True)
tools/upstream_reconcile.py:60
↓ 3 callers
Method
sendCommand
(int command, Object data)
android/app/src/main/java/org/libsdl/app/SDLActivity.java:843
↓ 3 callers
Method
setAxis
(int sdlAxis, int value)
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:53
↓ 3 callers
Method
setFrozen
(boolean frozen)
android/app/src/main/java/org/libsdl/app/HIDDevice.java:19
↓ 3 callers
Method
setOrientation
This method is called by SDL using JNI. This is a static method for JNI convenience, it calls a non-static method so that is can be overridden
android/app/src/main/java/org/libsdl/app/SDLActivity.java:959
↓ 3 callers
Function
unhalfswap
port/port_aobj_fixup.cpp:49
↓ 3 callers
Method
updateText
()
android/app/src/main/java/org/libsdl/app/SDLActivity.java:2030
↓ 3 callers
Function
walk
port/port_aobj_fixup.cpp:215
↓ 3 callers
Function
widescreen_enabled
port/widescreen/widescreen.cpp:12
↓ 3 callers
Function
x_for_release
(index: int, count: int, plot_x: int, plot_w: int)
tools/generate_readme_stats.py:380
↓ 2 callers
Function
AddMergedMenuFont
port/gui/Menu.cpp:61
↓ 2 callers
Function
AnalogRemapCVarName
port/enhancements/AnalogRemap.cpp:131
↓ 2 callers
Function
AppendLogLine
port/first_run.cpp:121
↓ 2 callers
Function
AutoZCancelCVarName
port/enhancements/AutoZCancel.cpp:7
← previous
next →
101–200 of 1,583, ranked by callers