Windows build support

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
unknown 3 years ago
parent f4d44b4431
commit 561c51da19
  1. 4
      Java/scripts/build.sh
  2. 9
      Java/scripts/build2.sh
  3. 12
      Java/scripts/md5
  4. BIN
      bin/RabiClone.jar
  5. BIN
      bin/sig/DrawLoop.class
  6. BIN
      bin/sig/RabiClone.class
  7. BIN
      bin/sig/engine/Action.class
  8. BIN
      bin/sig/engine/Alpha.class
  9. BIN
      bin/sig/engine/AnimatedObject.class
  10. BIN
      bin/sig/engine/AnimatedSprite.class
  11. BIN
      bin/sig/engine/Color.class
  12. BIN
      bin/sig/engine/Edge.class
  13. BIN
      bin/sig/engine/Font.class
  14. BIN
      bin/sig/engine/GameEntity.class
  15. BIN
      bin/sig/engine/Key.class
  16. BIN
      bin/sig/engine/KeyBind.class
  17. BIN
      bin/sig/engine/MouseScrollValue.class
  18. BIN
      bin/sig/engine/Object.class
  19. BIN
      bin/sig/engine/PaletteColor.class
  20. BIN
      bin/sig/engine/Panel$1.class
  21. BIN
      bin/sig/engine/Panel$2.class
  22. BIN
      bin/sig/engine/Panel$3.class
  23. BIN
      bin/sig/engine/Panel.class
  24. BIN
      bin/sig/engine/Point.class
  25. BIN
      bin/sig/engine/Rectangle.class
  26. BIN
      bin/sig/engine/Sprite.class
  27. BIN
      bin/sig/engine/String.class
  28. BIN
      bin/sig/engine/Transform.class
  29. BIN
      bin/sig/map/Background.class
  30. BIN
      bin/sig/map/CollisionType.class
  31. BIN
      bin/sig/map/Map.class
  32. BIN
      bin/sig/map/Maps.class
  33. BIN
      bin/sig/map/Tile.class
  34. BIN
      bin/sig/map/Type.class
  35. BIN
      bin/sig/map/View.class
  36. BIN
      bin/sig/objects/ConfigureControls.class
  37. BIN
      bin/sig/objects/EditorRenderer$1.class
  38. BIN
      bin/sig/objects/EditorRenderer.class
  39. BIN
      bin/sig/objects/LevelRenderer.class
  40. BIN
      bin/sig/objects/Player$1.class
  41. BIN
      bin/sig/objects/Player.class
  42. BIN
      bin/sig/objects/actor/State.class
  43. BIN
      bin/sig/utils/TimeUtils.class
  44. 10
      build.sh
  45. BIN
      maps/world1.map
  46. 3
      sig
  47. BIN
      sprites/tiles.gif
  48. 1
      src/sig/map/CollisionType.java
  49. 6
      src/sig/map/Tile.java
  50. 2
      utils/filelist
  51. 8
      utils/md5

@ -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

@ -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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -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

Binary file not shown.

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…
Cancel
Save