This file contains hidden or 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
| from __future__ import division, print_function | |
| import struct, math | |
| data = "" | |
| for i in range(1, 2): | |
| text = open("output1", "r") | |
| data += text.read() | |
| text.close() |
This file contains hidden or 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
| package Modules; | |
| import Engine.Constants; | |
| import Engine.Module; | |
| import Engine.Pipe; | |
| public class Highpass extends Module | |
| { | |
| public static final int SIGNAL_INPUT = 0; | |
| public static final int FREQUENCY_INPUT = 1; |
This file contains hidden or 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
| from __future__ import division, print_function | |
| import Image | |
| class Wallmask(object): | |
| def __init__(self): | |
| self.load_wallmask("Maps/ctf_dirtbowl_v2.png") | |
| self.name = "ctf_dirtbowl_v2" | |
| def load_wallmask(self, name): | |
| print("---LOADING WALLMASK---") |
This file contains hidden or 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
| from __future__ import division, print_function | |
| import pygame, random | |
| import gameobject | |
| import vector | |
| import constants | |
| class Creature(gameobject.GameObject): | |
| OBJECT_TYPE = "Swarm particles" |
This file contains hidden or 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
| /** | |
| * Diese Klasse stellt einen Binˆ§ren Baum dar. | |
| * | |
| * @author EFI-5 | |
| * @version 0.1 | |
| */ | |
| public class BinaererBaum { | |
| /* | |
| linker Ast |
This file contains hidden or 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
| from __future__ import division, print_function | |
| import random, sys | |
| class Bot(object): | |
| def __init__(self): | |
| self.words = {} | |
| self.LINE_LENGTH = 100 | |
| self.BEGIN = "THIS_IS_A_BEGINNING;_IF_THIS_APPEARS_IN_YOUR_TEXT:FUCK_YOU" | |
| self.beginning_words = [] | |
This file contains hidden or 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
| from __future__ import division, print_function | |
| import sys | |
| import pyglet | |
| window = pyglet.window.Window(800, 800, resizable=True) | |
| window.set_caption('Pyglet Testing') | |
| window.flip() |
This file contains hidden or 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
| //respawn timer here | |
| if (global.respawntimer == 1) | |
| { | |
| if (time <= global.Server_Respawntime) | |
| { | |
| time += 1 | |
| } | |
| else | |
| { | |
| instance_destroy(); |
This file contains hidden or 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
| bool collides_with_wallmask(Character *character, Bitmask *map) | |
| { | |
| bool collided = false; | |
| for (int w=0; w<character->width; w++) | |
| { | |
| for (int h=0; h<character->height; h++) | |
| { | |
| printf("\nRound:\n%i, %i", (int)character->x + w, (int)character->y - h); | |
| printf("\n%i, %i", w, h); |
This file contains hidden or 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
| #ifndef DATA_TYPES_H_INCLUDED | |
| #define DATA_TYPES_H_INCLUDED | |
| #include <stdbool.h> | |
| typedef struct Bitmask; | |
| typedef struct Point; | |
| typedef struct Rect; | |
| typedef struct RectLinkedList; | |
| typedef struct Navmesh; |