Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ctomni231/cwtactics
/ functions
Functions
896 in github.com/ctomni231/cwtactics
⨍
Functions
896
◇
Types & classes
21
↓ 1 callers
Function
getPolySize
(ngon)
cwtdemo/tools/dump/cwtdemohex.js:1139
↓ 1 callers
Function
getPolyVerts
(sides, radius, startX=false)
cwtdemo/tools/dump/cwtdemohex.js:1094
↓ 1 callers
Function
getRef
(name)
engine/js/jslix.js:661
↓ 1 callers
Function
getRef
(name)
new_core/jslix.js:480
↓ 1 callers
Function
getRef
(name)
cwtdemo/engine/js/jslix.js:485
↓ 1 callers
Method
getRootPath
This function gets the root path of the directory @return The String value representing the root path
src/com/jslix/io/FileFind.java:87
↓ 1 callers
Function
getStoredMapData
(ind=0)
cwtdemo/tools/maplibrary.js:198
↓ 1 callers
Function
getTerrainColor
(key)
cwtdemo/cwtmapengine.js:243
↓ 1 callers
Function
getTerrainData
(ind)
cwtdemo/tools/maplibrary.js:225
↓ 1 callers
Function
getText
(ind)
engine/js/ajax.js:76
↓ 1 callers
Function
getTextDim
(index, str)
new_core/jslix.js:740
↓ 1 callers
Function
getTextDim
(index, str)
cwtdemo/engine/js/jslix.js:754
↓ 1 callers
Function
getTextKey
(key, modcode)
cwtdemo/tools/maplib.js:505
↓ 1 callers
Method
getTextPicture
This function creates an exact image enclosing the java2D font text within it. Font is a default DIALOG font. Color is GRAY. @param text The string to
src/com/jslix/image/ImgLibrary.java:1039
↓ 1 callers
Method
getThreadResource
This will attempt to load an image from a resource file using the Threads get resource method. This is used to reference images directly within a .jar
src/com/jslix/image/ImgLoader.java:58
↓ 1 callers
Method
getTime
The amount of millisecs that elapsed per frame (1/1000) @return millisecs of time
src/com/jslix/JSlix.java:301
↓ 1 callers
Function
getUnitCodeLength
()
cwtdemo/tools/maplibrary.js:1280
↓ 1 callers
Function
getUnitData
(ind)
cwtdemo/tools/maplibrary.js:271
↓ 1 callers
Method
hideDirectory
This function hides a directory for Windows based machines @param folder The path to the hidden directory
src/com/jslix/io/FileFind.java:386
↓ 1 callers
Function
horibattle
(ctx)
game/cwbattle.js:534
↓ 1 callers
Method
init
()
src/com/cwt/CWTacticsOld.java:32
↓ 1 callers
Function
initReq
(reqType, url, isAsynch, send)
engine/js/ajax.js:197
↓ 1 callers
Function
initReq
(reqType, url, isAsynch, send, ctype="application/x-www-form-urlencoded; charset=UTF-8")
cwtdemo/engine/js/jsonlib.js:156
↓ 1 callers
Method
initialize
This function initializes the Slick and Java2D general functions, but does not uses any resources for setting up the windows @param width The x-axis l
src/com/jslix/JSlix.java:246
↓ 1 callers
Function
invertColors
(data)
engine/js/jslix.js:1202
↓ 1 callers
Function
invertColors
(data)
new_core/jslix.js:817
↓ 1 callers
Function
invertColors
(data)
cwtdemo/engine/js/jslix.js:831
↓ 1 callers
Function
isAllDataReady
(ind=undefined)
cwtdemo/tools/maplib.js:554
↓ 1 callers
Method
isKeyDown
Tests to see if a key is held down @param keycode The key to test @return if key is held down
src/com/jslix/KeyPress.java:104
↓ 1 callers
Method
isMouseDown
Tests to see if a mouse button is held down @param mousebutton The mouse click to test @return if button is held down
src/com/jslix/KeyPress.java:117
↓ 1 callers
Method
isPlaying
This function informs you when it is playing @return Whether the song is playing(T) or not(F)
src/com/jslix/sound/MusicListener.java:45
↓ 1 callers
Function
isSongPlaying
(song)
engine/js/music.js:44
↓ 1 callers
Function
isSongPlaying
(song)
cwtdemo/engine/js/music.js:44
↓ 1 callers
Function
iterateMatrix
(width, height, handler)
new_core/utils.js:24
↓ 1 callers
Function
listGroup
(objt, level)
engine/js/ajax.js:111
↓ 1 callers
Function
loadData
(ind)
cwtdemo/tools/maplib.js:639
↓ 1 callers
Function
loadImage
(num)
new_core/jslix.js:1228
↓ 1 callers
Function
loadImage
(num)
cwtdemo/engine/js/jslix.js:1242
↓ 1 callers
Function
loadList
()
cwtdemo/tools/maplibrary.js:316
↓ 1 callers
Function
loadList
()
cwtdemo/tools/maplib.js:592
↓ 1 callers
Function
loadMapData
()
cwtdemo/tools/maplibrary.js:349
↓ 1 callers
Function
loadSection
(ind)
cwtdemo/tools/maplib.js:616
↓ 1 callers
Function
loadTerrainData
()
cwtdemo/tools/maplibrary.js:561
↓ 1 callers
Function
loadUnitData
()
cwtdemo/tools/maplibrary.js:733
↓ 1 callers
Function
lzwDecode
(minSize, data)
engine/js/gif.js:99
↓ 1 callers
Function
makeUnitPath
(uind, x, y)
cwtdemo/cwtmapengine.js:743
↓ 1 callers
Function
makeUnitPath
(uind, x, y)
cwtdemo/tools/dump/cwtdemohex.js:839
↓ 1 callers
Function
mapChange
()
cwtdemo/cwtmapengine.js:1606
↓ 1 callers
Function
mapCursor
()
cwtdemo/cwtmapengine.js:1617
↓ 1 callers
Method
matchDir
This function checks to see if a file matches any of the directories stored @param dir The current directory holder @return If the held directory matc
src/com/jslix/io/FileFind.java:191
↓ 1 callers
Method
matchSuffix
This function checks to see if a file suffix matches any of the stored suffixes @param hold The index to check validity @return If the held file match
src/com/jslix/io/FileFind.java:177
↓ 1 callers
Method
moveScreen
Moves the the indexed Screen to a new location in the array @param index The indexed Screen @param pos The new position to move it
src/com/jslix/ScreenLibrary.java:113
↓ 1 callers
Function
moveState
()
cwtdemo/cwtmapengine.js:1725
↓ 1 callers
Method
normalizeStr
(int index, String str, int row, int limit)
src/com/jslix/image/ImgLibrary.java:1497
↓ 1 callers
Function
organizeData
(ind)
cwtdemo/tools/maplib.js:695
↓ 1 callers
Function
organizeMapData
()
cwtdemo/tools/maplibrary.js:404
↓ 1 callers
Function
organizeTerrainData
()
cwtdemo/tools/maplibrary.js:611
↓ 1 callers
Function
organizeUnitData
()
cwtdemo/tools/maplibrary.js:783
↓ 1 callers
Method
output
This is a helper function for the outputAll functionality @param key The Key of the JSON file @param value The Value of the JSON file
src/com/jslix/io/JSONLibrary.java:246
↓ 1 callers
Function
packUnitData
(ind)
cwtdemo/tools/maplibrary.js:1339
↓ 1 callers
Function
parse
()
engine/js/gif.js:136
↓ 1 callers
Function
parseAppExt
()
engine/js/gif.js:149
↓ 1 callers
Function
parseExt
()
engine/js/gif.js:273
↓ 1 callers
Function
parseGCExt
()
engine/js/gif.js:157
↓ 1 callers
Function
parseImg
()
engine/js/gif.js:167
↓ 1 callers
Function
placeCutImg
(ctx, img, dlx, dly, slx, sly, ssx, ssy)
engine/js/jslix.js:732
↓ 1 callers
Method
placeCutImg
This function is used to place a cut image from the source picture directly on the destination screen. This can be used for sprite sheets as the defau
src/com/jslix/image/ImgLibrary.java:759
↓ 1 callers
Method
playMP3
This sets up a MP3 player environment for MP3 music clips. @throws FileNotFoundException if file isn't found @throws JavaLayerException if something i
src/com/jslix/sound/MusicLibrary.java:273
↓ 1 callers
Method
playMidi
This sets up a MIDI player environment for playing MIDI files
src/com/jslix/sound/MusicLibrary.java:326
↓ 1 callers
Function
playMusic
(songpath)
engine/js/music.js:179
↓ 1 callers
Function
playMusic
(songpath)
cwtdemo/engine/js/music.js:179
↓ 1 callers
Method
playOGG
This sets up an OGG player environment for OGG music clips @throws FileNotFoundException if file isn't found @throws IOException if something is wrong
src/com/jslix/sound/MusicLibrary.java:289
↓ 1 callers
Method
playSound
This sets up a WAV player environment for playing sound effects @param index The location in the array where the clip is held
src/com/jslix/sound/MusicLibrary.java:302
↓ 1 callers
Function
prepareTween
(tween, startData)
engine/bc/tween.js:16
↓ 1 callers
Function
prepareTween
(tween, startData)
cwtdemo/engine/bc/tween.js:16
↓ 1 callers
Function
processFrame
(frame)
engine/js/gif.js:210
↓ 1 callers
Function
processMouseDown
(event)
engine/js/input.js:60
↓ 1 callers
Function
processMouseDown
(event)
cwtdemo/engine/js/input.js:61
↓ 1 callers
Function
queueNext
()
engine/js/ajax.js:135
↓ 1 callers
Function
quickRequest
(reqType, url, urlFrag="", asynch=true, ctype="application/x-www-form-urlencoded; charset=UTF-8")
cwtdemo/engine/js/jsonlib.js:85
↓ 1 callers
Method
reFactor
This class takes the information from the file and organizes it among the different variables @param filename The name of the file @param filepath The
src/com/jslix/io/FileIndex.java:47
↓ 1 callers
Method
refactor
This function searches all files recursively from the directory path specified and puts them into a list.
src/com/jslix/io/FileFind.java:139
↓ 1 callers
Method
removeAllScreens
Schedules a Screen deletion for all Screens, therefore ending the game.
src/com/jslix/ScreenLibrary.java:80
↓ 1 callers
Method
removeFrameScreen
Schedules a screen for deletion using the index number You can schedule as many screens for deletion as you want in one sitting. @param index The ind
src/com/jslix/ScreenLibrary.java:71
↓ 1 callers
Method
removeKeyPress
Removes a key press from the list of key presses @param keycode The key to remove
src/com/jslix/KeyPress.java:193
↓ 1 callers
Method
removeMouseClick
Removes mouse clicks from the array @param mousebutton The button to remove
src/com/jslix/KeyPress.java:204
↓ 1 callers
Function
renderCursor
(ctx)
new_core/screens/ingame.js:167
↓ 1 callers
Function
renderSilo
(ctx, ind, maprn, color='white', line=2)
cwtdemo/tools/dump/cwtdemobox.js:251
↓ 1 callers
Function
renderSilo
(ctx, ind, maprn, color='white', line=4)
cwtdemo/tools/dump/cwtdemohex.js:315
↓ 1 callers
Function
renderTiles
(ctx)
new_core/screens/ingame.js:175
↓ 1 callers
Function
renderUnits
(ctx)
new_core/screens/ingame.js:199
↓ 1 callers
Function
respondObj
(objt)
cwtdemo/engine/js/jsonlib.js:95
↓ 1 callers
Function
restState
()
cwtdemo/cwtmapengine.js:1703
↓ 1 callers
Method
rotateClockwise
This function performs a 90 degree rotation to the pixels @return An array list of altered pixels
src/com/jslix/image/ImgHolder.java:123
↓ 1 callers
Function
rotatePixels
(data, sx, sy)
engine/js/jslix.js:1276
↓ 1 callers
Function
rotatePixels
(data, sx, sy)
new_core/jslix.js:891
↓ 1 callers
Function
rotatePixels
(data, sx, sy)
cwtdemo/engine/js/jslix.js:905
↓ 1 callers
Method
scr_close
This runs when a screen is about to be destroyed
src/com/jslix/Screen.java:92
↓ 1 callers
Method
scr_getNew
This function gets if this screen has just been created @return Whether this screen has just been created(true) or not(false)
src/com/jslix/Screen.java:106
↓ 1 callers
Method
scr_init
This function runs when a screen is initialized
src/com/jslix/Screen.java:97
← previous
next →
301–400 of 896, ranked by callers