code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/*
* TODO put header
*/
package eu.lighthouselabs.obd.enums;
import eu.lighthouselabs.obd.commands.utils.ObdUtils;
/**
* MODE 1 PID 0x51 will return one of the following values to identify the fuel
* type of the vehicle.
*/
public enum FuelType {
GASOLINE(0x01),
METHANOL(0x02),
ETHANOL(0x03),
DIESEL(0x04),
... | 060602-bill | obd-api/src/main/java/eu/lighthouselabs/obd/enums/FuelType.java | Java | asf20 | 1,010 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.config;
import java.util.ArrayList;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SpeedObdCommand;
import eu.lighthouselabs.obd.commands.control.CommandEquivRatioObdCommand;
import eu.lighthouselabs.obd.commands.c... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/config/ObdConfig.java | Java | asf20 | 3,192 |
package eu.lighthouselabs.obd.reader.network;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.Map;
import org.apache.http.client.HttpClient;
import org.apache.http.... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/network/DataUploader.java | Java | asf20 | 1,900 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader;
import eu.lighthouselabs.obd.reader.io.ObdCommandJob;
/**
* TODO put description
*/
public interface IPostMonitor {
void setListener(IPostListener callback);
boolean isRunning();
void executeQueue();
void addJobToQueue(ObdCommandJob job);
} | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/IPostMonitor.java | Java | asf20 | 317 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader;
import eu.lighthouselabs.obd.reader.io.ObdCommandJob;
/**
* TODO put description
*/
public interface IPostListener {
void stateUpdate(ObdCommandJob job);
} | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/IPostListener.java | Java | asf20 | 228 |
package eu.lighthouselabs.obd.reader.drawable;
import eu.lighthouselabs.obd.reader.R;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.D... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/drawable/CoolantGaugeView.java | Java | asf20 | 1,652 |
package eu.lighthouselabs.obd.reader.drawable;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.RectShape;
import android.util.AttributeSet;
i... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/drawable/GradientGaugeView.java | Java | asf20 | 1,285 |
package eu.lighthouselabs.obd.reader.drawable;
import eu.lighthouselabs.obd.reader.R;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.D... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/drawable/AccelGaugeView.java | Java | asf20 | 1,406 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.activity;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
import android.content.Intent;
import android.content.Share... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/activity/MainActivity.java | Java | asf20 | 14,301 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.activity;
import java.util.ArrayList;
import java.util.Set;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.SharedPreferences;
import android.os.Bundle;
import androi... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/activity/ConfigActivity.java | Java | asf20 | 7,871 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.io;
import java.io.IOException;
import java.util.ArrayList;
import java.util.UUID;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicBoolean;
import android.app.Notificatio... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/io/ObdGatewayService.java | Java | asf20 | 11,253 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.io;
import eu.lighthouselabs.obd.commands.ObdCommand;
/**
* This class represents a job that ObdGatewayService will have to execute and
* maintain until the job is finished. It is, thereby, the application
* representation of an ObdCommand instance plu... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/io/ObdCommandJob.java | Java | asf20 | 1,275 |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.io;
import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.util.Log;
import eu.lighthouselabs.obd.reader.IPostListener;
import eu.lighthouselabs.obd.reader.IPostMonitor;
/**
* Service con... | 060602-bill | obd-reader/src/eu/lighthouselabs/obd/reader/io/ObdGatewayServiceConnection.java | Java | asf20 | 1,363 |
package client;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import server.Command;
public class Client {
public static void main(String args[]){
try{
BufferedReader in = new BufferedReader(
new InputStrea... | 104436vorgurak | trunk/src/client/Client.java | Java | asf20 | 710 |
package server;
import server.clients.ClientList;
public class OnlinePeers extends Thread {
private ClientList clientList;
public OnlinePeers(ClientList clientList) {
this.clientList = clientList;
}
public void run() {
while (true) {
}
}
} | 104436vorgurak | trunk/src/server/OnlinePeers.java | Java | asf20 | 278 |
package server;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.URL;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
publi... | 104436vorgurak | trunk/src/server/Command.java | Java | asf20 | 1,789 |
package server;
public class newConnection extends Thread {
private String confPort, port, aPort, aIp;
public newConnection(String confPort, String port, String aPort, String aIp) throws Exception {
this.confPort = confPort;
this.port = port;
this.aIp = aIp;
this.aPort = aPort;
}
public v... | 104436vorgurak | trunk/src/server/newConnection.java | Java | asf20 | 615 |
package server;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.Properties;
public class Configuration
{
Properties configFile = new java.util.Properties();
String path;
public Configuration(){
try {
configFile.load(new FileInputStream("conf.txt"));
}cat... | 104436vorgurak | trunk/src/server/Configuration.java | Java | asf20 | 625 |
package server;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.URLEncoder;
import java.net.UnknownHostException;
public class SendHTTPPOSTRequestWithSocke... | 104436vorgurak | trunk/src/server/SendHTTPPOSTRequestWithSocket.java | Java | asf20 | 1,637 |
package server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import server.clients.ClientList;
public class HttpServer {
private static int port;
private static ClientList clientList = new ClientList();
public static void main(String args[]) {
Configuration co... | 104436vorgurak | trunk/src/server/HttpServer.java | Java | asf20 | 1,747 |
package server;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import server.clients.Client;
import server.clients.ClientL... | 104436vorgurak | trunk/src/server/httpRequestHandler.java | Java | asf20 | 5,692 |
package server.clients;
public class Client {
private String ip;
private int port;
private String tasks;
public Client(String ip, int port) {
super();
this.ip = ip;
this.port = port;
}
public String getTasks() {
return tasks;
}
public void setTasks(String tasks) {
this.tasks = tasks;
... | 104436vorgurak | trunk/src/server/clients/Client.java | Java | asf20 | 416 |
package server.clients;
import java.util.ArrayList;
import java.util.List;
public class ClientList {
List<Client> clientsList = new ArrayList<Client>();
public List<Client> addClient(String ip, int port){
clientsList.add(new Client(ip, port));
return clientsList;
}
public void rem... | 104436vorgurak | trunk/src/server/clients/ClientList.java | Java | asf20 | 462 |
/** Automatically generated file. DO NOT MODIFY */
package org.tpmkranz.notifyme;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | 123xyzgaur-notifyme | gen/org/tpmkranz/notifyme/BuildConfig.java | Java | gpl3 | 163 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/NotificationService.java | Java | gpl3 | 5,872 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/Prefs.java | Java | gpl3 | 10,770 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/TemporaryStorage.java | Java | gpl3 | 1,586 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/EditFilterActivity.java | Java | gpl3 | 14,655 |
package org.tpmkranz.notifyme;
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/NotificationActivity.java | Java | gpl3 | 9,867 |
package org.tpmkranz.notifyme;
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/SliderSurfaceView.java | Java | gpl3 | 3,365 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/AppPicker.java | Java | gpl3 | 5,772 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/Unlock.java | Java | gpl3 | 2,001 |
/* Notify Me!, an app to enhance Android(TM)'s abilities to show notifications.
Copyright (C) 2013 Tom Kranz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... | 123xyzgaur-notifyme | src/org/tpmkranz/notifyme/MainActivity.java | Java | gpl3 | 22,913 |
/**
* A customizable timer that allows you to keep track of in-game time.
* To use in an actor, simply declare a new Timer.
*
* Example usage:
*
* public class Player extends Actor
* {
* private Timer timer=new Timer();
* ...
*
* public Player
* {
* ...
* }... | 131402-explorer-quest | trunk/Timer.java | Java | gpl3 | 3,382 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Saw here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Saw extends Trap
{
private int distance;
private boolean goingBack;
private int mov... | 131402-explorer-quest | trunk/Saw.java | Java | gpl3 | 1,674 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
import java.util.List;
/**
* Write a description of class TestWorld here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class GameWorld extends World
{
private int s... | 131402-explorer-quest | trunk/GameWorld.java | Java | gpl3 | 19,311 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Scythe here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Scythe extends Trap
{
private int dir;
private int step=0;
private final int RIG... | 131402-explorer-quest | trunk/Scythe.java | Java | gpl3 | 1,567 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Trap here.
*
* @author (your name)
* @version (a version number or a date)
*/
public abstract class Trap extends Actor
{
protected int damage;
protected int delay;
protected... | 131402-explorer-quest | trunk/Trap.java | Java | gpl3 | 5,207 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class CollisionBar here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class CollisionBox extends Actor
{
private int posX;
private ... | 131402-explorer-quest | trunk/CollisionBox.java | Java | gpl3 | 5,774 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Boulder here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Boulder extends Trap
{
private int yVel=0;
private int dir;
private int xVel=20... | 131402-explorer-quest | trunk/Boulder.java | Java | gpl3 | 2,747 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class Screen here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Screen extends Actor
{
private boolean isAnimationPlaying;
pr... | 131402-explorer-quest | trunk/Screen.java | Java | gpl3 | 3,658 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Button here.
*
* @author (your name)
* @version (a version number or a date)
*/
public abstract class Button extends Actor
{
protected int xPos;
protected int yPos;
pu... | 131402-explorer-quest | trunk/Button.java | Java | gpl3 | 1,395 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class CollisionBar here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class CollisionBar extends Actor
{
private int posX;
private ... | 131402-explorer-quest | trunk/CollisionBar.java | Java | gpl3 | 3,637 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
import java.util.List;
/**
* An actor class that can display a scoreboard, using Greenfoot's
* UserInfo class.
*
* You typically use this by including some code into the world for when your game ends:
*
* <... | 131402-explorer-quest | trunk/ScoreBoard.java | Java | gpl3 | 3,050 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Play here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Play extends Button
{
public Play(int x,int y)
{
super(x,y);
setImage... | 131402-explorer-quest | trunk/Play.java | Java | gpl3 | 700 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Spikes here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Spikes extends Trap
{
private int skinIndex;
public Spikes(int x,int del,int in... | 131402-explorer-quest | trunk/Spikes.java | Java | gpl3 | 2,370 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Player here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Player extends Actor
{
private Whip whip;
private CollisionBox colDown;
private ... | 131402-explorer-quest | trunk/Player.java | Java | gpl3 | 27,952 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class GUI here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class GUI extends Actor
{
public GUI()
{
setImage("gui.png");
}
publi... | 131402-explorer-quest | trunk/GUI.java | Java | gpl3 | 395 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Whip here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Whip extends Actor
{
private GreenfootImage[][] skins=new GreenfootImage[20][2];
privat... | 131402-explorer-quest | trunk/Whip.java | Java | gpl3 | 4,744 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Return here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Return extends Button
{
public Return(int x,int y)
{
super(x,y);
se... | 131402-explorer-quest | trunk/Return.java | Java | gpl3 | 715 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ledge here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Ledge extends Actor
{
int index;
int terrainNum;
/**
* Creates a new ... | 131402-explorer-quest | trunk/Ledge.java | Java | gpl3 | 1,358 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class BoulderSpawner here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class BoulderSpawner extends Trap
{
private int dir=0;
private int skin=0;
pri... | 131402-explorer-quest | trunk/BoulderSpawner.java | Java | gpl3 | 1,017 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Wall here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Wall extends Trap
{
private boolean goingDown;
private int minY;
private int maxY;... | 131402-explorer-quest | trunk/Wall.java | Java | gpl3 | 2,209 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class SnakeSpawner here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class SnakeSpawner extends Trap
{
public SnakeSpawner(int x,int del,int iniD)
{
... | 131402-explorer-quest | trunk/SnakeSpawner.java | Java | gpl3 | 844 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class HealthBar here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class HealthBar extends Actor
{
private int health;
private Timer timer=new Timer();
... | 131402-explorer-quest | trunk/HealthBar.java | Java | gpl3 | 1,256 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Background here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Background extends Actor
{
int index;
int terrainNum;
/**
* Crea... | 131402-explorer-quest | trunk/Background.java | Java | gpl3 | 1,374 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Next here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Next extends Button
{
public Next(int x,int y)
{
super(x,y);
setImage... | 131402-explorer-quest | trunk/Next.java | Java | gpl3 | 704 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class Lives here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Lives extends Actor
{
public Lives()
{
setImage("hat.... | 131402-explorer-quest | trunk/Lives.java | Java | gpl3 | 1,022 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ground here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Ground extends Actor
{
int index;
int terrainNum;
/**
* Creates a ne... | 131402-explorer-quest | trunk/Ground.java | Java | gpl3 | 1,358 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
import java.awt.Font;
/**
* Write a description of class Display here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Display extends Actor
{
public Display(Str... | 131402-explorer-quest | trunk/Display.java | Java | gpl3 | 1,260 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Help here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Help extends Button
{
public Help(int x,int y)
{
super(x,y);
setImage... | 131402-explorer-quest | trunk/Help.java | Java | gpl3 | 704 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Scores here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Scores extends Button
{
public Scores(int x,int y)
{
super(x,y);
se... | 131402-explorer-quest | trunk/Scores.java | Java | gpl3 | 720 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Credits here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Credits extends Button
{
public Credits(int x,int y)
{
super(x,y);
... | 131402-explorer-quest | trunk/Credits.java | Java | gpl3 | 725 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Rock here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Rock extends Trap
{
private int yVel=0;
private boolean exists;
private Timer spaw... | 131402-explorer-quest | trunk/Rock.java | Java | gpl3 | 3,118 |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Snake here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Snake extends Trap
{
private int yVel=0;
private int skinIndex=0;
private boole... | 131402-explorer-quest | trunk/Snake.java | Java | gpl3 | 4,960 |
#!/bin/sh
# Generate qwcl.x11.spec
# $1 is version
# $2 is release
# $3 is install dir (assumed to be in /var/tmp)
cat <<EOF
%define name qwcl.x11
%define version ${1}
%define release ${2}
%define builddir \$RPM_BUILD_DIR/%{name}-%{version}
Name: %{name}
Version: %{version}
Release: %{release}
Vendor: id Software
Pac... | 1306061103-aaa | quake/src/QW/qwcl.x11.spec.sh | Shell | gpl2 | 943 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/gl_warp.c | C | gpl2 | 21,147 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/gl_warp_sin.h | C | gpl2 | 3,202 |
/*
Copyright (C) 1999, 2000 Id Software Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribute... | 1306061103-aaa | quake/src/QW/client/adivtab.h | C | gpl2 | 10,537 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/common.c | C | gpl2 | 42,894 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/cd_win.c | C | gpl2 | 10,208 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/gl_test.c | C | gpl2 | 3,544 |
.386P
.model FLAT
externdef _d_zistepu:dword
externdef _d_pzbuffer:dword
externdef _d_zistepv:dword
externdef _d_zrowbytes:dword
externdef _d_ziorigin:dword
externdef _r_turb_s:dword
externdef _r_turb_t:dword
externdef _r_turb_pdest:dword
externdef _r_turb_spancount:dword
externdef _r_turb_turb:d... | 1306061103-aaa | quake/src/QW/client/d_spr8.asm | Assembly | gpl2 | 20,687 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/d_fill.c | C | gpl2 | 1,919 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/console.c | C | gpl2 | 12,916 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/zone.h | C | gpl2 | 3,201 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/d_iface.h | C | gpl2 | 6,529 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/cl_tent.c | C | gpl2 | 9,504 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/d_ifacea.h | C | gpl2 | 2,847 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/math.s | Unix Assembly | gpl2 | 10,942 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/crc.h | C | gpl2 | 965 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/render.h | C | gpl2 | 4,676 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/surf8.s | Unix Assembly | gpl2 | 13,932 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/r_shared.h | C | gpl2 | 4,807 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/sbar.h | C | gpl2 | 1,283 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/r_vars.c | C | gpl2 | 1,224 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/cl_pred.c | C | gpl2 | 5,555 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/net_wins.c | C | gpl2 | 7,146 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/snd_mem.c | C | gpl2 | 6,723 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/d_surf.c | C | gpl2 | 7,604 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/snd_win.c | C | gpl2 | 16,026 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/gl_vidnt.c | C | gpl2 | 46,584 |
dos\quake -basedir \quake\v2 %1 %2 %3 %4 %5 %6 %7 %8 %9
| 1306061103-aaa | quake/src/QW/client/q.bat | Batchfile | gpl2 | 57 |
// in_null.c -- for systems without a mouse
#include "quakedef.h"
void IN_Init (void)
{
}
void IN_Shutdown (void)
{
}
void IN_Commands (void)
{
}
void IN_Move (usercmd_t *cmd)
{
}
/*
===========
IN_ModeChanged
===========
*/
void IN_ModeChanged (void)
{
}
| 1306061103-aaa | quake/src/QW/client/in_null.c | C | gpl2 | 272 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/cl_demo.c | C | gpl2 | 17,314 |
.386P
.model FLAT
externdef _d_zistepu:dword
externdef _d_pzbuffer:dword
externdef _d_zistepv:dword
externdef _d_zrowbytes:dword
externdef _d_ziorigin:dword
externdef _r_turb_s:dword
externdef _r_turb_t:dword
externdef _r_turb_pdest:dword
externdef _r_turb_spancount:dword
externdef _r_turb_turb:d... | 1306061103-aaa | quake/src/QW/client/surf16.asm | Assembly | gpl2 | 11,688 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/vid.h | C | gpl2 | 2,949 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | 1306061103-aaa | quake/src/QW/client/view.c | C | gpl2 | 23,043 |
//
// d_copy.s
// x86 assembly-language screen copying code.
//
#include "asm_i386.h"
#include "quakeasm.h"
#include "asm_draw.h"
.data
LCopyWidth: .long 0
LBlockSrcStep: .long 0
LBlockDestStep: .long 0
LSrcDelta: .long 0
LDestDelta: .long 0
#define bufptr 4+16
// copies 16 rows per plane at a pop; idea is tha... | 1306061103-aaa | quake/src/QW/client/d_copy.s | Unix Assembly | gpl2 | 2,610 |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... | 1306061103-aaa | quake/src/QW/client/d_draw16.s | Unix Assembly | gpl2 | 22,728 |