-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 38d7e17
Showing
243 changed files
with
24,632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Normalize as LF in the repository, OS native locally | ||
* text=auto | ||
*.java text | ||
|
||
# Binary files that should not be modified | ||
*.dat binary | ||
*.db binary | ||
*.icns binary | ||
*.ico binary | ||
*.key binary | ||
*.jks binary | ||
*.jpg binary | ||
*.png binary | ||
*.ttf binary | ||
*.wav binary | ||
JavaApplicationStub binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Build # | ||
######### | ||
MANIFEST.MF | ||
dependency-reduced-pom.xml | ||
|
||
# Compiled # | ||
############ | ||
bin | ||
build | ||
dist | ||
lib | ||
out | ||
target | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Databases # | ||
############# | ||
*.db | ||
*.sql | ||
*.sqlite | ||
|
||
# Packages # | ||
############ | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# Repository # | ||
############## | ||
.git | ||
|
||
# Logging # | ||
########### | ||
/logs | ||
*.log | ||
|
||
# Misc # | ||
######## | ||
*.bak | ||
|
||
# System # | ||
########## | ||
.DS_Store | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
# Project # | ||
########### | ||
.classpath | ||
.externalToolBuilders | ||
.idea | ||
.project | ||
.settings | ||
nbproject | ||
atlassian-ide-plugin.xml | ||
build.xml | ||
nb-configuration.xml | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# Runtime # | ||
########### | ||
/cache | ||
/config | ||
/data | ||
/natives | ||
/plugins | ||
/resources | ||
/update | ||
/updates | ||
/worlds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,197 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.spout</groupId> | ||
<artifactId>Spout2</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Spout2</name> | ||
<url>http://maven.apache.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<!-- Dependency repositories --> | ||
<repositories> | ||
<repository> | ||
<id>sonatype-nexus-releases</id> | ||
<url>https://oss.sonatype.org/content/repositories/releases</url> | ||
</repository> | ||
<repository> | ||
<id>sonatype-nexus-snapshots</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
<repository> | ||
<id>4thline-cling</id> | ||
<url>http://4thline.org/m2</url> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.beust</groupId> | ||
<artifactId>jcommander</artifactId> | ||
<version>1.30</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>3.8.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.4</version> | ||
</dependency> | ||
<dependency> | ||
<artifactId>commons-collections</artifactId> | ||
<groupId>commons-collections</groupId> | ||
<type>jar</type> | ||
<version>3.2.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.spout</groupId> | ||
<artifactId>react</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.flowpowered</groupId> | ||
<artifactId>flow-events</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.sf.trove4j</groupId> | ||
<artifactId>trove4j</artifactId> | ||
<version>3.0.3</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.flowpowered</groupId> | ||
<artifactId>flow-filesystem</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>spout-math</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.flowpowered</groupId> | ||
<artifactId>flow-commons</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>15.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.spout.flow</groupId> | ||
<artifactId>flow-chat-commands</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>caustic</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.spout</groupId> | ||
<artifactId>simplenbt</artifactId> | ||
<version>1.0.5-SNAPSHOT</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-jdk14</artifactId> | ||
<version>1.7.5</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<!-- Build configuration --> | ||
<build> | ||
<!-- Build plugins --> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
<!-- JAR creation plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.4</version> | ||
<configuration> | ||
<archive> | ||
<manifestEntries> | ||
<Main-Class>org.spout.engine.SpoutApplication</Main-Class> | ||
<Implementation-Title>${project.name}</Implementation-Title> | ||
<Implementation-Version>${project.version}+${ciSystem}-b${buildNumber}.git-${commit}</Implementation-Version> | ||
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor> | ||
<Specification-Title>${project.name} API</Specification-Title> | ||
<Specification-Version>${project.version}+${ciSystem}-b${buildNumber}.git-${commit}</Specification-Version> | ||
<Specification-Vendor>${project.organization.name}</Specification-Vendor> | ||
</manifestEntries> | ||
<manifestSections> | ||
<manifestSection> | ||
<name>org/spout/</name> | ||
<manifestEntries> | ||
<Sealed>true</Sealed> | ||
</manifestEntries> | ||
</manifestSection> | ||
</manifestSections> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<!-- Dependency addition plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>2.1</version> | ||
<executions> | ||
<execution> | ||
<configuration> | ||
<filters> | ||
<filter> | ||
<artifact>*:*</artifact> | ||
<excludes> | ||
<exclude>lib/**</exclude> | ||
<exclude>templates/**</exclude> | ||
<exclude>META-INF/*.xml</exclude> | ||
<exclude>META-INF/*.txt</exclude> | ||
<exclude>**/LICENSE</exclude> | ||
<exclude>**/NOTICE</exclude> | ||
<exclude>**/DEPENDENCIES</exclude> | ||
<exclude>**/*.java</exclude> | ||
</excludes> | ||
</filter> | ||
</filters> | ||
</configuration> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* This file is part of Spout. | ||
* | ||
* Copyright (c) 2011 Spout LLC <http://www.spout.org/> | ||
* Spout is licensed under the Spout License Version 1. | ||
* | ||
* Spout is free software: you can redistribute it and/or modify it under | ||
* the terms of the GNU Lesser General Public License as published by the Free | ||
* Software Foundation, either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* In addition, 180 days after any changes are published, you can use the | ||
* software, incorporating those changes, under the terms of the MIT license, | ||
* as described in the Spout License Version 1. | ||
* | ||
* Spout is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License, | ||
* the MIT license and the Spout License Version 1 along with this program. | ||
* If not, see <http://www.gnu.org/licenses/> for the GNU Lesser General Public | ||
* License and see <http://spout.in/licensev1> for the full license, including | ||
* the MIT license. | ||
*/ | ||
package org.spout.api; | ||
|
||
import org.spout.api.entity.Player; | ||
import org.spout.api.geo.World; | ||
import org.spout.api.render.Renderer; | ||
|
||
/** | ||
* Represents the client-specific component of the Spout platform. | ||
*/ | ||
public interface Client extends Engine { | ||
/** | ||
* Gets the player on the local machine (the one who is using the client). | ||
* | ||
* @return player | ||
*/ | ||
public Player getPlayer(); | ||
|
||
/** | ||
* Gets the current world in-which the player on the local machine is within. | ||
* | ||
* This is always the world the client is currently rendering. | ||
* | ||
* @return world | ||
*/ | ||
public World getWorld(); | ||
|
||
/** | ||
* Gets the renderer that the client is using. | ||
* | ||
* @return the renderer in use | ||
*/ | ||
public Renderer getRenderer(); | ||
} |
Oops, something went wrong.