Windows build support
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
f4d44b4431
commit
561c51da19
@ -5,5 +5,5 @@ javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp $
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
ORIGINAL_LOC=$(pwd)
|
||||
cd $OUT_DIR
|
||||
java ${CUSTOM_PARAMS} -cp .:../lib/bin -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
#${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
9
Java/scripts/build2.sh
Normal file
9
Java/scripts/build2.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#Builds and runs the project.
|
||||
#Java
|
||||
source ${LANGUAGE}/scripts/version_info
|
||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH2} -d ${OUT_DIR} ${PROJECT_DIR}/*.java
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
ORIGINAL_LOC=$(pwd)
|
||||
cd $OUT_DIR
|
||||
java ${CUSTOM_PARAMS} -cp ".;../lib/bin/ " "-Djava.library.path=${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
#${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
@ -1,6 +1,6 @@
|
||||
build.sh:293285766098a4e3d4d708e58a69de82 -
|
||||
clean.sh:668a2f9b568c55f6a044a509315032f6 -
|
||||
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
|
||||
jar.sh:2f59229fcaf02779bfaa43144f3be66f -
|
||||
release.sh:b1b62203411b18d0fec1db3dc2e5a061 -
|
||||
update.sh:3be721658983183efa395984acd96b03 -
|
||||
build.sh:293285766098a4e3d4d708e58a69de82 *-
|
||||
clean.sh:668a2f9b568c55f6a044a509315032f6 *-
|
||||
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 *-
|
||||
jar.sh:2f59229fcaf02779bfaa43144f3be66f *-
|
||||
release.sh:b1b62203411b18d0fec1db3dc2e5a061 *-
|
||||
update.sh:3be721658983183efa395984acd96b03 *-
|
||||
|
Binary file not shown.
BIN
bin/sig/DrawLoop.class
Normal file
BIN
bin/sig/DrawLoop.class
Normal file
Binary file not shown.
BIN
bin/sig/RabiClone.class
Normal file
BIN
bin/sig/RabiClone.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Action.class
Normal file
BIN
bin/sig/engine/Action.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Alpha.class
Normal file
BIN
bin/sig/engine/Alpha.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/AnimatedObject.class
Normal file
BIN
bin/sig/engine/AnimatedObject.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/AnimatedSprite.class
Normal file
BIN
bin/sig/engine/AnimatedSprite.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Color.class
Normal file
BIN
bin/sig/engine/Color.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Edge.class
Normal file
BIN
bin/sig/engine/Edge.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Font.class
Normal file
BIN
bin/sig/engine/Font.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/GameEntity.class
Normal file
BIN
bin/sig/engine/GameEntity.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Key.class
Normal file
BIN
bin/sig/engine/Key.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/KeyBind.class
Normal file
BIN
bin/sig/engine/KeyBind.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/MouseScrollValue.class
Normal file
BIN
bin/sig/engine/MouseScrollValue.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Object.class
Normal file
BIN
bin/sig/engine/Object.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/PaletteColor.class
Normal file
BIN
bin/sig/engine/PaletteColor.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Panel$1.class
Normal file
BIN
bin/sig/engine/Panel$1.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Panel$2.class
Normal file
BIN
bin/sig/engine/Panel$2.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Panel$3.class
Normal file
BIN
bin/sig/engine/Panel$3.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Panel.class
Normal file
BIN
bin/sig/engine/Panel.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Point.class
Normal file
BIN
bin/sig/engine/Point.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Rectangle.class
Normal file
BIN
bin/sig/engine/Rectangle.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Sprite.class
Normal file
BIN
bin/sig/engine/Sprite.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/String.class
Normal file
BIN
bin/sig/engine/String.class
Normal file
Binary file not shown.
BIN
bin/sig/engine/Transform.class
Normal file
BIN
bin/sig/engine/Transform.class
Normal file
Binary file not shown.
BIN
bin/sig/map/Background.class
Normal file
BIN
bin/sig/map/Background.class
Normal file
Binary file not shown.
BIN
bin/sig/map/CollisionType.class
Normal file
BIN
bin/sig/map/CollisionType.class
Normal file
Binary file not shown.
BIN
bin/sig/map/Map.class
Normal file
BIN
bin/sig/map/Map.class
Normal file
Binary file not shown.
BIN
bin/sig/map/Maps.class
Normal file
BIN
bin/sig/map/Maps.class
Normal file
Binary file not shown.
BIN
bin/sig/map/Tile.class
Normal file
BIN
bin/sig/map/Tile.class
Normal file
Binary file not shown.
BIN
bin/sig/map/Type.class
Normal file
BIN
bin/sig/map/Type.class
Normal file
Binary file not shown.
BIN
bin/sig/map/View.class
Normal file
BIN
bin/sig/map/View.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/ConfigureControls.class
Normal file
BIN
bin/sig/objects/ConfigureControls.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/EditorRenderer$1.class
Normal file
BIN
bin/sig/objects/EditorRenderer$1.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/EditorRenderer.class
Normal file
BIN
bin/sig/objects/EditorRenderer.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/LevelRenderer.class
Normal file
BIN
bin/sig/objects/LevelRenderer.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/Player$1.class
Normal file
BIN
bin/sig/objects/Player$1.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/Player.class
Normal file
BIN
bin/sig/objects/Player.class
Normal file
Binary file not shown.
BIN
bin/sig/objects/actor/State.class
Normal file
BIN
bin/sig/objects/actor/State.class
Normal file
Binary file not shown.
BIN
bin/sig/utils/TimeUtils.class
Normal file
BIN
bin/sig/utils/TimeUtils.class
Normal file
Binary file not shown.
10
build.sh
10
build.sh
@ -1,10 +0,0 @@
|
||||
#Builds and runs the project.
|
||||
#Java
|
||||
source ${LANGUAGE}/scripts/version_info
|
||||
rm -Rf out/*
|
||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
ORIGINAL_LOC=$(pwd)
|
||||
cd $OUT_DIR
|
||||
java -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
BIN
maps/world1.map
BIN
maps/world1.map
Binary file not shown.
3
sig
3
sig
@ -1,4 +1,4 @@
|
||||
export AUTO_UPDATE=true
|
||||
export AUTO_UPDATE=false
|
||||
|
||||
source utils/define.sh
|
||||
|
||||
@ -8,6 +8,7 @@ define MAIN_CLASS "sig.${PROJECT_NAME}"
|
||||
define OUT_DIR "bin"
|
||||
define LIBRARY_PATH "../lib"
|
||||
define CLASS_PATH "${PROJECT_DIR}/..:lib/bin"
|
||||
define CLASS_PATH2 "${PROJECT_DIR}/..;lib/bin"
|
||||
define CUSTOM_PARAMS "-Xmx2G -Xms2G"
|
||||
define LANGUAGE "Java"
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 1.1 KiB |
@ -2,5 +2,6 @@ package sig.map;
|
||||
|
||||
public enum CollisionType {
|
||||
BLOCK,
|
||||
SLOPE,
|
||||
NONE
|
||||
}
|
||||
|
@ -7,6 +7,12 @@ public enum Tile {
|
||||
PLATFORM_LEDGE(2,0,CollisionType.BLOCK),
|
||||
INVISIBLE_WALL(0,0,true,CollisionType.BLOCK),
|
||||
HIGHLIGHTED_TILE(3,0,CollisionType.BLOCK),
|
||||
SMALL_SLOPE_LEFT(0,1,CollisionType.BLOCK),
|
||||
SMALL_SLOPE_RIGHT(1,1,CollisionType.BLOCK),
|
||||
BIG_SLOPE_LEFT1(2,1,CollisionType.BLOCK),
|
||||
BIG_SLOPE_LEFT2(3,1,CollisionType.BLOCK),
|
||||
BIG_SLOPE_RIGHT1(0,2,CollisionType.BLOCK),
|
||||
BIG_SLOPE_RIGHT2(1,2,CollisionType.BLOCK),
|
||||
;
|
||||
|
||||
final public static int TILE_WIDTH=32;
|
||||
|
@ -1,5 +1,5 @@
|
||||
.coauthors
|
||||
.updateDirectories
|
||||
define.sh
|
||||
main.sh
|
||||
search.sh
|
||||
.updateDirectories
|
||||
|
@ -1,4 +1,4 @@
|
||||
define.sh:3ecab0dffe2adfb950f3eb7c7061b750 -
|
||||
main.sh:d3d1bd0b56d8114eb7479964227f8576 -
|
||||
search.sh:81d08f5ff48e8a44b5f68387d426da05 -
|
||||
.updateDirectories:0ede00461e947494545e694040787b3f -
|
||||
.updateDirectories:0ede00461e947494545e694040787b3f *-
|
||||
define.sh:3ecab0dffe2adfb950f3eb7c7061b750 *-
|
||||
main.sh:d3d1bd0b56d8114eb7479964227f8576 *-
|
||||
search.sh:81d08f5ff48e8a44b5f68387d426da05 *-
|
||||
|
Loading…
x
Reference in New Issue
Block a user