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
import javax.swing.*; | |
import javax.swing.border.EtchedBorder; | |
import java.awt.*; | |
import java.awt.event.*; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: seronis | |
* Date: 10/30/12 | |
* Time: 10:04 PM |
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
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: seronis | |
* Date: 11/15/12 | |
* Time: 2:55 PM |
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
AlertMsgType@[] alertTypes; | |
class AlertMsgType { | |
string@ name; | |
string@ genMsg; | |
string@ badMsg; | |
AlertEntry@[] list; | |
int spamLimit; //max msgs to queue before grouping | |
float spamDelay; //time between messages | |
float lastMsg; |
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
class bldVals { | |
float gcap; | |
float pcap; | |
float city; | |
float farm; | |
float metl; | |
float elec; | |
float advp; | |
float yard; |
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
package seronis.util; | |
import java.awt.AWTEvent; | |
import java.awt.Component; | |
import java.awt.EventQueue; | |
import java.awt.Toolkit; | |
import java.awt.event.AWTEventListener; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.event.KeyEvent; |
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
package seronis.testing; | |
import java.awt.BorderLayout; | |
import java.awt.Dimension; | |
import java.awt.Toolkit; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.event.WindowEvent; | |
import java.awt.event.WindowListener; | |
import java.io.IOException; |
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
CC = g++ | |
EXE = game | |
C_FLAGS = -Wall -std=c++11 | |
L_FLAGS = -lcrypt -lz | |
# Source Files | |
SRC_FILES := $(wildcard *.cpp) | |
# Directories | |
OBJ_DIR_D = ../obj/Debug |
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
package com.seronis.reddit.dicebag; | |
import java.util.Random; | |
public abstract class Die { | |
protected int value; | |
protected int sides; | |
protected boolean froze; | |
protected Random rand = new Random(); |
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
#include "myInnerClass.h" | |
myInnerClass::myInnerClass( int _val1, int _val2 ) | |
{ | |
val1 = _val1; | |
val2 = _val2; | |
} | |
myInnerClass::~myInnerClass() | |
{ |
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
#include <stdio.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <netdb.h> |
OlderNewer