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
↓ 252 callers
Function
port_log
port/port_log.c:28
↓ 92 callers
Function
put_s16
port/css_icons/port_css_stage_assets.cpp:162
↓ 65 callers
Method
unpack
(cls, buf: bytes)
tools/save_editor.py:214
↓ 45 callers
Method
read
(self, n: int)
debug_tools/reloc_extract/reloc_extract.py:53
↓ 38 callers
Function
get
Returns the row for fkind, or nullptr if out of range / unregistered. */
port/fighter_registry.cpp:23
↓ 36 callers
Function
Button
port/gui/UIWidgets.cpp:177
↓ 28 callers
Function
portRelocRegisterPointer
port/resource/RelocPointerTable.cpp:121
↓ 27 callers
Function
WrappedText
Automatically adds newlines to break up text longer than a specified number of characters Manually included newlines will still be respected and reset
port/gui/UIWidgets.cpp:24
↓ 23 callers
Function
Ship_IsCStringEmpty
port/gui/Compat.h:99
↓ 23 callers
Function
put_s16
port/css_icons/port_css_arrow.cpp:57
↓ 23 callers
Function
read_be_s16
(data, offset)
tools/verify_struct_byteswap.py:84
↓ 22 callers
Function
fixup_rotate16
port/bridge/lbreloc_byteswap.cpp:1641
↓ 21 callers
Function
put_u32
port/css_icons/port_css_stage_assets.cpp:169
↓ 20 callers
Function
readBE32
port/bridge/audio_bridge.cpp:246
↓ 19 callers
Method
getContext
This method is called by SDL using JNI.
android/app/src/main/java/org/libsdl/app/SDLActivity.java:1133
↓ 19 callers
Function
stage_audit_enabled
port/bridge/lbreloc_byteswap.cpp:75
↓ 18 callers
Method
pack
(self)
tools/save_editor.py:198
↓ 17 callers
Method
run
()
android/app/src/main/java/org/libsdl/app/SDLActivity.java:1872
↓ 14 callers
Function
SetStatus
port/enhancements/ShaderDownloader.cpp:84
↓ 14 callers
Function
UpdateDiscordPresence
port/enhancements/DiscordRichPresence.cpp:83
↓ 14 callers
Function
_be_s16
(data: bytes, off: int)
tools/derive_stage_assets.py:134
↓ 14 callers
Method
getContext
()
android/app/src/main/java/org/libsdl/app/SDL.java:36
↓ 14 callers
Function
port_coroutine_resume
port/coroutine_win32.cpp:172
↓ 13 callers
Function
clamp16
port/audio/mixer.c:135
↓ 13 callers
Function
fixup_bswap32
port/bridge/lbreloc_byteswap.cpp:1646
↓ 13 callers
Function
port_coroutine_is_finished
port/coroutine_win32.cpp:225
↓ 12 callers
Method
open
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:15
↓ 11 callers
Function
emit_line
(s: str)
tools/upstream_reconcile.py:138
↓ 11 callers
Method
getId
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:7
↓ 11 callers
Method
onNativeMouse
(int button, int action, float x, float y, boolean relative)
android/app/src/main/java/org/libsdl/app/SDLActivity.java:921
↓ 10 callers
Function
portRelocFindFileIdAndBase
port/bridge/lbreloc_bridge.cpp:1186
↓ 10 callers
Function
port_log_close
port/port_log.c:14
↓ 10 callers
Function
readBE32s
port/bridge/audio_bridge.cpp:247
↓ 10 callers
Function
read_be_u8
(data, offset)
tools/verify_struct_byteswap.py:90
↓ 9 callers
Method
getDevice
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:14
↓ 9 callers
Function
port_coroutine_create
port/coroutine_win32.cpp:113
↓ 9 callers
Function
port_coroutine_destroy
port/coroutine_win32.cpp:150
↓ 9 callers
Function
readBE16s
port/bridge/audio_bridge.cpp:245
↓ 9 callers
Function
readNativeU32
port/bridge/particle_bank_bridge.cpp:177
↓ 8 callers
Function
RealAppBundlePath
port/app_paths.cpp:14
↓ 8 callers
Function
WriteBoth
Write a byte string to both stderr and the log file fd (if open). * Async-signal-safe: write(2) is in the POSIX signal-safe list. */
port/port_watchdog.cpp:67
↓ 8 callers
Function
loadBlob
port/bridge/audio_bridge.cpp:268
↓ 8 callers
Function
port_coroutine_yield
port/coroutine_win32.cpp:203
↓ 8 callers
Function
put_f32
port/css_icons/port_css_stage_assets.cpp:175
↓ 8 callers
Function
read_be_u32
(data, offset)
tools/verify_struct_byteswap.py:81
↓ 8 callers
Method
runOnUi
(Runnable r)
android/app/src/main/java/com/jrickey/battleship/BootActivity.java:383
↓ 8 callers
Function
tex_log_emit
Centralized emit. Caller has already pre-formatted everything except the optional first16 hex (which we never want to compute when the log is off).
port/bridge/lbreloc_byteswap.cpp:311
↓ 8 callers
Function
tex_log_enabled
port/bridge/lbreloc_byteswap.cpp:286
↓ 7 callers
Function
Checkbox
port/gui/UIWidgets.cpp:289
↓ 7 callers
Method
HIDDeviceDisconnected
(int deviceID)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:694
↓ 7 callers
Function
PopStyleCheckbox
port/gui/UIWidgets.cpp:228
↓ 7 callers
Function
PopStyleCombobox
port/gui/UIWidgets.cpp:478
↓ 7 callers
Function
PushStyleCombobox
port/gui/UIWidgets.cpp:458
↓ 7 callers
Function
Separator
port/gui/UIWidgets.cpp:237
↓ 7 callers
Function
SetUpdateStatus
port/enhancements/Updater.cpp:80
↓ 7 callers
Method
_send
(self, code: int, ctype: str, body: bytes)
tools/edit_css_icon.py:107
↓ 7 callers
Function
bswap32At
port/bridge/particle_bank_bridge.cpp:169
↓ 7 callers
Method
close
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:20
↓ 7 callers
Method
connectGatt
(boolean managed)
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:188
↓ 7 callers
Method
getDeviceName
()
android/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java:103
↓ 7 callers
Method
isRegistered
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:292
↓ 7 callers
Function
portMarkSyntheticSprite
port/bridge/lbreloc_byteswap.cpp:2163
↓ 7 callers
Function
read_be_u16
(data, offset)
tools/verify_struct_byteswap.py:87
↓ 7 callers
Method
setPressedVisuals
Visual feedback on touch: 92% scale + 70% alpha while held.
android/app/src/main/java/com/jrickey/battleship/TouchOverlay.java:489
↓ 6 callers
Function
AppendLabel
port/port_watchdog.cpp:157
↓ 6 callers
Method
Clear
Drop all decoded entries (called from Init so a re-scan with a changed pack can't return a stale decoded texture on an LRU hit that predates the new i
port/hires/HiResPack.cpp:197
↓ 6 callers
Function
FormatHex
Format an unsigned value as hex into buf[]. Returns number of bytes * written. buf must have room for 2 + 16 + 1 = at least 19 bytes for a * 64-bit
port/port_watchdog.cpp:302
↓ 6 callers
Function
PushStyleCheckbox
port/gui/UIWidgets.cpp:213
↓ 6 callers
Function
QuoteCommandArg
port/first_run.cpp:139
↓ 6 callers
Function
aSetVolumeImpl
port/audio/mixer.c:508
↓ 6 callers
Function
acmd_decode_flags
debug_tools/acmd_trace/acmd_decoder.c:51
↓ 6 callers
Function
adpcm_predict_sample
port/audio/mixer.c:141
↓ 6 callers
Method
getId
()
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:527
↓ 6 callers
Method
handleNativeState
()
android/app/src/main/java/org/libsdl/app/SDLActivity.java:678
↓ 6 callers
Function
lbRelocFindStatusBufferFile
port/bridge/lbreloc_bridge.cpp:413
↓ 6 callers
Function
port_coroutine_in_coroutine
port/coroutine_win32.cpp:233
↓ 6 callers
Function
put_u32
port/css_icons/port_css_arrow.cpp:64
↓ 6 callers
Function
read_be_f32
(data, offset)
tools/verify_struct_byteswap.py:93
↓ 6 callers
Function
read_be_s16
port/android_torch_bridge.cpp:88
↓ 6 callers
Function
s16_at
(byte_off)
debug_tools/adpcm_diff/resample_offline.py:90
↓ 6 callers
Function
vmulf
port/audio/mixer.c:703
↓ 5 callers
Function
DestroyHandle
port/mods/HookManager.cpp:190
↓ 5 callers
Method
Draw
port/gui/Menu.cpp:649
↓ 5 callers
Function
PopStyleButton
port/gui/UIWidgets.cpp:136
↓ 5 callers
Function
PushStyleButton
port/gui/UIWidgets.cpp:122
↓ 5 callers
Function
ShellSingleQuote
port/enhancements/Updater.cpp:66
↓ 5 callers
Function
emit
(lines)
tools/upstream_reconcile.py:135
↓ 5 callers
Function
extract_file
(rom: bytes, file_id: int)
debug_tools/reloc_extract/reloc_extract.py:179
↓ 5 callers
Function
format_int
(value: int)
tools/generate_readme_stats.py:151
↓ 5 callers
Method
getCharacteristic
(UUID uuid)
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:139
↓ 5 callers
Method
getDevice
(int id)
android/app/src/main/java/org/libsdl/app/HIDDeviceManager.java:547
↓ 5 callers
Method
getHaptic
(int device_id)
android/app/src/main/java/org/libsdl/app/SDLControllerManager.java:612
↓ 5 callers
Method
getMotionListener
()
android/app/src/main/java/org/libsdl/app/SDLActivity.java:225
↓ 5 callers
Method
getVendorId
()
android/app/src/main/java/org/libsdl/app/HIDDevice.java:8
↓ 5 callers
Function
get_head_blob
(repo: Path, path: str)
tools/upstream_reconcile.py:73
↓ 5 callers
Function
parse_int
(s)
tools/save_editor.py:747
↓ 5 callers
Function
portLoadRelocResource
port/bridge/lbreloc_bridge.cpp:313
↓ 5 callers
Method
probeService
(HIDDeviceBLESteamController controller)
android/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java:300
↓ 5 callers
Method
release
(Context context)
android/app/src/main/java/org/libsdl/app/SDLAudioManager.java:55
↓ 5 callers
Method
showError
(String message)
android/app/src/main/java/com/jrickey/battleship/BootActivity.java:377
next →
1–100 of 1,583, ranked by callers