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
7E0 Rx d 8 02 10 01 55 55 55 55 55 | |
7E8 Rx d 8 06 50 01 00 10 03 E8 55 | |
7E0 Rx d 8 02 10 02 55 55 55 55 55 | |
7E8 Rx d 8 06 50 02 00 10 03 E8 55 | |
7E0 Rx d 8 02 3E 80 55 55 55 55 55 | |
7E0 Rx d 8 02 3E 80 55 55 55 55 55 | |
7E0 Rx d 8 02 10 01 55 55 55 55 55 | |
7E8 Rx d 8 06 50 01 00 10 03 E8 55 | |
7E0 Rx d 8 02 11 03 55 55 55 55 55 | |
7E8 Rx d 8 02 51 03 55 55 55 55 55 |
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
7E0 Rx d 8 02 10 01 55 55 55 55 55 | |
7E8 Rx d 8 06 50 01 00 10 03 E8 55 | |
7E0 Rx d 8 02 10 02 55 55 55 55 55 | |
7E8 Rx d 8 06 50 02 00 10 03 E8 55 | |
7E0 Rx d 8 02 3E 80 55 55 55 55 55 | |
7E0 Rx d 8 02 3E 80 55 55 55 55 55 | |
7E0 Rx d 8 02 10 01 55 55 55 55 55 | |
7E8 Rx d 8 06 50 01 00 10 03 E8 55 | |
7E0 Rx d 8 02 11 03 55 55 55 55 55 | |
7E8 Rx d 8 02 51 03 55 55 55 55 55 |
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 <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
Adafruit_SSD1306 display(4); | |
int resolution[2] = { 128, 64 }, ball[2] = { 20, (resolution[1] / 2) }; | |
const int PIXEL_SIZE = 8, WALL_WIDTH = 4, PADDLE_WIDTH = 4, BALL_SIZE = 4, SPEED = 3; | |
int playerScore = 0, aiScore = 0, playerPos = 0, aiPos = 0; |
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
From 1adbb0542ebe357d59e6dba98ad59a5bda4c6cd0 Mon Sep 17 00:00:00 2001 | |
From: Evilpaul <yj589794@googlemail.com> | |
Date: Mon, 8 Nov 2010 19:39:40 +0000 | |
Subject: [PATCH 1/1] ensure new power elements display corretly when in-vehicle | |
--- | |
elements/eclipsebar.lua | 4 ++-- | |
elements/holypower.lua | 2 +- | |
elements/soulshards.lua | 2 +- | |
elements/tags.lua | 4 ++-- |
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
-- Position and size | |
local mhpb = CreateFrame('StatusBar', nil, self.Health) | |
mhpb:SetPoint('TOPLEFT', self.Health:GetStatusBarTexture(), 'TOPRIGHT', 0, 0) | |
mhpb:SetPoint('BOTTOMLEFT', self.Health:GetStatusBarTexture(), 'BOTTOMRIGHT', 0, 0) | |
mhpb:SetWidth(200) | |
mhpb:SetStatusBarTexture([[Interface\TargetingFrame\UI-StatusBar]]) | |
mhpb:SetStatusBarColor(0, 1, 0.5, 0.25) | |
local ohpb = CreateFrame('StatusBar', nil, self.Health) | |
ohpb:SetPoint('TOPLEFT', mhpb:GetStatusBarTexture(), 'TOPRIGHT', 0, 0) |
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
-- Position and size | |
local qicon = self:CreateTexture(nil, 'OVERLAY') | |
qicon:SetPoint('TOPLEFT', self) | |
qicon:SetSize(16, 16) | |
-- Register it with oUF | |
self.QuestIcon = qicon |
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
-- Position and size | |
local picon = self:CreateTexture(nil, 'OVERLAY') | |
picon:SetPoint('TOPLEFT', self) | |
picon:SetSize(16, 16) | |
-- Register it with oUF | |
self.PhaseIcon = picon |
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
From 6338f1d86307c2fa8c661685dea7d964ffd675e4 Mon Sep 17 00:00:00 2001 | |
From: Evilpaul <yj589794@googlemail.com> | |
Date: Tue, 5 Oct 2010 18:45:53 +0100 | |
Subject: [PATCH 1/1] addition of EclipseBar element | |
--- | |
elements/eclipsebar.lua | 143 +++++++++++++++++++++++++++++++++++++++++++++++ | |
elements/tags.lua | 10 +++ | |
oUF.xml | 1 + | |
3 files changed, 154 insertions(+), 0 deletions(-) |
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
From 85dc0633fe98d6a06d43ba29c7e49b5b051c865e Mon Sep 17 00:00:00 2001 | |
From: Evilpaul <yj589794@googlemail.com> | |
Date: Mon, 4 Oct 2010 18:44:18 +0100 | |
Subject: [PATCH 1/1] addition of QuestIcon element | |
--- | |
elements/qicon.lua | 40 ++++++++++++++++++++++++++++++++++++++++ | |
oUF.xml | 1 + | |
2 files changed, 41 insertions(+), 0 deletions(-) | |
create mode 100644 elements/qicon.lua |
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
-- Vengeance Bar function | |
local function addVengeanceBar(self) | |
local _, class = UnitClass('player') | |
if class == 'DEATHKNIGHT' or class == 'DRUID' or class == 'PALADIN' or class == 'WARRIOR'then | |
local anchor = self.Runes and self.Runes or self.HolyPower and self.HolyPower or self | |
local vengeanceBar = CreateFrame('Frame', nil, self) | |
vengeanceBar:SetPoint('TOPLEFT', anchor, 'BOTTOMLEFT', 0, -1) | |
vengeanceBar:SetSize(config.PRIMARYUNITWIDTH, config.SPACING) |
NewerOlder