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
↓ 3 callers
Method
getPixels
This function returns pixels stored within an ImageSorter using an String reference @param ref The image name or filename of the image @return The ar
src/com/jslix/image/ImgLibrary.java:492
↓ 3 callers
Function
getRefIndex
(url)
engine/js/ajax.js:67
↓ 3 callers
Method
getX
This function returns the current x-axis size of the image stored within an ImageSorter using a string reference @param ref The image reference or fi
src/com/jslix/image/ImgLibrary.java:569
↓ 3 callers
Method
getY
This function returns the current y-axis size of the image stored within an ImageSorter using a string reference @param ref The image reference or fi
src/com/jslix/image/ImgLibrary.java:592
↓ 3 callers
Method
handleKeyboard
This function handles various keyboard actions and stores them to values for Java2D (expandable) @param e The key event to handle
src/com/jslix/JSlix.java:338
↓ 3 callers
Function
httpRequest
(reqType, url, asynch, send)
engine/js/ajax.js:211
↓ 3 callers
Function
isAllTerrainDataReady
()
cwtdemo/tools/maplibrary.js:220
↓ 3 callers
Function
isReady
(ind)
engine/js/ajax.js:91
↓ 3 callers
Function
loadImage
(num)
engine/js/jslix.js:1588
↓ 3 callers
Method
loadImage
Draws the entire image. It is used to make sure the full image is loaded into memory before drawing it. @param img The image to draw
src/com/jslix/image/ImgLoader.java:109
↓ 3 callers
Function
moduleTest
(moduleName, moduleTestFunction)
engine/screentest.js:38
↓ 3 callers
Function
moduleTest
(moduleName, moduleTestFunction)
cwtdemo/engine/screentest.js:38
↓ 3 callers
Function
numberOrBoundary
(leftBoundary, rightBoundary, number)
new_core/utils.js:32
↓ 3 callers
Function
playing
()
engine/js/gif.js:366
↓ 3 callers
Function
queueNext
()
engine/js/jslix.js:1195
↓ 3 callers
Function
validMoveE
(ind, opt)
cwtdemo/tools/dump/cwtdemobox.js:380
↓ 3 callers
Function
validMoveN
(ind, opt)
cwtdemo/tools/dump/cwtdemobox.js:329
↓ 3 callers
Function
validMoveS
(ind, opt)
cwtdemo/tools/dump/cwtdemobox.js:346
↓ 3 callers
Function
validMoveW
(ind, opt)
cwtdemo/tools/dump/cwtdemobox.js:363
↓ 2 callers
Function
addFile
(fileurl)
cwtdemo/tools/dump/dump.js:52
↓ 2 callers
Method
addLetterImage
This addTextImage helper function gets a letter string using the limit provided @param index The index of the image (or negative for a Font) @param st
src/com/jslix/image/ImgLibrary.java:1299
↓ 2 callers
Method
addWordImage
This addTextImage helper function helps get pieces of words out of a paragraph @param index The index of the image (or negative for a Font) @param str
src/com/jslix/image/ImgLibrary.java:1324
↓ 2 callers
Function
beforeEach
()
engine/screentest.js:45
↓ 2 callers
Function
beforeEach
()
cwtdemo/engine/screentest.js:45
↓ 2 callers
Function
changeReference
(name)
engine/js/jslix.js:453
↓ 2 callers
Function
changeReference
(name)
new_core/jslix.js:318
↓ 2 callers
Function
changeReference
(name)
cwtdemo/engine/js/jslix.js:323
↓ 2 callers
Method
clearGrid
Clears the grid
src/com/jslix/image/ImgLibrary.java:883
↓ 2 callers
Function
clearMove
()
cwtdemo/cwtmapengine.js:607
↓ 2 callers
Function
clearPath
()
cwtdemo/cwtmapengine.js:1020
↓ 2 callers
Function
clearRange
()
cwtdemo/cwtmapengine.js:730
↓ 2 callers
Function
clearUnitMove
()
cwtdemo/tools/dump/cwtdemobox.js:462
↓ 2 callers
Method
createPixelMapImage
The most important function in the entire class. Makes the mumble jumble of pixels into an image. @return A pixtureMap completed image
src/com/jslix/image/ImgLibrary.java:1150
↓ 2 callers
Function
createTerrain
(id, px, py, tc)
cwtdemo/tools/dump/cwtdemobox.js:305
↓ 2 callers
Function
createTerrain
(id, px, py, tc)
cwtdemo/tools/dump/cwtdemohex.js:452
↓ 2 callers
Function
doOnloadEvent
()
engine/js/gif.js:309
↓ 2 callers
Method
drawPermPixel
This private function fills in all the necessary variables to create a transparent PixtureMap. @param colorInRGB The color to be inserted @param locx
src/com/jslix/image/ImgLibrary.java:1187
↓ 2 callers
Function
dropCutPixels
(data, sx, sy, idata)
engine/js/jslix.js:1411
↓ 2 callers
Function
dropCutPixels
(data, sx, sy, idata)
new_core/jslix.js:1026
↓ 2 callers
Function
dropCutPixels
(data, sx, sy, idata)
cwtdemo/engine/js/jslix.js:1040
↓ 2 callers
Function
fakeKeyUp
(key)
engine/js/input.test.js:9
↓ 2 callers
Function
fakeKeyUp
(key)
engine/bc/input.test.js:9
↓ 2 callers
Function
fakeKeyUp
(key)
new_core/input.test.js:10
↓ 2 callers
Function
fakeKeyUp
(key)
cwtdemo/engine/js/input.test.js:9
↓ 2 callers
Function
fakeKeyUp
(key)
cwtdemo/engine/bc/input.test.js:9
↓ 2 callers
Method
generateList
Used to generate a single flat array from a JSON file. Useful if you want to view everything at once including the types @param map The JSON Map to vi
src/com/jslix/io/JSONLibrary.java:138
↓ 2 callers
Function
getFile
(id)
new_core/filelib.js:37
↓ 2 callers
Function
getFile
(id)
cwtdemo/tools/dump/dump.js:76
↓ 2 callers
Method
getIndex
This gets the current index of a String reference to a music clip @param ref The reference String @return The index representing the reference String
src/com/jslix/sound/MusicLibrary.java:162
↓ 2 callers
Method
getJSONMap
Takes in a filename and creates a Map out of it @param filename The JSON formed data file @return A Map containing the data
src/com/jslix/io/JSONLibrary.java:63
↓ 2 callers
Method
getJSONMapFromRaw
Takes in raw data and creates a Map out of it @param filename The JSON formed data @return A Map containing the data
src/com/jslix/io/JSONLibrary.java:72
↓ 2 callers
Function
getLetterDim
(index)
engine/js/jslix.js:819
↓ 2 callers
Method
getLetterDim
A function for getting the length and width of a letter in a textMap @param index The ImgLibrary index of the image @return An array representing the
src/com/jslix/image/ImgLibrary.java:1388
↓ 2 callers
Function
getMapFileLength
()
cwtdemo/tools/maplibrary.js:1270
↓ 2 callers
Function
getPolySize
(ngon)
cwtdemo/cwtmapengine.js:1447
↓ 2 callers
Function
getPolyVerts
(sides, radius, startX=false)
cwtdemo/cwtmapengine.js:1394
↓ 2 callers
Method
getRaw
This is used to get an JSON raw script from a file provided. It will work for any document formed in JSON. @param filename The path to the JSON docume
src/com/jslix/io/JSONLibrary.java:179
↓ 2 callers
Function
getTerrainCodeLength
()
cwtdemo/tools/maplibrary.js:1275
↓ 2 callers
Function
getTextDim
(index, str, drop)
engine/js/jslix.js:800
↓ 2 callers
Method
getTextDim
A function for getting the length and width of a text string. Will need a bit more functionality for newlines @param index The ImgLibrary index of the
src/com/jslix/image/ImgLibrary.java:1365
↓ 2 callers
Method
getURLImage
Loads and retrieves an image from an URL @param urlstring The URL of the picture file @return A loaded image (if it exists)
src/com/jslix/image/ImgLoader.java:82
↓ 2 callers
Method
handlePixels
A private class used to organize pixels into an array of integers from a java2D image @param img The image to change into pixels @param x The x posit
src/com/jslix/image/ImgLoader.java:141
↓ 2 callers
Function
httpRequest
(reqType, url, asynch, send, ctype="application/x-www-form-urlencoded; charset=UTF-8")
cwtdemo/engine/js/jsonlib.js:170
↓ 2 callers
Function
imgError
(deadImg)
engine/js/jslix.js:1605
↓ 2 callers
Function
imgError
(deadImg)
new_core/jslix.js:1245
↓ 2 callers
Function
imgError
(deadImg)
cwtdemo/engine/js/jslix.js:1259
↓ 2 callers
Function
isInLowerBoundary
(range, type, value)
new_core/scrollable.js:31
↓ 2 callers
Function
isInUpperBoundary
(range, type, value)
new_core/scrollable.js:45
↓ 2 callers
Method
loop
This function causes a music clip to loop repetitively @param ref The String reference to the music clip
src/com/jslix/sound/MusicLibrary.java:196
↓ 2 callers
Function
makeUnitPath
(x, y)
cwtdemo/tools/dump/cwtdemobox.js:568
↓ 2 callers
Method
mergeGridToImage
This turns the editing grid into a image for display
src/com/jslix/image/ImgLibrary.java:993
↓ 2 callers
Function
moduleTest
(moduleName, moduleTestFunction)
new_core/test.js:38
↓ 2 callers
Method
moveColumnPixels
This private function can move a row of pixels to the right/left according to the number chosen @param row The y-axis row chosen @param movePixels num
src/com/jslix/image/ImgLibrary.java:1228
↓ 2 callers
Method
moveRowPixels
This private function can move a column of pixels to the right/left according to the number chosen @param column The x-axis column chosen @param moveP
src/com/jslix/image/ImgLibrary.java:1202
↓ 2 callers
Function
moveScreen
(type, value)
new_core/scrollable.js:12
↓ 2 callers
Function
normalizeStr
(txtArr)
engine/js/jslix.js:849
↓ 2 callers
Method
outputAll
Used for printing out all data from a JSON file. Human readable @param filename The JSON file path and name
src/com/jslix/io/JSONLibrary.java:229
↓ 2 callers
Function
packMapData
(ind)
cwtdemo/tools/maplibrary.js:1287
↓ 2 callers
Function
packTerrainData
(ind)
cwtdemo/tools/maplibrary.js:1316
↓ 2 callers
Function
parseColourTable
(count)
engine/js/gif.js:131
↓ 2 callers
Method
playMusic
This function sets up music to play within its own Thread environment to save CPU time in the game @param repeat Whether this music clip loops(T) or n
src/com/jslix/sound/MusicLibrary.java:260
↓ 2 callers
Function
prepareTween
(tween, startData)
new_core/tween.js:16
↓ 2 callers
Method
run
The runnable for the Timer class
src/com/jslix/Timer.java:67
↓ 2 callers
Function
setCanvasSize
()
engine/screenlibrary.js:92
↓ 2 callers
Function
setCanvasSize
()
cwtdemo/engine/screenlibrary.js:92
↓ 2 callers
Method
setFlipX
This function performs a x-axis horizontal flip to the pixels @return An array list of altered pixels
src/com/jslix/image/ImgHolder.java:97
↓ 2 callers
Method
setImageSize
This function sets the next loaded image to the size you specify. Therefore this must be called before an image is added. The size is reset after an i
src/com/jslix/image/ImgLibrary.java:133
↓ 2 callers
Function
setSize
(width, height)
engine/screenlibrary.js:66
↓ 2 callers
Function
setSize
(width, height)
cwtdemo/engine/screenlibrary.js:66
↓ 2 callers
Function
showMove
(rng, x, y)
cwtdemo/tools/dump/cwtdemohex.js:655
↓ 2 callers
Function
showRange
(maprn, x, y, or=1, ir=0, paint=false)
cwtdemo/cwtmapengine.js:614
↓ 2 callers
Function
showRange
(x, y, or=1, ir=0)
cwtdemo/tools/dump/cwtdemobox.js:472
↓ 2 callers
Function
showRange
(x, y, or=1, ir=0)
cwtdemo/tools/dump/cwtdemohex.js:732
↓ 2 callers
Method
showWindow
()
src/com/cwt/CWTacticsOld.java:51
↓ 2 callers
Method
startThread
This is a filler function for starting a thread
src/com/jslix/Timer.java:121
↓ 2 callers
Method
stop
This function forces all music to halt play back. It is a little delayed for OGG music
src/com/jslix/sound/MusicLibrary.java:221
↓ 2 callers
Method
storeImage
This function sets up all variables for an image @return An ImageHolder containing the image and variables
src/com/jslix/image/ImgLibrary.java:803
↓ 2 callers
Method
updateScreens
This deletes screens from the list if they are scheduled
src/com/jslix/ScreenLibrary.java:124
↓ 1 callers
Function
addAllTextInfo
(index, posx, posy, sizex, sizey, slicex, slicey, start, chart)
new_core/jslix.js:417
↓ 1 callers
Function
addAllTextInfo
(index, posx, posy, sizex, sizey, slicex, slicey, start, chart)
cwtdemo/engine/js/jslix.js:422
← previous
next →
101–200 of 896, ranked by callers