Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
add license header to files and un-capitalize zlib in README
Browse files Browse the repository at this point in the history
  • Loading branch information
darkf committed Aug 3, 2013
1 parent 607410a commit 3a518de
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,4 +22,4 @@ If you're looking for tasks to do, check the issue tracker.
License
========

This project is licensed under the terms of the Zlib license, the full text of which can be found in `LICENSE.txt`. By contributing to this project, you agree to license your contributions under the terms of the Zlib license.
This project is licensed under the terms of the zlib license, the full text of which can be found in `LICENSE.txt`. By contributing to this project, you agree to license your contributions under the terms of the zlib license.
3 changes: 3 additions & 0 deletions src/actor.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Base actor class. Players and enemies inherit from this.

class Actor implements Tile {
Expand Down
3 changes: 3 additions & 0 deletions src/enemy.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Contains definitions and logic for enemies

// Base enemy class
Expand Down
3 changes: 3 additions & 0 deletions src/gamestate.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Game States are basically scenes. The game uses a game state stack where multiple
// scenes can stack upon eachother. The play state (i.e. the world) is usually the
// bottom-most state. On top of it are usually menu states, like UpgradeState.
Expand Down
5 changes: 5 additions & 0 deletions src/main.ts
@@ -1,3 +1,8 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// This is the main file. It handles setting up the game and loading assets.

class Camera {
x : number = 0;
get(x : number) {
Expand Down
3 changes: 3 additions & 0 deletions src/map.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// The game world map
// Tile cells are actually stacks of tiles, so that when another tile moves into it,
// such as an enemy, it doesn't remove it, just sits on top of it.
Expand Down
3 changes: 3 additions & 0 deletions src/player.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Player definition and related logic

class Player extends Actor {
Expand Down
3 changes: 3 additions & 0 deletions src/playstate.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// The main game play state

class PlayState implements GameState {
Expand Down
3 changes: 3 additions & 0 deletions src/spell.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Definitions for Spells and related

// Base Spell class that all spells inherit from
Expand Down
3 changes: 3 additions & 0 deletions src/tile.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// Contains code for tiles
// The tile_* assets are unfortunately defined in `main.ts` for now.

Expand Down
3 changes: 3 additions & 0 deletions src/upgradestate.ts
@@ -1,3 +1,6 @@
// Copyright (c) 2013 the Die, Yenu, Die! authors (see AUTHORS.txt for a full list)
// Licensed under the terms of the zlib license. See LICENSE.txt for the full license text.

// The upgrade (altar) menu state

class UpgradeState implements GameState {
Expand Down

0 comments on commit 3a518de

Please sign in to comment.