whats under ur "ctrl + v"?
•
15 Oct 2007, 12:07
•
Journals
mine is:
http://www.pokemon-france.com/jeux/gen2/or_argent/images/152-251/209.gif
its a pokemon, named Snubble, and a damn ugly one=)
http://www.pokemon-france.com/jeux/gen2/or_argent/images/152-251/209.gif
its a pokemon, named Snubble, and a damn ugly one=)
si, my paint skills are pro!
sry for stealing then xDDD
forgive me plssssssssssssss :P
/edit: lol
int main()
{
double a;
cout << "Vnesi poljubno stevilo: " << endl;
cin >> a;
if (a < 1)
{
cout << a << " je manjsi od 1 " << endl;
}
if ((a > 1) && (a < 1000))
{
cout << a << " je med 1 in 1000 " << endl;
}
if (a > 1000)
{
cout << a << " je vecji od 1000 " << endl;
}
return 0;
}
doing some easy shit in school ^^ was just sending it to my mate via mail lol.
Customers
Relationships
Related to: Type Which End
Order one to many one
Attributes
Name Key Type Data Type Length Validation
Customer ID primary autonumber
Forename Text 20
Surname Text 20
Title Text 5 Lookup (Mr/Mrs/Miss/Dr)
Sex Text 1 Lookup (M/F)
Address Text 30
Postcode Text 8 L?09_0LL
Town Text 20
County Text 15
Telephone No. Number 15 (00099") 00000999
Email Text 20
Date of Birth Date/Time 15 Short date
me2
/**
* Write a description of class BattleshipApp here.
*
* @author Eyþór
* @version 0.1
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class BattleshipApp extends JFrame implements MouseListener
{
private static final int GAME_STATE_INTRO = 0;
private static final int GAME_STATE_SETUP = 1;
private static final int GAME_STATE_PLAYING = 2;
private static final int GAME_STATE_GAMEOVER = 3;
private Board redBoard;
private Board blueBoard;
private FriendlyPlayer friendlyPlayer;
private EnemyPlayer enemyPlayer;
private int gameState;
/**
* Entry point for code execution
*/
public static void main(String[] args) {
new BattleshipApp();
}
/**
* Constructor for objects of class BattleshipApp
*/
public BattleshipApp()
{
this.setSize(600, 500);
this.show();
this.addMouseListener(this);
this.gameState = GAME_STATE_INTRO;;
// Initialise the game boards.
this.redBoard = new Board();
this.blueBoard = new Board();
}
/**
* Draws the "Welcome to Battleship" screen.
*/
private void drawTitleScreen() {
Container clientArea = this.getContentPane();
Graphics gfx = clientArea.getGraphics();
int width = clientArea.getWidth();
int height = clientArea.getHeight();
gfx.fillRect(0, 0, width, height);
gfx.setColor(Color.green);
gfx.drawString("BATTLESHIP", 260, 225);
gfx.setColor(Color.gray);
gfx.drawString("(click mouse to continue)", 228, 275);
}
/**
* Draws the game window.
*/
public void paint(Graphics gfx) {
if (this.gameState == GAME_STATE_INTRO) {
this.drawTitleScreen();
}
else if (this.gameState == GAME_STATE_SETUP) {
this.drawGrids();
}
}
/**
* Mouselistener methods.
*/
public void mouseClicked(MouseEvent event) {}
public void mouseEntered(MouseEvent event) {}
public void mouseExited(MouseEvent event) {}
public void mousePressed(MouseEvent event) {}
public void mouseReleased(MouseEvent event) {
this.gameState = GAME_STATE_SETUP;
this.repaint(); //Redraws the game screen.
}
/**
* Draw the game grids.
*/
private void drawGrids() {
// Get an object representing the area within the window borders.
Container clientArea = this.getContentPane();
// Get the Graphics object associated with the client area.
Graphics gfx = clientArea.getGraphics();
// Get the size of the client area.
int width = clientArea.getWidth();
int height = clientArea.getHeight();
// Fill the background with black.
gfx.setColor(Color.black);
gfx.fillRect(0, 0, width, height);
// Draw the two grids.
this.redBoard.drawGrid(gfx, Color.red, 5, 5);
this.blueBoard.drawGrid(gfx, Color.blue, 255, 5);
}
}
SPAMM
private void fColorAdjust(byte[] inData, ref byte[] outData, float r, float g, float b)
{
int pos;
int newR, newG, newB;
for (int i = 0; i < _width * _height; i++)
{
pos = i * _bpp;
newR = (int)inData[pos + RED] + (int)((float)inData[pos + RED] * r);
fNormalizeLayer(ref newR);
newG = (int)inData[pos + GREEN] + (int)((float)inData[pos + GREEN] * g);
fNormalizeLayer(ref newG);
newB = (int)inData[pos + BLUE] + (int)((float)inData[pos + BLUE] * b);
fNormalizeLayer(ref newB);
outData[pos + RED] = (byte)newR;
outData[pos + GREEN] = (byte)newG;
outData[pos + BLUE] = (byte)newB;
}
}
1.
# bounce a red ball whose image is stored within the code
2.
# experiments with module pygame from: http://www.pygame.org/
3.
# tested with Python25 and PyGame171 vegaseat 02sep2007
4.
5.
import pygame as pg
6.
import base64
7.
8.
"""
9.
# use this short program to create the base64 encoded image string
10.
# (base64 encoding simply produces a readable string from a binary image)
11.
# then copy and paste the result into your pygame program ...
12.
import base64
13.
gif_file = "ball_r.gif"
14.
print "gif64='''\\\n" + base64.encodestring(open(gif_file, 'rb').read()) + "'''"
15.
"""
16.
17.
gif64='''\
18.
R0lGODlhQABAAPcAACEBAY8DA9wQILcED1ECAqMECOsaL8oKGTgBAXADA5kEBeQVJ8EIFK0EC+wg
19.
NS8BAWUCAtMOH0gCAoQDAykBAZkEBNwSJsEGEFsCAq0ECOwdNdMMGkABAXoDA6MEBuUXLsoJFbcE
20.
DPIgNQAAAJ0FBAAAAAAAAAAAAAAABQAAAAAAAAAAAPEGCt0FBQQAAAAAAF4CBAkAAN8FBVUCAgAA
21.
AgAAAAAAAAAAAAEBgAAAAQUAAwIC7gAAKt0FBQUBZgAAAAAABgAAAAAAAAAAAAsAAN4FBQQAAAAA
22.
AOgPDmoCAu8GBlUCAmoDBwgAAOsFBVUCAvIGRfIGDfMHz/IGOhgGZXUDA+sFBVUCAugMoQoCwuEH
23.
0VYCNgACBQAAAAUAAAAAAAACAwAAAAAAAAAAAF2IVdsGDAgFygz4PwssCD0CHwpqGQAAAAII4AAA
24.
AAAAHQAAAF4CAwAAHgAAFbEEBAIL6gAABgICygAANPMLavIGBvIGBvIGBvMHofQH2vIGJvIGBgAB
25.
AAAAAAAAAAAAAAID4AAAAAAAHQAAAAECZAAAAAAAAAAAAEtDBQV1BQnOCQRXBD9CBAAAAArVCgRX
26.
BA1KBESeCA7PCQRXBBsoBRGdherW9lpaWgaQBgeUBwnSCQI2AgsfAkflDAAEAAAAAAvvCwEOAQ/k
27.
CgRXBE0CAt0FBQQAAAAAAAAAAAAAAAAAAAAAABsKDPJECAQFAAAAAOsv9XKC9vz7/1tb9Gw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i6t9tCnxIa5dfDoQiY/1tpxxpv+KpQQYcJCWBhor6F1oFTKLa5YgpASAmrJZu
42.
GGCyMDqwgWAAYFAVdw5ime5/dlmr7AIYnGXuoq8mN1oFB0ToroRBCgRBtEjWW9dW+6YZVgL+Hksm
43.
rPfmWzCMHyAMwL9XphvtcgyI8LCTQEpa7nr21ruhXeCqaQEGAomJLrfuAViyhBqMO9CzKu44Z20h
44.
vOykCCG4BsCw6DZ4cwMbD+hABggMliuDWB7J3qxFgxhsghSvXObNPOosH5AQLGRkzeqGHF/U4pHY
45.
FgdW0tXdn8ltQLDWqYkQgM8CJXqlyKM9SjZvQQ7/qa2GQavdYQVEw71mCFKytLR3a7v3wd6n5bXn
46.
cEaOqm6HYxuuF5slPrW4pdsFQDLkeu35VEKVG0vvch+S3tsAh1oEVXZKkmppfJp3vBJHDklgZeC7
47.
6m24Bp6qBdFAfjKtOuQOXLCqTGjduF60ozYXNYUWym7QfiCvXlsDWtd3X41T/kw73h4E8GLBIlhw
48.
33DHV4Q24GaK5muM4OEl7vgW5QfAfou5WFVGtzXe5IUBBjrPawozmwQsyF7tydxzDLAXvvgmAJZZ
49.
oP8y0hnkoKsC9wuPvrSigQu0RjjwQ1BEErOYI31HX6ihoGo0AIIAmGWB5NsgleBile5QK4Z86YoG
50.
Wj5QGfNskEgqNEhHpEKVDoXgAyLQGFd64wADLOAAHijLWXBYGB02pSZSyclO8LUAoAjlAkU5ikq8
51.
yLskMuUgHgGJSBJAkpOkZCVu5CIbL6KSBxgxLWvco0sCAgA7
52.
'''
53.
54.
# convert back to a binary image to save to a file in the working directory
55.
ball = base64.b64decode(gif64)
56.
fout = open("ball_r.gif","wb")
57.
fout.write(ball)
58.
fout.close()
59.
60.
# initialize pygame
61.
pg.init()
62.
63.
# now you can use the gif file you just saved
64.
image_file = "ball_r.gif"
65.
66.
# image moves [x, y] at a time
67.
im_dir = [2, 1]
68.
69.
# pygame uses an RGB color tuple
70.
black = (0,0,0)
71.
# screen width and height
72.
sw = 600
73.
sh = 480
74.
# create a screen
75.
screen = pg.display.set_mode((sw, sh))
76.
# give the screen a title
77.
pg.display.set_caption('bouncing ball (press escape to exit)')
78.
79.
# load the ball image file
80.
image = pg.image.load(image_file).convert()
81.
# get the rectangle that the image occupies
82.
im_rect = image.get_rect()
83.
84.
# the event loop also loops the animation code
85.
while True:
86.
pg.event.pump()
87.
keyinput = pg.key.get_pressed()
88.
# exit on corner 'x' click or escape key press
89.
if keyinput[pg.K_ESCAPE] or pg.event.peek(pg.QUIT):
90.
raise SystemExit
91.
92.
# set the move
93.
im_rect = im_rect.move(im_dir)
94.
# detect the boundaries and change directions
95.
# left/right boundaries are 0 to sreen width
96.
if im_rect.left < 0 or im_rect.right > sw:
97.
im_dir[0] = -im_dir[0]
98.
# top/bottom boundaries are 0 to screen height
99.
if im_rect.top < 0 or im_rect.bottom > sh:
100.
im_dir[1] = -im_dir[1]
101.
# this erases the old sreen with black
102.
screen.fill(black)
103.
# put the image on the screen
104.
screen.blit(image, im_rect)
105.
# update screen
106.
pg.display.flip()
and not even productive! :)
btw hoi boy:)
im not even playin in the comp u downy.
oh well thats good for sqL i guess. hey your prediction may be right! now there wont be anyone in the team with fail rego and FPS issues so no-one should be dieing.
But you're a useless piece of shit regardless of what machine you have or what game you're playing.
amirite?
Reason: Abusive language/behaviour.
Please see GameArena's Terms and Conditions for further information.
-------------------------------------------------------------------------------------------------
on the australian gaming website (gamearena) if a post gets deleted you just copy paste the section out to read what was said :)
Boczek pokroić w drobną kostkę i podsmażyć następnie dodać posiekaną cebulę dalej smażąc. Kiełbasę pokroić w kostkę i osobno podsmażyć na patelni.
Do ugotowanej fasolki włożyć boczek z cebulą, kiełbasę, koncentrat pomidorowy, roztarty majeranek i paprykę oraz do smaku sól. Wszystko razem podgotować mieszając.