This commit is contained in:
Thai Pangsakulyanont
2012-05-21 13:59:27 +07:00
69 changed files with 9503 additions and 2587 deletions
+32 -2
View File
@@ -4,11 +4,40 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt. from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
________________________________________________________________________________ ________________________________________________________________________________
================================================================================ 2012/05/19
----------
* [Actor] Made the xy command a source-code level command.
StepMania 5.0 alpha 2 | 201204?? 2012/05/17
----------
* [LoadingWindow_Gtk] Actually resolve the path to the Splash file. [djpohly]
2012/05/16
----------
* [ScreenWithMenuElements] Added DelayMusicSeconds metric. [AJ]
* [ScreenOptionsMasterPrefs] Allow for FastLoadAdditionalSongs preference
to be called via the "conf" command. [AJ]
2012/05/14
----------
* [Course] Added AllSongsAreFixed() Lua binding. [AJ]
================================================================================
StepMania 5.0 alpha 2 | 20120504
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
2012/05/03
----------
* Add Var "Player" and Var "Controller" for NoteSkin. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=824cff29912d1c29a667046ba463d195e81c524a
* [CustomSpeedMods] If a player decides to remove 1x from the machine profile's
custom speed mods, re-add it back in to avoid crashes. [AJ]
2012/05/02
----------
* Make ReceptorArrowRow and GhostArrowRow respect the column draw order. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=8ccf7449651eef51e8c42d031aa64da49a0b72ce
2012/04/25 2012/04/25
---------- ----------
* [Profile] Added GetLastPlayedSong and GetLastPlayedCourse Lua bindings. [AJ] * [Profile] Added GetLastPlayedSong and GetLastPlayedCourse Lua bindings. [AJ]
@@ -116,6 +145,7 @@ set MemoryCards=1 in Save/Preferences.ini (or Save/Static.ini). [AJ]
* [ScreenSelectMusic] Added PlaySoundOnEnteringOptionsMenu metric. [AJ] * [ScreenSelectMusic] Added PlaySoundOnEnteringOptionsMenu metric. [AJ]
* [MusicWheel, WheelBase] Added collapse sound. [AJ] * [MusicWheel, WheelBase] Added collapse sound. [AJ]
================================================================================
StepMania 5.0 alpha 1a | 20120219 StepMania 5.0 alpha 1a | 20120219
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
+5
View File
@@ -87,6 +87,8 @@ Macgravel
hanubeki (@803832, formerly sy567) hanubeki (@803832, formerly sy567)
* Small beginner helper fix * Small beginner helper fix
(http://www.stepmania.com/forums/showpost.php?p=158721&postcount=12) (http://www.stepmania.com/forums/showpost.php?p=158721&postcount=12)
* Lots of code changes from hanubeki-modified-sm-ssc:
http://code.google.com/r/hanubeki-modified-sm-ssc/
galopin galopin
* Pump it Up Exceed PlayStation 2 USB dance mat support patch * Pump it Up Exceed PlayStation 2 USB dance mat support patch
@@ -139,6 +141,9 @@ Deamon007
cvpcs cvpcs
* Updated ffmpeg support to v0.10 * Updated ffmpeg support to v0.10
djpohly
* Various patches/fixes
==the beta testers== ==the beta testers==
[SSC Beta Testing Team] [SSC Beta Testing Team]
KeithD KeithD
+2 -1
View File
@@ -1,7 +1,8 @@
local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
local function Beat(self) local function Beat(self)
-- too many locals -- too many locals
local this = self:GetChildren() local this = self:GetChildren()
local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
local playerstate = GAMESTATE:GetPlayerState( player ) local playerstate = GAMESTATE:GetPlayerState( player )
local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition() local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition()
+21 -1
View File
@@ -378,6 +378,7 @@ EventMode=When set to &oq;ON&cq;, and you can continue playing forever. Failing
Exit= Exit=
Fail=Fail Fail=Fail
FastLoad=If enabled, don't check songs for changes on load. FastLoad=If enabled, don't check songs for changes on load.
FastLoadAdditionalSongs=If enabled, don't check songs for changes to Additional Songs on load.
Fill Machine Stats= Fill Machine Stats=
Game=Change the current game type with this option. Game=Change the current game type with this option.
GetRankingName=Determines if name entry should never be shown, always be shown, or shown when the course is listed on the high scores screen. GetRankingName=Determines if name entry should never be shown, always be shown, or shown when the course is listed on the high scores screen.
@@ -916,6 +917,7 @@ Exit=Exit
Fail=Fail Fail=Fail
Fakes=Fakes Fakes=Fakes
FastLoad=Fast\nLoad FastLoad=Fast\nLoad
FastLoadAdditionalSongs=Fast Load\nAdditional Songs
File1 Global BGAnimation=File1 Global BGAnimation File1 Global BGAnimation=File1 Global BGAnimation
File1 Global Movie=File1 Global Movie File1 Global Movie=File1 Global Movie
File1 Global Movie (Group + Genre)=File1 Global Movie (Group + Genre) File1 Global Movie (Group + Genre)=File1 Global Movie (Group + Genre)
@@ -1180,7 +1182,25 @@ TapsAndHolds=TapsAndHolds
Voltage=Voltage Voltage=Voltage
MinMidiNote=MinMidiNote MinMidiNote=MinMidiNote
MaxMidiNote=MaxMidiNote MaxMidiNote=MaxMidiNote
Lifts=Lifts
Fakes=Fakes
[RadarCategoryShort]
Air=A
Chaos=C
Freeze=F
Hands=Hands
Holds=Holds
Jumps=Jumps
Mines=Mines
Rolls=Rolls
Stream=S
Taps=Taps
TapsAndHolds=Taps
Voltage=V
MinMidiNote=Min
MaxMidiNote=Max
Lifts=Lifts
Fakes=Fakes
[RageInput] [RageInput]
No input devices were loaded.=No input devices were loaded. No input devices were loaded.=No input devices were loaded.
+4 -20
View File
@@ -156,25 +156,9 @@ function Actor:scale_or_crop_background()
self:zoomto(SCREEN_HEIGHT*graphicAspect,SCREEN_HEIGHT) self:zoomto(SCREEN_HEIGHT*graphicAspect,SCREEN_HEIGHT)
end end
-- xy(actorX,actorY) function Actor:CenterX() self:x(SCREEN_CENTER_X) end
-- Sets the x and y of an actor in one command. function Actor:CenterY() self:y(SCREEN_CENTER_Y) end
function Actor:xy(actorX,actorY) function Actor:Center() self:xy(SCREEN_CENTER_X,SCREEN_CENTER_Y) end
self:x(actorX)
self:y(actorY)
end
function Actor:CenterX()
self:x(SCREEN_CENTER_X)
end
function Actor:CenterY()
self:y(SCREEN_CENTER_Y)
end
function Actor:Center()
self:x(SCREEN_CENTER_X)
self:y(SCREEN_CENTER_Y)
end
function Actor:bezier(...) function Actor:bezier(...)
local a = {...} local a = {...}
@@ -392,7 +376,7 @@ function Actor:hidden(bHide)
self:visible(not bHide) self:visible(not bHide)
end end
-- (c) 2006-2011 Glenn Maynard, SSC -- (c) 2006-2012 Glenn Maynard, the Spinal Shark Collective, et al.
-- All rights reserved. -- All rights reserved.
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a -- Permission is hereby granted, free of charge, to any person obtaining a
+15
View File
@@ -141,6 +141,15 @@ function table.find(t, sFind)
return nil return nil
end end
--Get the count of all items in a table
function table.itemcount(t)
local i = 0
while next(t)~=nil do
i=i+1
end
return i
end
function math.round(num, pre) function math.round(num, pre)
if pre and pre < 0 then pre = 0 end if pre and pre < 0 then pre = 0 end
local mult = 10^(pre or 0) local mult = 10^(pre or 0)
@@ -201,6 +210,12 @@ function IsFreePlay()
return IsArcade() and (GAMESTATE:GetCoinMode() == 'CoinMode_Free') or false return IsArcade() and (GAMESTATE:GetCoinMode() == 'CoinMode_Free') or false
end end
function ArgsIfPlayerJoinedOrNil(arg1,arg2)
if arg1==nil then arg1=arg2
elseif arg2==nil then arg2=arg1 end
return (GAMESTATE:IsSideJoined(PLAYER_1) and arg1 or nil),(GAMESTATE:IsSideJoined(PLAYER_2) and arg2 or nil)
end
function Center1Player() function Center1Player()
local styleType = GAMESTATE:GetCurrentStyle():GetStyleType() local styleType = GAMESTATE:GetCurrentStyle():GetStyleType()
-- always center in OnePlayerTwoSides. -- always center in OnePlayerTwoSides.
@@ -1,9 +1,14 @@
--[[ --[[
Custom Speed Mods v2.2 (for StepMania 5) Custom Speed Mods v2.3 (for StepMania 5/SM5TE)
by AJ Kelly of KKI Labs ( http://kki.ajworld.net/ ) by AJ Kelly of KKI Labs ( http://kki.ajworld.net/ )
changelog: changelog:
v2.3 (StepMania 5 a2/SM5TE)
* If someone has decided to remove 1x from the machine profile's speed mods,
silently fix it.
* Ignore Cmod and mmod capitalization errors.
v2.2 (StepMania 5 alpha 2) [by FSX] v2.2 (StepMania 5 alpha 2) [by FSX]
* Rewrite table management code. * Rewrite table management code.
* Add code to make sure that there are speed mods and that they are correct. * Add code to make sure that there are speed mods and that they are correct.
@@ -52,10 +57,11 @@ end
-- Tries to parse the file at path. If successful, returns a table of mods. -- Tries to parse the file at path. If successful, returns a table of mods.
-- If it can't open the file, it will write a fallback set of mods. -- If it can't open the file, it will write a fallback set of mods.
local function ParseSpeedModFile(path) local function ParseSpeedModFile(path)
local function Failure(file) local function Failure()
-- error; write a fallback mod file and return it -- error; write a fallback mod file and return it
local fallbackString = "0.5x,1x,1.5x,2x,3x,4x,5x,6x,7x,8x,C250,C450,m550" local fallbackString = "0.5x,1x,1.5x,2x,3x,4x,5x,6x,7x,8x,C250,C450,m550"
Trace("[CustomSpeedMods]: Could not read SpeedMods; writing fallback to "..path) Trace("[CustomSpeedMods]: Could not read SpeedMods; writing fallback to "..path)
local file = RageFileUtil.CreateRageFile()
file:Open(path, 2) file:Open(path, 2)
file:Write(fallbackString) file:Write(fallbackString)
file:destroy() file:destroy()
@@ -73,15 +79,17 @@ local function ParseSpeedModFile(path)
string.gsub(mods[i], "%s", "") string.gsub(mods[i], "%s", "")
if not(mods[i]:find("%d+.?%d*[xX]") or mods[i]:find("[cmCM]%d+")) then if not(mods[i]:find("%d+.?%d*[xX]") or mods[i]:find("[cmCM]%d+")) then
mods[i] = nil mods[i] = nil
end elseif mods[i]:find("[mM]") then mods[i]=mods[i]:lower()
elseif mods[i]:find("[cC]") then mods[i]=mods[i]:upper() end
end end
if #mods==0 then return Failure() end if #mods==0 then file:destroy() return Failure() end
file:destroy() file:destroy()
return mods return mods
else else
return Failure(file) file:destroy()
return Failure()
end end
end end
@@ -174,11 +182,20 @@ local function GetSpeedMods()
PlayerNumber_P2 = ProfileDir('ProfileSlot_Player2') PlayerNumber_P2 = ProfileDir('ProfileSlot_Player2')
} }
-- figure out how many players we have to deal with. -- if someone is trying to be "smart" and removes 1x from the machine
local numPlayers = GAMESTATE:GetNumPlayersEnabled() -- profile's custom speed mods, re-add it to prevent crashes.
local machineMods = ParseSpeedModFile(profileDirs.Machine..baseFilename)
if machineMods then
local found1X = false
for k,v in pairs(machineMods) do found1X = (v == "1x") end
if not found1X then table.insert(machineMods,"1x") end
end
-- load machine to finalMods -- load machine to finalMods
finalMods = InvertTable(ParseSpeedModFile(profileDirs.Machine..baseFilename)) finalMods = InvertTable(machineMods)
-- figure out how many players we have to deal with.
local numPlayers = GAMESTATE:GetNumPlayersEnabled()
local playerMods = {} local playerMods = {}
for pn in ivalues(GAMESTATE:GetHumanPlayers()) do for pn in ivalues(GAMESTATE:GetHumanPlayers()) do
@@ -253,7 +270,7 @@ function SpeedMods()
end end
--[[ --[[
Copyright © 2008-2011 AJ Kelly/KKI Labs. Copyright © 2008-2012 AJ Kelly/KKI Labs.
Use freely, so long this notice and the above documentation remains. Use freely, so long this notice and the above documentation remains.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+2 -1
View File
@@ -48,7 +48,8 @@ function GameCompatibleModes()
beat = "5Keys,7Keys,10Keys,14Keys,Versus5,Versus7", beat = "5Keys,7Keys,10Keys,14Keys,Versus5,Versus7",
kb7 = "KB7", kb7 = "KB7",
para = "Single", para = "Single",
techno = "Single4,Single5,Single8,Double4,Double8", -- todo: add versus modes for technomotion
techno = "Single4,Single5,Single8,Double4,Double5,Double8",
lights = "Single" -- lights shouldn't be playable lights = "Single" -- lights shouldn't be playable
} }
return Modes[CurGameName()] return Modes[CurGameName()]
+17 -527
View File
@@ -1,3 +1,8 @@
--[[DO NOT MODIFY THIS FILE.
You can add new scoring modes just by creating a different file and adding them to the
Scoring table. Replacing this file will cause additions to be lost during updates.
It's unnecessary and problematic.]]
--internals table --internals table
local Shared = {}; local Shared = {};
--Special Scoring types. --Special Scoring types.
@@ -33,477 +38,8 @@ function GetDirectRadar(player)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- StepMania 3.9 (Plus) Scorings by @803832 --Oldschool scoring, best described as a modified 4th mix scheme
-- 3.9 MAX2 --with a little 1st mix influence
-- 3.9 5TH
-- 3.9Plus HYBRID
-- 3.9Plus SN
-- 3.9Plus SN2
-- note: 3.9Plus PIU Scoring cannot be implemented due to no NumTapsInRow
-- in JudgmentMessage. This is fixed in hanubeki-modified-sm-ssc revision 6c7184e7df9a:
-- http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=6c7184e7df9a3694649f965c2976859bb9e45963
-----------------------------------------------------------
local function isW2OrAbove(tns)
if tns == 'TapNoteScore_W1' or tns == 'TapNoteScore_W2' then
return true;
end;
return false;
end
local sm3_Steps = {0,0};
local sm3_Score = {0,0};
local sm3_CurMaxScore = {0,0};
local sm3_Combo = {0,0};
local sm3_CurMaxCombo = {0,0};
local sm3_GradePoints = {0,0};
local sm3_Bonus = {0,0};
local sm3_MaxBonus = {0,0};
r["3.9 MAX2"] = function(params, pss)
local multLookup =
{
['TapNoteScore_W1'] = 10,
['TapNoteScore_W2'] = GAMESTATE:ShowW1() and 9 or 10,
['TapNoteScore_W3'] = 5
};
setmetatable(multLookup, ZeroIfNotFound);
local radarValues = GetDirectRadar(params.Player);
local totalItems = GetTotalItems(radarValues);
-- 1+2+3+...+totalItems value/の値
local sTotal = (totalItems+1)*totalItems/2;
local steps = GAMESTATE:GetCurrentSteps(params.Player);
local meter = steps:GetMeter();
meter = clamp(meter,1,10);
-- [ja] 満点を求める
local length = 1;
if (GAMESTATE:GetCurrentSong():IsMarathon()) then
length = 3;
elseif (GAMESTATE:GetCurrentSong():IsLong()) then
length = 2;
end;
local baseScore = meter * 10000000 * length;
local sOne = baseScore/sTotal;
local p = (params.Player == 'PlayerNumber_P1') and 1 or 2;
-- [ja] スコアが0の時に初期化
if pss:GetScore()==0 then
sm3_Steps[p] = 0;
end;
-- [ja] 現在のステップ数
-- [ja] 地雷とHoldCheckpointsの場合は加算しない
if params.TapNoteScore ~= "TapNoteScore_HitMine" and
params.TapNoteScore ~= "TapNoteScore_AvoidMine" and
params.TapNoteScore ~= "TapNoteScore_CheckpointHit" and
params.TapNoteScore ~= "TapNoteScore_CheckpointMiss"
then
sm3_Steps[p]=sm3_Steps[p]+1;
end;
-- [en] current score
-- [ja] 今回加算するスコア(W1の時)
local vScore = sOne*sm3_Steps[p];
pss:SetCurMaxScore(pss:GetCurMaxScore()+math.floor(vScore));
-- [ja] 判定によって加算量を変更
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
vScore = vScore;
else
if (params.HoldNoteScore == 'HoldNoteScore_LetGo') then
vScore = 0;
else
vScore = vScore*multLookup[params.TapNoteScore]/10;
end;
end;
-- [ja] 落ちていた場合は入るスコアが減る
if (pss:GetFailed()) then
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
-- [ja] O.K.判定時は10点
sm3_Score[p] = sm3_Score[p]+10;
elseif (params.HoldNoteScore ~= 'HoldNoteScore_LetGo') then
-- [ja] O.K.でもN.G.でもない場合のスコア:
-- W1 (Marvelous): 10
-- W2 (Perfect): 9
-- W3 (Great): 5
sm3_Score[p] = sm3_Score[p]+multLookup[params.TapNoteScore];
end;
-- [ja] 5点単位の処理がなぜかここでされる
if multLookup[params.TapNoteScore] > 0 then
sm3_Score[p] = math.floor((sm3_Score[p] + 2) / 5) * 5;
end;
else
pss:SetScore(pss:GetScore()+math.floor(vScore));
end;
if (sm3_Steps[p] == totalItems and not pss:GetFailed()) then
-- [ja] 最後の1ステップがW2以上の場合、端数を加算する
-- [ja] 端数は設定上の満点と最終ステップ時点での満点の差から求める
if (isW2OrAbove(params.TapNoteScore) or params.HoldNoteScore == 'HoldNoteScore_Held') then
pss:SetScore(pss:GetScore()+(baseScore-pss:GetCurMaxScore()));
pss:SetCurMaxScore(pss:GetCurMaxScore()+(baseScore-pss:GetCurMaxScore()));
end;
end;
end;
-- TODO: Don't add combo bonus if autoplay
r["3.9 5TH"] = function(params, pss)
local multLookup =
{
['TapNoteScore_W1'] = 10,
['TapNoteScore_W2'] = GAMESTATE:ShowW1() and 9 or 10,
['TapNoteScore_W3'] = 5
};
setmetatable(multLookup, ZeroIfNotFound);
local radarValues = GetDirectRadar(params.Player);
local totalItems = GetTotalItems(radarValues);
-- 1+2+3+...+totalItems value/の値
local sTotal = (totalItems+1)*totalItems/2;
local steps = GAMESTATE:GetCurrentSteps(params.Player);
local meter = steps:GetMeter();
meter = clamp(meter,1,10);
-- [ja] 満点を求める
local length = 1;
if (GAMESTATE:GetCurrentSong():IsMarathon()) then
length = 3;
elseif (GAMESTATE:GetCurrentSong():IsLong()) then
length = 2;
end;
local baseScore = (meter * length + 1) * 5000000;
local sOne = baseScore/sTotal;
local p = (params.Player == 'PlayerNumber_P1') and 1 or 2;
-- [ja] スコアが0の時に初期化
if pss:GetScore()==0 then
sm3_Steps[p] = 0;
sm3_Score[p] = 0;
sm3_CurMaxScore[p] = 0;
sm3_Combo[p] = 0;
sm3_CurMaxCombo[p] = 0;
sm3_GradePoints[p] = 0;
sm3_Bonus[p] = 0;
sm3_MaxBonus[p] = 0;
end;
-- [ja] 現在のステップ数
-- [ja] 地雷とHoldCheckpointsの場合は加算しない
if params.TapNoteScore ~= "TapNoteScore_HitMine" and
params.TapNoteScore ~= "TapNoteScore_AvoidMine" and
params.TapNoteScore ~= "TapNoteScore_CheckpointHit" and
params.TapNoteScore ~= "TapNoteScore_CheckpointMiss"
then
sm3_Steps[p]=sm3_Steps[p]+1;
end;
-- [en] current score
-- [ja] 今回加算するスコア(W1の時)
local vScore = sOne*sm3_Steps[p];
sm3_CurMaxScore[p] = sm3_CurMaxScore[p]+math.floor(vScore);
-- [ja] グレードの計算は5THではなくMAX2方式
local gradeWeightTable = {
['TapNoteScore_W1'] = 2,
['TapNoteScore_W2'] = 2,
['TapNoteScore_W3'] = 1,
['TapNoteScore_W5'] = -4,
['TapNoteScore_Miss'] = -8,
};
setmetatable(gradeWeightTable, ZeroIfNotFound);
-- [ja] 判定によって加算量を変更
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
vScore = vScore;
sm3_GradePoints[p] = sm3_GradePoints[p] + 6;
else
if (params.HoldNoteScore == 'HoldNoteScore_LetGo') then
vScore = 0;
else
vScore = vScore*multLookup[params.TapNoteScore]/10;
sm3_GradePoints[p] = sm3_GradePoints[p] + gradeWeightTable[params.TapNoteScore];
end;
end;
-- [ja] コンボは自前で処理する
if not params.HoldNoteScore then
if params.TapNoteScore == 'TapNoteScore_W1' or
params.TapNoteScore == 'TapNoteScore_W2' or
(
GAMESTATE:GetPlayMode() ~= 'PlayMode_Oni' and
params.TapNoteScore == 'TapNoteScore_W3'
)
then
sm3_Combo[p] = sm3_Combo[p] + 1;
-- [ja] 地雷とHoldCheckpointsの場合はリセットしない
elseif params.TapNoteScore ~= "TapNoteScore_HitMine" and
params.TapNoteScore ~= "TapNoteScore_AvoidMine" and
params.TapNoteScore ~= "TapNoteScore_CheckpointHit" and
params.TapNoteScore ~= "TapNoteScore_CheckpointMiss"
then
sm3_Combo[p] = 0;
end;
sm3_CurMaxCombo[p] = sm3_CurMaxCombo[p] + 1;
end;
local bonusTable =
{
['TapNoteScore_W1'] = 55,
['TapNoteScore_W2'] = 55,
['TapNoteScore_W3'] = 33
};
setmetatable(bonusTable, ZeroIfNotFound);
-- [ja] 落ちていた場合は入るスコアが減る
if (pss:GetFailed()) then
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
-- [ja] O.K.判定時は10点
sm3_Score[p] = sm3_Score[p]+10;
elseif (params.HoldNoteScore ~= 'HoldNoteScore_LetGo') then
-- [ja] O.K.でもN.G.でもない場合のスコア:
-- W1 (Marvelous): 10
-- W2 (Perfect): 9
-- W3 (Great): 5
sm3_Score[p] = sm3_Score[p]+multLookup[params.TapNoteScore];
end;
-- [ja] 5点単位の処理がなぜかここでされる
if multLookup[params.TapNoteScore] > 0 then
sm3_Score[p] = math.floor((sm3_Score[p] + 2) / 5) * 5;
end;
else
sm3_Score[p] = sm3_Score[p]+math.floor(vScore);
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
sm3_Bonus[p] = sm3_Bonus[p]+55*sm3_Combo[p];
elseif (params.HoldNoteScore ~= 'HoldNoteScore_LetGo') then
sm3_Bonus[p] = sm3_Bonus[p]+bonusTable[params.TapNoteScore]*sm3_Combo[p];
end;
sm3_MaxBonus[p] = sm3_MaxBonus[p]+55*sm3_CurMaxCombo[p];
end;
if (sm3_Steps[p] == totalItems and not pss:GetFailed()) then
-- [ja] 最後の1ステップがW2以上の場合、端数を加算する
-- [ja] 端数は設定上の満点と最終ステップ時点での満点の差から求める
if (isW2OrAbove(params.TapNoteScore) or params.HoldNoteScore == 'HoldNoteScore_Held') then
sm3_Score[p] = sm3_Score[p]+(baseScore-sm3_CurMaxScore[p]);
sm3_CurMaxScore[p] = sm3_CurMaxScore[p]+(baseScore-sm3_CurMaxScore[p]);
end;
end;
-- [ja] 5点単位の処理は5TH方式のみでされる
pss:SetScore(sm3_Score[p] - sm3_Score[p] % 5);
pss:SetCurMaxScore(sm3_CurMaxScore[p] - sm3_CurMaxScore[p] % 5);
if (sm3_Steps[p] == totalItems and not pss:GetFailed()) then
-- [ja] コンボボーナスとグレードボーナスを加算
-- [ja] 本当はリザルト画面でやりたいんだけどね
local totalTaps = radarValues:GetValue('RadarCategory_TapsAndHolds');
local totalHolds = radarValues:GetValue('RadarCategory_Holds') + radarValues:GetValue('RadarCategory_Rolls');
local gradeBonusTable = {
-- Threshold: sm3_GradePoints[p] / (totalTaps * 2 + totalHolds * 6) * 100
{ Threshold = 100, Bonus = 10000000 },
{ Threshold = 93, Bonus = 1000000 },
{ Threshold = 80, Bonus = 100000 },
{ Threshold = 65, Bonus = 10000 },
{ Threshold = 45, Bonus = 1000 },
-- [ja] 45%に達していない場合は100点とする
};
local gradeBonus = 100;
for i = 1,#gradeBonusTable do
if (sm3_GradePoints[p] / (totalTaps * 2 + totalHolds * 6) * 100 >= gradeBonusTable[i].Threshold) then
gradeBonus = gradeBonusTable[i].Bonus;
break;
end;
end;
if pss:GetFailed() then
gradeBonus = 0;
end;
pss:SetScore(pss:GetScore()+sm3_Bonus[p]+gradeBonus);
pss:SetCurMaxScore(pss:GetCurMaxScore()+sm3_MaxBonus[p]+10000000);
end;
end;
r["3.9Plus HYBRID"] = function(params, pss)
local multLookup =
{
['TapNoteScore_W1'] = 10,
['TapNoteScore_W2'] = GAMESTATE:ShowW1() and 9 or 10,
['TapNoteScore_W3'] = 5
};
setmetatable(multLookup, ZeroIfNotFound);
local radarValues = GetDirectRadar(params.Player);
local totalItems = GetTotalItems(radarValues);
-- 1+2+3+...+totalItems value/の値
local sTotal = (totalItems+1)*totalItems/2;
local steps = GAMESTATE:GetCurrentSteps(params.Player);
local meter = steps:GetMeter();
meter = clamp(meter,1,10);
-- [ja] 満点を求める
local length = 1;
if (GAMESTATE:GetCurrentSong():IsMarathon()) then
length = 3;
elseif (GAMESTATE:GetCurrentSong():IsLong()) then
length = 2;
end;
local baseScore = 100000000 * length;
local sOne = baseScore/sTotal;
local p = (params.Player == 'PlayerNumber_P1') and 1 or 2;
-- [ja] スコアが0の時に初期化
if pss:GetScore()==0 then
sm3_Steps[p] = 0;
end;
-- [ja] 現在のステップ数
-- [ja] 地雷とHoldCheckpointsの場合は加算しない
if params.TapNoteScore ~= "TapNoteScore_HitMine" and
params.TapNoteScore ~= "TapNoteScore_AvoidMine" and
params.TapNoteScore ~= "TapNoteScore_CheckpointHit" and
params.TapNoteScore ~= "TapNoteScore_CheckpointMiss"
then
sm3_Steps[p]=sm3_Steps[p]+1;
end;
-- [en] current score
-- [ja] 今回加算するスコア(W1の時)
local vScore = sOne*sm3_Steps[p];
pss:SetCurMaxScore(pss:GetCurMaxScore()+math.floor(vScore));
-- [ja] 判定によって加算量を変更
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
vScore = vScore;
else
if (params.HoldNoteScore == 'HoldNoteScore_LetGo') then
vScore = 0;
else
vScore = vScore*multLookup[params.TapNoteScore]/10;
end;
end;
-- [ja] 落ちていた場合は入るスコアが減る
if (pss:GetFailed()) then
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
-- [ja] O.K.判定時は10点
pss:SetScore(pss:GetScore()+10);
elseif (params.HoldNoteScore ~= 'HoldNoteScore_LetGo') then
-- [ja] O.K.でもN.G.でもない場合のスコア:
-- W1 (Marvelous): 10
-- W2 (Perfect): 9
-- W3 (Great): 5
pss:SetScore(pss:GetScore()+multLookup[params.TapNoteScore]);
end;
-- [ja] 5点単位の処理がなぜかここでされる
if multLookup[params.TapNoteScore] > 0 then
pss:SetScore(math.floor((pss:GetScore() + 2) / 5) * 5);
end;
else
pss:SetScore(pss:GetScore()+math.floor(vScore));
end;
if (sm3_Steps[p] == totalItems and not pss:GetFailed()) then
-- [ja] 最後の1ステップがW2以上の場合、端数を加算する
-- [ja] 端数は設定上の満点と最終ステップ時点での満点の差から求める
if (isW2OrAbove(params.TapNoteScore) or params.HoldNoteScore == 'HoldNoteScore_Held') then
pss:SetScore(pss:GetScore()+(baseScore-pss:GetCurMaxScore()));
pss:SetCurMaxScore(pss:GetCurMaxScore()+(baseScore-pss:GetCurMaxScore()));
end;
end;
end;
r["3.9Plus SN"] = function(params, pss)
local radarValues = GetDirectRadar(params.Player);
local totalItems = GetTotalItems(radarValues);
-- [ja] 満点を求める
local length = 1;
if (GAMESTATE:GetCurrentSong():IsMarathon()) then
length = 3;
elseif (GAMESTATE:GetCurrentSong():IsLong()) then
length = 2;
end;
local baseScore = 10000000 * length;
-- [en] current score
-- [ja] 今回加算するスコア
local multLookup =
{
['TapNoteScore_W1'] = math.floor(baseScore / totalItems),
['TapNoteScore_W2'] = math.floor(baseScore / totalItems),
['TapNoteScore_W3'] = math.floor(math.floor(baseScore / 2) / totalItems)
};
setmetatable(multLookup, ZeroIfNotFound);
local vScore = multLookup[params.TapNoteScore];
pss:SetCurMaxScore(pss:GetCurMaxScore()+multLookup['TapNoteScore_W1']);
-- [ja] 判定によって加算量を変更
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
vScore = multLookup['TapNoteScore_W1'];
elseif (params.HoldNoteScore == 'HoldNoteScore_LetGo') then
vScore = 0;
end;
-- [ja] 落ちていた場合は入るスコアが減る
if (not pss:GetFailed()) then
pss:SetScore(pss:GetScore()+math.floor(vScore));
end;
-- [ja] 端数の処理はされていないようだ
end;
r["3.9Plus SN2"] = function(params, pss)
local radarValues = GetDirectRadar(params.Player);
local totalItems = GetTotalItems(radarValues);
-- [ja] 満点を求める
local length = 1;
if (GAMESTATE:GetCurrentSong():IsMarathon()) then
length = 3;
elseif (GAMESTATE:GetCurrentSong():IsLong()) then
length = 2;
end;
local baseScore = 1000000 * length;
-- [en] current score
-- [ja] 今回加算するスコア
local multLookup =
{
['TapNoteScore_W1'] = math.floor(baseScore / totalItems),
['TapNoteScore_W2'] = math.floor(baseScore / totalItems) - 10,
['TapNoteScore_W3'] = math.floor(math.floor(baseScore / 2) / totalItems) - 10
};
setmetatable(multLookup, ZeroIfNotFound);
local vScore = multLookup[params.TapNoteScore];
pss:SetCurMaxScore(pss:GetCurMaxScore()+multLookup['TapNoteScore_W1']);
-- [ja] 判定によって加算量を変更
if (params.HoldNoteScore == 'HoldNoteScore_Held') then
vScore = multLookup['TapNoteScore_W1'];
elseif (params.HoldNoteScore == 'HoldNoteScore_LetGo') then
vScore = 0;
end;
-- [ja] 落ちていた場合は入るスコアが減る
if (not pss:GetFailed()) then
pss:SetScore(pss:GetScore()+math.floor(vScore));
end;
-- [ja] 端数の処理はされていないようだ
end;
-----------------------------------------------------------
-- Oldschool scoring, best described as a modified 4th mix
-- scheme with a little 1st mix influence
----------------------------------------------------------- -----------------------------------------------------------
r['Oldschool'] = function(params, pss) r['Oldschool'] = function(params, pss)
local bestPoints = 999 local bestPoints = 999
@@ -524,7 +60,7 @@ r['Oldschool'] = function(params, pss)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- DDR MAX2/Extreme(-esque) Scoring by @sakuraponila --DDR MAX2/Extreme(-esque) Scoring by @sakuraponila
----------------------------------------------------------- -----------------------------------------------------------
local ext_Steps = {0,0}; local ext_Steps = {0,0};
r['DDR Extreme'] = function(params, pss) r['DDR Extreme'] = function(params, pss)
@@ -601,7 +137,7 @@ r['DDR Extreme'] = function(params, pss)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- HYBRID Scoring, contributed by @waiei --HYBRID Scoring, contributed by @waiei
----------------------------------------------------------- -----------------------------------------------------------
local hyb_Steps={0,0}; local hyb_Steps={0,0};
r['Hybrid'] = function(params, pss) r['Hybrid'] = function(params, pss)
@@ -654,7 +190,7 @@ r['Hybrid'] = function(params, pss)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- DDR SuperNOVA scoring (Use MARVELOUS) by @sakuraponila --DDR SuperNOVA scoring (Use MARVELOUS) by @sakuraponila
----------------------------------------------------------- -----------------------------------------------------------
local sntmp_Score = {0,0}; local sntmp_Score = {0,0};
local sntmp_Steps = {0,0}; local sntmp_Steps = {0,0};
@@ -702,7 +238,7 @@ r['DDR SuperNOVA'] = function(params, pss)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- DDR SuperNOVA 2 scoring by @waiei --DDR SuperNOVA 2 scoring by @waiei
----------------------------------------------------------- -----------------------------------------------------------
local sn2tmp_Sub={0,0}; local sn2tmp_Sub={0,0};
local sn2tmp_Score={0,0}; local sn2tmp_Score={0,0};
@@ -755,8 +291,7 @@ r['DDR SuperNOVA 2'] = function(params, pss)
end; end;
----------------------------------------------------------- -----------------------------------------------------------
-- Radar Master (disabled) --Radar Master (disabled; todo: get this working with StepMania 5)
-- (todo: get this working with StepMania 5)
----------------------------------------------------------- -----------------------------------------------------------
r['[SSC] Radar Master'] = function(params, pss) r['[SSC] Radar Master'] = function(params, pss)
local masterTable = { local masterTable = {
@@ -777,18 +312,17 @@ r['[SSC] Radar Master'] = function(params, pss)
totalRadar = totalRadar + firstRadar; totalRadar = totalRadar + firstRadar;
end; end;
end; end;
-- two loops are needed, because we need to calculate totalRadar --two loops are needed because we need to calculate totalRadar
-- to actually calculate any part of the score --to actually calculate any part of the score
for k,v in pairs(masterTable) do for k,v in pairs(masterTable) do
local curPortion = pss:GetRadarActual():GetValue(k) / v; local curPortion = pss:GetRadarActual():GetValue(k) / v;
finalScore = finalScore + curPortion*(500000000*(v/totalRadar)); finalScore = finalScore + curPortion*(500000000*(v/totalRadar));
end; end;
pss:SetScore(finalScore); pss:SetScore(finalScore);
end; end;
------------------------------------------------------------ ------------------------------------------------------------
-- Marvelous Incorporated Grading System (or MIGS for short) --Marvelous Incorporated Grading System (or MIGS for short)
-- basically like DP scoring with locked DP values --basically like DP scoring with locked DP values
------------------------------------------------------------ ------------------------------------------------------------
r['MIGS'] = function(params,pss) r['MIGS'] = function(params,pss)
local curScore = 0; local curScore = 0;
@@ -808,58 +342,14 @@ r['MIGS'] = function(params,pss)
end; end;
-------------------------------------------------------------- --------------------------------------------------------------
-- 1bilDP scoring because I can. --1bilDP scoring because I can.
-------------------------------------------------------------- --------------------------------------------------------------
r['Billions DP']= function(params,pss) r['Billions DP']= function(params,pss)
local poss = pss:GetPossibleDancePoints() local poss = pss:GetPossibleDancePoints()
pss:SetScore(math.floor((pss:GetActualDancePoints()/poss)*1000000000)) pss:SetScore(math.floor((pss:GetActualDancePoints()/poss)*1000000000))
pss:SetCurMaxScore(math.floor((pss:GetCurrentPossibleDancePoints()/poss)*1000000000)) pss:SetCurMaxScore(math.floor((pss:GetCurrentPossibleDancePoints()/poss)*1000000000))
end end
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Formulas end here. -- Formulas end here.
for v in ivalues(DisabledScoringModes) do r[v] = nil end for v in ivalues(DisabledScoringModes) do r[v] = nil end
Scoring = r; Scoring = r;
function UserPrefScoringMode()
local baseChoices = {}
for k,v in pairs(Scoring) do table.insert(baseChoices,k) end
if next(baseChoices) == nil then UndocumentedFeature "No scoring modes available" end
local t = {
Name = "UserPrefScoringMode";
LayoutType = "ShowAllInRow";
SelectType = "SelectOne";
OneChoiceForAllPlayers = true;
ExportOnChange = false;
Choices = baseChoices;
LoadSelections = function(self, list, pn)
if ReadPrefFromFile("UserPrefScoringMode") ~= nil then
--Load the saved scoring mode from UserPrefs.
local theValue = ReadPrefFromFile("UserPrefScoringMode");
local success = false;
--HACK: Preview 4 took out 1st and 4th scoring. Replace with a close equivalent.
if theValue == "DDR 1stMIX" or theValue == "DDR 4thMIX" then theValue = "Oldschool" end
--Search the list of scoring modes for the saved scoring mode.
for k,v in ipairs(baseChoices) do
if v == theValue then list[k] = true success = true break end
end;
--We couldn't find it, pick the first available scoring mode as a sane default.
if success == false then list[1] = true end;
else
WritePrefToFile("UserPrefScoringMode", baseChoices[1]);
list[1] = true;
end;
end;
SaveSelections = function(self, list, pn)
for k,v in ipairs(list) do
if v then WritePrefToFile("UserPrefScoringMode", baseChoices[k]) break end
end;
end;
};
setmetatable( t, t );
return t;
end
@@ -0,0 +1,187 @@
--[[DO NOT MODIFY THIS FILE.
You can add new scoring modes just by creating a different file and adding them to the
ScoringModes table. Replacing this file will cause additions to be lost during updates.
It's unnecessary and problematic.]]
ScoringModes={}
local function CreateOldScoringShim(name)
local func = Scoring[name]
return function(judg,pss,player,mode)
judg,pss,player,mode=coroutine.yield()
while true do
if mode=="update" then
func(judg,pss)
judg,pss,player,mode=coroutine.yield(pss:GetScore(),pss:GetCurMaxScore())
elseif mode=="finalize" then
return pss:GetScore(),pss:GetCurMaxScore()
else
error("scoring shim for mode "..name.." got an unknown state.")
end
end
end
end
local ZeroIfNotFound = { __index = function() return 0 end; };
function GetDirectRadar(player)
return GAMESTATE:GetCurrentSteps(player):GetRadarValues(player)
end
--The code here is an example of native modes.
--[[There are three operation modes:
init mode: The JudgmentCommand is invalid in this mode.
This mode is designed to allow you to prepare your scoring mode.
update mode: all are valid.
This lets you respond to score changes.
finalize mode: JudgementCommand invalid.
This is designed to let you give score bonuses.
]]
ScoringModes["Oldschool"]=function(judg,pss,player,mode)
local tscore = 0
local tmaxscore = 1000000000
local possibilities= {
['TapNoteScore_W1']=999,
['TapNoteScore_W2']=IsW1Allowed('TapNoteScore_W2') and 888 or 999,
['TapNoteScore_W3']=777,
['TapNoteScore_W4']=555,
['TapNoteScore_W5']=111,
};
assert(mode=="init","issues")
setmetatable(possibilities, {__index=function() return 0 end;});
judg,pss,player,mode = coroutine.yield()
--holy crap it's a state machine i guess!
while true do
if mode=="update" then
tscore=tscore+((pss:GetCurrentCombo()*111)^1.1)+ possibilities[judg.TapNoteScore] + (judg.HoldNoteScore == 'HoldNoteScore_Held' and 777 or 0)
judg,pss,player,mode = coroutine.yield(tscore,tmaxscore)
end
if mode=="finalize" then
break
end
end
return tscore,tmaxscore
end
ScoringModes['DDRMAX']=function(judge,pss,player,mode)
--If you know Japanese and English, and can translate these comments, please help.
--日本のコメントは、機械解釈されました。 あなたが彼らを人間を翻訳されたコメントと入れ替えるのを手伝うことができるならば、どうぞ。
--[en] in init mode, you start here. judge will be nil.
--[jp] initモードで、あなたがここに出発すること。judgeが、nilです
local multLookup = {
TapNoteScore_W1=10,
TapNoteScore_W2=10,
TapNoteScore_W3=5 }
local notesToIgnore = {
TapNoteScore_CheckpointHit=true,
TapNoteScore_CheckpointMiss=true,
TapNoteScore_HitMine=true,
TapNoteScore_AvoidMine=true,
TapNoteScore_None=true}
local radarCategoriesAndBonuses={
RadarCategory_Stream=20000000,
RadarCategory_Air=10000000,
RadarCategory_Voltage=10000000,
RadarCategory_Chaos=10000000,
RadarCategory_Freeze=10000000}
setmetatable(multLookup,ZeroIfNotFound)
local numNoteObjects = GetDirectRadar(player):GetValue('RadarCategory_TapsAndHolds')
local base = 5000000
local curstep = 0
local score = 0
local bestscore = 0
local s = numNoteObjects<1 and 0 or ((numNoteObjects/2)*(1+numNoteObjects))
--[en] coroutine.yield() acts somewhat like return, but when the function is run by UpdateScoreKeepers() it will start here.
--[jp] coroutine.yield()はいくぶん「return」のようなふりをします、しかし、機能がUpdateScoreKeepers()に通されるとき、それはここで始まります。
judge,pss,player,mode = coroutine.yield()
--[en] a while loop is only one way to make the mode selection system, but it's probably the easiest.
--[jp]「while」ループはモード選択システムを行う1つの方法だけです、しかし、それは多分最も簡単でしょう。
while true do
--update mode code
if mode == "update" then
--[en] this filters out holds and spurious judgments. DDRMAX ignores holds for scoring purposes.
--[jp] これは、holdともっともらしい判断を除去します。 DDRMAXは、目的を記録するために、holdを無視します。
if (not notesToIgnore[judge.TapNoteScore]) and judge.HoldNoteScore==nil then
curstep=curstep+1
if curstep>numNoteObjects then error "Got some things we shouldn't have" end
score=score+(pss:GetFailed() and 1 or (multLookup[judge.TapNoteScore]*math.floor(base/s)*curstep))+((curstep==numNoteObjects and pss:FullComboOfScore('TapNoteScore_W2')) and (10*(base-(math.floor(base/s)*numNoteObjects))) or 0)
bestscore = (curstep==numNoteObjects and 50000000 or bestscore+(10*math.floor(base/s)*curstep))
end
judge,pss,player,mode=coroutine.yield(score,bestscore)
end
if mode == "finalize" then
--[en] this code isn't accurate, but it's good enough
--[jp] このコードは正確でありません、しかし、それは十分によいです
local actradar = pss:GetRadarActual()
local possradar = pss:GetRadarPossible()
for k,v in pairs(radarCategoriesAndBonuses) do
local thispossradar=possradar:GetValue(k)
if thispossradar>0 then
score=score+math.floor((actradar:GetValue(k)/thispossradar)*(thispossradar*v))
bestscore=bestscore+(thispossradar*v)
end
end
break
end
end
return score,bestscore
end
for k,v in pairs(Scoring) do
if ScoringModes[k] == nil then
ScoringModes[k] = CreateOldScoringShim(k)
end
end
--if you are using the old Scoring system in the standard way, your theme will not need to be updated
local OldCallShimMt={
__index=function(t,k,v)
return function(judg, _)
if GetNumReadiedScoreKeepers()==0 then
--lazy programming
InitScoreKeepers(ArgsIfPlayerJoinedOrNil(v))
end
UpdateScoreKeepers(judg)
end
end
}
Scoring={}
setmetatable(Scoring,OldCallShimMt)
function UserPrefScoringMode()
local baseChoices = {}
for k,v in pairs(ScoringModes) do table.insert(baseChoices,k) end
if next(baseChoices) == nil then UndocumentedFeature "No scoring modes available" end
local t = {
Name = "UserPrefScoringMode";
LayoutType = "ShowAllInRow";
SelectType = "SelectOne";
OneChoiceForAllPlayers = true;
ExportOnChange = false;
Choices = baseChoices;
LoadSelections = function(self, list, pn)
if ReadPrefFromFile("UserPrefScoringMode") ~= nil then
--Load the saved scoring mode from UserPrefs.
local theValue = ReadPrefFromFile("UserPrefScoringMode");
local success = false;
--HACK: Preview 4 took out 1st and 4th scoring. Replace with a close equivalent.
if theValue == "DDR 1stMIX" or theValue == "DDR 4thMIX" then theValue = "Oldschool" end
--Search the list of scoring modes for the saved scoring mode.
for k,v in ipairs(baseChoices) do if v == theValue then list[k] = true success = true break end end;
--We couldn't find it, pick the first available scoring mode as a sane default.
if success == false then list[1] = true end;
else
WritePrefToFile("UserPrefScoringMode", baseChoices[1]);
list[1] = true;
end;
end;
SaveSelections = function(self, list, pn)
for k,v in ipairs(list) do if v then WritePrefToFile("UserPrefScoringMode", baseChoices[k]) break end end;
end;
};
setmetatable( t, t );
return t;
end
@@ -0,0 +1,145 @@
--ScoringEngine2 by FSX v1.41
--essentially a really chunky layer to make SetScore elegant(ish)
--arguments for scorekeepers: JudgmentMessageCommand,PlayerStageStats,PlayerNumber,State
--[[changelog
v1.41 6 May 2012
*Not really sure.
*Included in SM5 for alpha 3.
v1.4 18 Apr 2012
*Support for judgment filtering.
*Minor changes.
*First public release (in SE2 Dev Kit) (didn't happen)
v1.3 17 Apr 2012
*First complete release.
*Error reporting in FinalizeScoreKeepers()
*Bug fixes.]]
--scoring modes written for the old ad-hoc system don't work, but don't cause crashes either.
--SM5 has some glue code for them, though
local stageKey = nil
local ReadiedScoreKeepers = {}
local JudgmentFilters = {}
local function CoroutineIsGood(cr)
return coroutine.status(cr)=="suspended"
end
function GetNumReadiedScoreKeepers()
return table.itemcount(ReadiedScoreKeepers)
end
function InitScoreKeepers(p1Mode, p2Mode)
local newStgK = {pcall(GameState.GetStageSeed,GAMESTATE)}
assert(newStgK[1], "it's too early to initialize the ScoreKeepers, the GameState isn't ready yet")
if newStgK[2] == stageKey then
Log "[InitScoreKeepers] unnecessary call"
return true
end
ReadiedScoreKeepers={}
JudgmentFilters={}
stageKey = newStgK
local intab = {}
if p1Mode ~= nil then
intab.P1 = p1Mode
end
if p2Mode ~= nil then
intab.P2 = p2Mode
end
assert(next(intab), "InitScoreKeepers didn't get any args")
for k,v in pairs(intab) do
if not ScoringModes[v] then
--SPOILER: UndocumentedFeature crashes the game intentionally.
UndocumentedFeature(k.."'s scoring mode \""..v.."\" doesn't exist.")
end
ReadiedScoreKeepers[k] = coroutine.create(ScoringModes[v])
--call each scoring mode one time in init mode
checks={coroutine.resume(ReadiedScoreKeepers[k],nil,STATSMAN:GetCurStageStats():GetPlayerStageStats("PlayerNumber_"..k), "PlayerNumber_"..k, "init")}
if not CoroutineIsGood(ReadiedScoreKeepers[k]) then SCREENMAN:SystemMessage("scoring init error: "..checks[2]) return false end
--very very very very safe filtering rule load code
if type(checks[2])=="table" then
if type(checks[2][1])..type(checks[2][2]) == "tabletable" then
local isGood=false
local tapscan = Enum.Reverse(TapNoteScore)
local holdscan = Enum.Reverse(HoldNoteScore)
local finaltable = {{},{}}
for i=1,2 do
for k,v in pairs(checks[2][i]) do
finaltable[i][v]=true
if (not (i==2 and holdscan[v] or tapscan[v])) or v==nil then isGood=false break end
isGood=true
end
if not isGood then break end
end
if isGood then
JudgmentFilters[k]=finaltable
end
end
end
end
return true
end
function UpdateScoreKeepers(JMC)
assert(JMC,"pass args, please")
runplayer = ToEnumShortString(JMC.Player)
if ReadiedScoreKeepers[runplayer] then
if JudgmentFilters[runplayer] and (JudgmentFilters[runplayer][1][JMC.TapNoteScore] or JudgmentFilters[runplayer][2][JMC.HoldNoteScore]) then
return true
end
local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats(JMC.Player)
local newscores = {coroutine.resume(ReadiedScoreKeepers[runplayer],JMC,pss,JMC.Player,"update")}
if CoroutineIsGood(ReadiedScoreKeepers[runplayer]) then
pss:SetScore(newscores[2])
pss:SetCurMaxScore(newscores[3])
return true
else
SCREENMAN:SystemMessage("scoring update error: "..newscores[2])
ReadiedScoreKeepers[runplayer]=nil
return false
end
end
end
function FinalizeScoreKeepers()
for k,v in pairs(ReadiedScoreKeepers) do
local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats("PlayerNumber_"..k)
local newscores = {coroutine.resume(v,nil,pss,"PlayerNumber_"..k,"finalize")}
local status = coroutine.status(v)
--kill the scorekeeper now, we don't need it again
ReadiedScoreKeepers[k] = nil
if status=="dead" then
if newscores[1]==true then
pss:SetScore(newscores[2])
pss:SetCurMaxScore(newscores[3])
else
SCREENMAN:SystemMessage("scoring finalize error: "..newscores[2])
return false
end
else
return false
end
end
return true
end
-- (c) 2012 Jack Walstrom and the spinal shark collective
-- All rights reserved.
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the
-- "Software"), to deal in the Software without restriction, including
-- without limitation the rights to use, copy, modify, merge, publish,
-- distribute, and/or sell copies of the Software, and to permit persons to
-- whom the Software is furnished to do so, provided that the above
-- copyright notice(s) and this permission notice appear in all copies of
-- the Software and that both the above copyright notice(s) and this
-- permission notice appear in supporting documentation.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
-- THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
-- INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
-- OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-- OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
+19 -2
View File
@@ -1152,7 +1152,8 @@ RequireStepOnMines=false
InitialHoldLife=IsGame("pump") and 0.05 or 1 InitialHoldLife=IsGame("pump") and 0.05 or 1
MaxHoldLife=1 MaxHoldLife=1
RollBodyIncrementsCombo=false RollBodyIncrementsCombo=false
ScoreMissedHoldsAndRolls=not IsGame("pump") #ScoreMissedHoldsAndRolls=not IsGame("pump")
ScoreMissedHoldsAndRolls=not IsGame("pump") and not IsGame("dance")
PercentUntilColorCombo=0.25 PercentUntilColorCombo=0.25
ComboStoppedAt=50 ComboStoppedAt=50
AttackRunTimeRandom=6 AttackRunTimeRandom=6
@@ -1577,6 +1578,7 @@ TimerSeconds=-1
FirstUpdateCommand= FirstUpdateCommand=
PlayMusic=true PlayMusic=true
MusicAlignBeat=true MusicAlignBeat=true
DelayMusicSeconds=0
StopMusicOnBack=false StopMusicOnBack=false
WaitForChildrenBeforeTweeningOut=false WaitForChildrenBeforeTweeningOut=false
CancelTransitionsOut=false CancelTransitionsOut=false
@@ -1873,20 +1875,34 @@ DefaultChoice="Single"
ChoiceNames=GameCompatibleModes() ChoiceNames=GameCompatibleModes()
# #
OptionOrderAuto="1:2,2:1" OptionOrderAuto="1:2,2:1"
# dance, pump, and likely others
ChoiceSingle="name,Single;style,single;text,Single;screen,"..Branch.AfterSelectStyle() ChoiceSingle="name,Single;style,single;text,Single;screen,"..Branch.AfterSelectStyle()
ChoiceDouble="name,Double;style,double;text,Double;screen,"..Branch.AfterSelectStyle() ChoiceDouble="name,Double;style,double;text,Double;screen,"..Branch.AfterSelectStyle()
ChoiceSolo="name,Solo;style,solo;text,Solo;screen,"..Branch.AfterSelectStyle() ChoiceSolo="name,Solo;style,solo;text,Solo;screen,"..Branch.AfterSelectStyle()
ChoiceVersus="name,Versus;style,versus;text,Versus;screen,"..Branch.AfterSelectStyle() ChoiceVersus="name,Versus;style,versus;text,Versus;screen,"..Branch.AfterSelectStyle()
ChoiceCouple="name,Couple;style,couple;text,Couple;screen,"..Branch.AfterSelectStyle() ChoiceCouple="name,Couple;style,couple;text,Couple;screen,"..Branch.AfterSelectStyle()
ChoiceRoutine="name,Routine;style,routine;text,Routine;screen,"..Branch.AfterSelectStyle() ChoiceRoutine="name,Routine;style,routine;text,Routine;screen,"..Branch.AfterSelectStyle()
# pump
ChoiceHalfDouble="name,HalfDouble;style,halfdouble;text,HalfDouble;screen,"..Branch.AfterSelectStyle() ChoiceHalfDouble="name,HalfDouble;style,halfdouble;text,HalfDouble;screen,"..Branch.AfterSelectStyle()
# beat
Choice5Keys="name,5Keys;style,single5;text,5Keys;screen,"..Branch.AfterSelectStyle() Choice5Keys="name,5Keys;style,single5;text,5Keys;screen,"..Branch.AfterSelectStyle()
Choice7Keys="name,7Keys;style,single7;text,7Keys;screen,"..Branch.AfterSelectStyle() Choice7Keys="name,7Keys;style,single7;text,7Keys;screen,"..Branch.AfterSelectStyle()
ChoiceVersus5="name,Versus5;style,versus5;text,Versus5;screen,"..Branch.AfterSelectStyle() ChoiceVersus5="name,Versus5;style,versus5;text,Versus5;screen,"..Branch.AfterSelectStyle()
ChoiceVersus7="name,Versus7;style,versus7;text,Versus7;screen,"..Branch.AfterSelectStyle() ChoiceVersus7="name,Versus7;style,versus7;text,Versus7;screen,"..Branch.AfterSelectStyle()
Choice10Keys="name,10Keys;style,double5;text,10Keys;screen,"..Branch.AfterSelectStyle() Choice10Keys="name,10Keys;style,double5;text,10Keys;screen,"..Branch.AfterSelectStyle()
Choice14Keys="name,14Keys;style,double7;text,14Keys;screen,"..Branch.AfterSelectStyle() Choice14Keys="name,14Keys;style,double7;text,14Keys;screen,"..Branch.AfterSelectStyle()
# kb7
ChoiceKB7="name,kb7;style,single;screen,"..Branch.AfterSelectStyle() ChoiceKB7="name,kb7;style,single;screen,"..Branch.AfterSelectStyle()
# techno
ChoiceSingle4="name,Single4;style,single4;screen,"..Branch.AfterSelectStyle()
ChoiceSingle5="name,Single5;style,single5;screen,"..Branch.AfterSelectStyle()
ChoiceSingle8="name,Single8;style,single8;screen,"..Branch.AfterSelectStyle()
ChoiceVersus4="name,Versus4;style,versus4;screen,"..Branch.AfterSelectStyle()
ChoiceVersus5="name,Versus5;style,versus5;screen,"..Branch.AfterSelectStyle()
ChoiceVersus8="name,Versus8;style,versus8;screen,"..Branch.AfterSelectStyle()
ChoiceDouble4="name,Double4;style,double4;screen,"..Branch.AfterSelectStyle()
ChoiceDouble5="name,Double5;style,double5;screen,"..Branch.AfterSelectStyle()
ChoiceDouble8="name,Double8;style,double8;screen,"..Branch.AfterSelectStyle()
# #
PerChoiceScrollElement=false PerChoiceScrollElement=false
PerChoiceIconElement=false PerChoiceIconElement=false
@@ -2872,7 +2888,7 @@ Line20="conf,VisualDelaySeconds"
Fallback="ScreenOptionsServiceChild" Fallback="ScreenOptionsServiceChild"
NextScreen="ScreenOptionsService" NextScreen="ScreenOptionsService"
PrevScreen="ScreenOptionsService" PrevScreen="ScreenOptionsService"
LineNames="Score,3,4,8,11,13,14,15,16,28,29,30" LineNames="Score,3,4,8,11,13,14,15,16,28,29,30,31"
LineScore="lua,UserPrefScoringMode()" LineScore="lua,UserPrefScoringMode()"
Line3="conf,TimingWindowScale" Line3="conf,TimingWindowScale"
Line4="conf,LifeDifficulty" Line4="conf,LifeDifficulty"
@@ -2885,6 +2901,7 @@ Line16="conf,UseUnlockSystem"
Line28="conf,AutogenSteps" Line28="conf,AutogenSteps"
Line29="conf,AutogenGroupCourses" Line29="conf,AutogenGroupCourses"
Line30="conf,FastLoad" Line30="conf,FastLoad"
Line31="conf,FastLoadAdditionalSongs"
# unused options # unused options
#Line2="conf,ScoringType" #Line2="conf,ScoringType"
@@ -1,3 +1,7 @@
if not GAMESTATE:IsCourseMode() then
FinalizeScoreKeepers()
end
local function GraphDisplay( pn ) local function GraphDisplay( pn )
local t = Def.ActorFrame { local t = Def.ActorFrame {
Def.GraphDisplay { Def.GraphDisplay {
@@ -215,8 +215,7 @@ if( not GAMESTATE:IsCourseMode() ) then
params.TapNoteScore ~= 'TapNoteScore_Invalid' and params.TapNoteScore ~= 'TapNoteScore_Invalid' and
params.TapNoteScore ~= 'TapNoteScore_None' params.TapNoteScore ~= 'TapNoteScore_None'
then then
Scoring[GetUserPref("UserPrefScoringMode")](params, UpdateScoreKeepers(params)
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
end end
end; end;
}; };
@@ -77,4 +77,12 @@ t[#t+1] = Def.ActorFrame {
}; };
}; };
--Get scoring ready.
if not GAMESTATE:IsCourseMode() then
InitScoreKeepers(
GAMESTATE:IsSideJoined(PLAYER_1) and GetUserPref("UserPrefScoringMode"),
GAMESTATE:IsSideJoined(PLAYER_2) and GetUserPref("UserPrefScoringMode")
)
end
return t return t
@@ -6,12 +6,21 @@ local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame { t[#t+1] = Def.ActorFrame {
LoadActor(THEME:GetPathB("_frame","3x3"),"rounded black",64,12); LoadActor(THEME:GetPathB("_frame","3x3"),"rounded black",64,12);
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
InitCommand=cmd(y,-1;shadowlength,1;playcommand,"Set"); InitCommand=cmd(y,-1;shadowlength,1;);
BeginCommand=function(self)
local top = SCREENMAN:GetTopScreen()
if top then
if not string.find(top:GetName(),"ScreenEvaluation") then
curStageIndex = curStageIndex + 1
end
end
self:playcommand("Set")
end;
SetCommand=function(self) SetCommand=function(self)
if GAMESTATE:GetCurrentCourse() then if GAMESTATE:GetCurrentCourse() then
self:settext( GAMESTATE:GetCurrentStageIndex()+1 .. " / " .. GAMESTATE:GetCurrentCourse():GetEstimatedNumStages() ); self:settext( curStageIndex+1 .. " / " .. GAMESTATE:GetCurrentCourse():GetEstimatedNumStages() );
elseif GAMESTATE:IsEventMode() then elseif GAMESTATE:IsEventMode() then
self:settextf("Stage %s", curStageIndex+1); self:settextf("Stage %s", curStageIndex);
else else
if THEME:GetMetric(curScreen,"StageDisplayUseShortString") then if THEME:GetMetric(curScreen,"StageDisplayUseShortString") then
self:settextf("%s", ToEnumShortString(curStage)); self:settextf("%s", ToEnumShortString(curStage));
+2
View File
@@ -3,3 +3,5 @@
FallbackTheme=default FallbackTheme=default
# Now you can edit or add things. ############################################## # Now you can edit or add things. ##############################################
[ScreenEdit]
EditModifiers="midi-note"
@@ -2,8 +2,12 @@ local t = LoadFallbackB();
-- --
t[#t+1] = StandardDecorationFromFileOptional("BannerFrame","BannerFrame"); t[#t+1] = StandardDecorationFromFileOptional("BannerFrame","BannerFrame");
t[#t+1] = StandardDecorationFromFileOptional("BPMDisplay","BPMDisplay"); t[#t+1] = StandardDecorationFromFileOptional("BPMDisplay","BPMDisplay");
t[#t+1] = StandardDecorationFromFileOptional("TimeDisplay","TimeDisplay");
t[#t+1] = StandardDecorationFromFileOptional("StageDisplay","StageDisplay"); t[#t+1] = StandardDecorationFromFileOptional("StageDisplay","StageDisplay");
-- StepsDisplay t[#t+1] = StandardDecorationFromFileOptional("SortDisplay","SortDisplay");
t[#t+1] = StandardDecorationFromFileOptional("DifficultyList","DifficultyList");
-- StepsDisplay creator
local function CreateStepsDisplay( _pn ) local function CreateStepsDisplay( _pn )
local function set(self, _pn) local function set(self, _pn)
self:SetFromGameState( _pn); self:SetFromGameState( _pn);
@@ -23,13 +27,6 @@ local function CreateStepsDisplay( _pn )
return t; return t;
end end
-- Create Background For Each Player
--[[ for pn in ivalues(PlayerNumber) do
local MetricsName = "PlayerFrame" .. PlayerNumberToString(pn)
t[#t+1] = LoadActor(THEME:GetPathG(Var "LoadingScreen","PlayerFrame")) .. {
InitCommand=function(self) self:player(pn); self:name(MetricsName); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
};
end ]]
-- Create StepsDisplay for each player -- Create StepsDisplay for each player
for pn in ivalues(PlayerNumber) do for pn in ivalues(PlayerNumber) do
local MetricsName = "StepsDisplay" .. PlayerNumberToString(pn); local MetricsName = "StepsDisplay" .. PlayerNumberToString(pn);
@@ -37,5 +34,10 @@ for pn in ivalues(PlayerNumber) do
InitCommand=function(self) self:player(pn); self:name(MetricsName); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end; InitCommand=function(self) self:player(pn); self:name(MetricsName); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
}; };
end end
-- Create PaneDisplay for each player
t[#t+1] = StandardDecorationFromFileOptional("PaneDisplay","PaneDisplay");
--[[ for pn in ivalues(PlayerNumber) do
local MetricsName = "PaneDisplay" .. PlayerNumberToString(pn);
t[#t+1] = StandardDecorationFromFileOptional(MetricsName,"PaneDisplay",PlayerNumber);
end ]]
return t; return t;
@@ -41,7 +41,7 @@ return Def.ActorFrame {
-- BPM Multiple Warning -- BPM Multiple Warning
Def.Quad { Def.Quad {
Name="BPMFlag"; Name="BPMFlag";
InitCommand=cmd(x,-32;y,4;basezoomx,24;basezoomy,4;fadeleft,0.2;faderight,0.2;diffuse,ThemeColor.Primary;thump,1;effectclock,'beatnooffset'); InitCommand=cmd(x,32;y,-8;basezoomx,24;basezoomy,4;fadeleft,0.2;faderight,0.2;diffuse,ThemeColor.Primary;thump,1;effectclock,'beatnooffset');
SingleBPMCommand=cmd(finishtweening;decelerate,0.1;zoom,0;zoomx,8;diffusealpha,0); SingleBPMCommand=cmd(finishtweening;decelerate,0.1;zoom,0;zoomx,8;diffusealpha,0);
MultipleBPMCommand=cmd(finishtweening;smooth,0.05;zoom,1;diffusealpha,1;); MultipleBPMCommand=cmd(finishtweening;smooth,0.05;zoom,1;diffusealpha,1;);
}; };
@@ -56,7 +56,7 @@ return Def.ActorFrame {
Name="BPMText"; Name="BPMText";
File=THEME:GetPathF("Common","Normal"); File=THEME:GetPathF("Common","Normal");
InitCommand=cmd(Load,"RollingNumbersBPMDisplay"); InitCommand=cmd(Load,"RollingNumbersBPMDisplay");
OnCommand=cmd(horizalign,left;x,-16); OnCommand=cmd(horizalign,left;x,-46;y,6;zoom,0.75;maxwidth,92/0.75;);
BeginCommand=cmd(playcommand,"Set"); BeginCommand=cmd(playcommand,"Set");
CurrentSongChangedMessageCommand=cmd(playcommand,"Set"); CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=function(self) SetCommand=function(self)
@@ -0,0 +1,7 @@
return Def.StepsDisplayList {
Name="StepsDisplayListRow";
CursorP1 = Def.ActorFrame {};
CursorP2 = Def.ActorFrame {};
CursorP1Frame = Def.Actor {};
CursorP2Frame = Def.Actor {};
};
@@ -0,0 +1,125 @@
local t = Def.ActorFrame {};
-- Background
t[#t+1] = Def.ActorFrame { Name="Background";
Def.Quad {
InitCommand=cmd(zoomto,320+8,96;diffuse,ThemeColor.Secondary);
};
};
-- Radar Text
local function RadarLabel( rc )
local t = Def.ActorFrame {};
--
t[#t+1] = LoadFont("Common Normal") .. {
Text=string.upper(THEME:GetString("RadarCategoryShort",ToEnumShortString(rc)));
InitCommand=cmd(shadowlength,1;zoom,0.675;horizalign,right);
};
--
return t;
end;
--
local function RadarItem( pn, rc )
local t = Def.ActorFrame {};
--
local function GetRadarValue( _rc, _pn )
if GAMESTATE:GetCurrentSteps( _pn ) then
local Steps = GAMESTATE:GetCurrentSteps( _pn );
local RadarValues = Steps:GetRadarValues( _pn );
local ThisValue = RadarValues:GetValue( _rc );
--
return tonumber(ThisValue);
else
return 0;
end;
end;
--
t[#t+1] = LoadFont("Common Normal") .. {
Text=string.format("%04i",GetRadarValue(rc,pn));
InitCommand=cmd(shadowlength,1;x,128;zoom,0.675;diffuse,PlayerColor(pn);playcommand,"Set");
SetCommand=function(self,params)
if params.Player == pn then
self:settextf("%04i",GetRadarValue(rc,pn));
end;
end;
};
--
t.CurrentSongChangedMessageCommand=function(self) self:playcommand("Set"); end;
t.CurrentCourseChangedMessageCommand=function(self) self:playcommand("Set"); end;
t.CurrentTrailP1ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_1}); end;
t.CurrentTrailP2ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_2}); end;
t.CurrentStepsP1ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_1}); end;
t.CurrentStepsP2ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_2}); end;
--
return t;
end;
--
local function RadarPercent( pn, rc )
local t = Def.ActorFrame {};
--
local function GetRadarValue( _rc, _pn )
if GAMESTATE:GetCurrentSteps( _pn ) then
local Steps = GAMESTATE:GetCurrentSteps( _pn );
local RadarValues = Steps:GetRadarValues( _pn );
local ThisValue = RadarValues:GetValue( _rc );
--
return tonumber(ThisValue);
else
return 0;
end;
end;
--
t[#t+1] = LoadFont("Common Normal") .. {
Text=string.format("%03i%%",math.floor(GetRadarValue(rc,pn)*100));
InitCommand=cmd(shadowlength,1;x,128;zoom,0.675;diffuse,PlayerColor(pn);playcommand,"Set");
SetCommand=function(self,params)
if params.Player == pn then
self:settextf("%03i%%",math.floor(GetRadarValue(rc,pn)*100));
end;
end;
};
--
t.CurrentSongChangedMessageCommand=function(self) self:playcommand("Set"); end;
t.CurrentCourseChangedMessageCommand=function(self) self:playcommand("Set"); end;
t.CurrentTrailP1ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_1}); end;
t.CurrentTrailP2ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_2}); end;
t.CurrentStepsP1ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_1}); end;
t.CurrentStepsP2ChangedMessageCommand=function(self) self:playcommand("Set",{ Player = PLAYER_2}); end;
--
return t;
end;
--
for index,rc in ipairs(RadarCategory) do
if index > 5 then
local VisualIndex = index-6
local VertOffset = ( VisualIndex % 4 ) * 16;
local HorizOffset = math.floor( (VisualIndex)/4 ) * 156;
t[#t+1] = Def.ActorFrame {
Name="RadarCategoryRow" .. tonumber(index-5);
InitCommand=cmd(x,-96+HorizOffset;y,-10+VertOffset);
--
RadarLabel(rc);
RadarItem(PLAYER_1, rc) .. { InitCommand=cmd(x,-96-8); };
RadarItem(PLAYER_2, rc) .. { InitCommand=cmd(x,-64+4); };
};
end
end;
--
for index,rc in ipairs(RadarCategory) do
if index < 6 then
local HorizOffset = (index-1) * 64;
t[#t+1] = Def.ActorFrame {
Name="RadarCategoryRow" .. tonumber(index-5);
InitCommand=cmd(x,-148+HorizOffset;y,-33);
--
RadarLabel(rc);
RadarPercent(PLAYER_1, rc) .. { InitCommand=cmd(x,-104;y,-7); };
RadarPercent(PLAYER_2, rc) .. { InitCommand=cmd(x,-104;y,7); };
};
end
end;
--
--[[ for index,rc in ipairs(RadarCategory) do
if index > 5 then
t[#t+1] = LoadFont("Common Normal") .. { Text=ToEnumShortString(rc); InitCommand=cmd(zoom,0.5;shadowlength,1;y,(index-5)*10); };
end
end; ]]
return t
@@ -1,17 +0,0 @@
return Def.ActorFrame {
CurrentSongChangedMessageCommand=function(self)
self:aux(0);
self:playcommand( GAMESTATE:GetCurrentSong():GetTimingData():HasBPMChanges() and "MultipleBPM" or "SingleBPM" );
end;
-- BPM Background
Def.Quad {
Name="BPMBackground";
InitCommand=cmd(zoomto,96,32;diffuse,ThemeColor.Secondary;shadowlength,2;shadowcolor,Color.Alpha(ColorDarkTone(ThemeColor.Primary),0.95));
};
-- BPM Label
LoadFont("Common Normal") .. {
Name="BPMLabel";
Text="Time";
InitCommand=cmd(x,-32;y,-8;zoom,0.5);
};
};
@@ -0,0 +1,25 @@
return Def.ActorFrame {
-- Time Background
Def.Quad {
Name="SortBackground";
InitCommand=cmd(zoomto,96,32;diffuse,ThemeColor.Secondary;shadowlength,2;shadowcolor,Color.Alpha(ColorDarkTone(ThemeColor.Primary),0.95));
};
-- Time Label
LoadFont("Common Normal") .. {
Name="SortLabel";
Text="SORT";
InitCommand=cmd(x,-32;y,-8;zoom,0.5);
};
-- Time Text
LoadFont("Common Normal") .. {
Name="SortText";
OnCommand=cmd(horizalign,left;x,-46;y,6;zoom,0.75;maxwidth,92/0.75;);
BeginCommand=cmd(playcommand,"Set");
SortOrderChangedMessageCommand=cmd(playcommand,"Set";);
SetCommand=function(self)
local s = SortOrderToLocalizedString( GAMESTATE:GetSortOrder() );
-- reset numbers
self:settext(s);
end;
};
};
@@ -0,0 +1,28 @@
return Def.ActorFrame {
-- Time Background
Def.Quad {
Name="TimeBackground";
InitCommand=cmd(zoomto,96,32;diffuse,ThemeColor.Secondary;shadowlength,2;shadowcolor,Color.Alpha(ColorDarkTone(ThemeColor.Primary),0.95));
};
-- Time Label
LoadFont("Common Normal") .. {
Name="TimeLabel";
Text="TIME";
InitCommand=cmd(x,-32;y,-8;zoom,0.5);
};
-- Time Text
LoadFont("Common Normal") .. {
Name="BPMText";
OnCommand=cmd(horizalign,left;x,-46;y,6;zoom,0.75;maxwidth,92/0.75;);
BeginCommand=cmd(playcommand,"Set");
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
SetCommand=function(self)
Song = GAMESTATE:GetCurrentSong();
Time = Song:GetStepsSeconds() or 0;
Minutes = math.floor( Time / 60 );
Seconds = tonumber(Time) - tonumber(Minutes*60);
-- reset numbers
self:settextf("%02i:%02i",Minutes,Seconds);
end;
};
};
@@ -2,11 +2,11 @@ local t = Def.ActorFrame {};
local function UpdateTriangleFrame(self) local function UpdateTriangleFrame(self)
local curBPS = GAMESTATE:GetSongBPS() and GAMESTATE:GetSongBPS() or 1; local curBPS = GAMESTATE:GetSongBPS() and GAMESTATE:GetSongBPS() or 1;
local c = self:GetChildren(); local c = self:GetChildren();
local auxRate = 6; local auxRate = 3;
-- --
c.TriangleFrame:aux( math.mod( c.TriangleFrame:getaux() + ( curBPS * auxRate ), 360) ); c.TriangleFrame:aux( math.mod( c.TriangleFrame:getaux() + ( curBPS * auxRate ), 360) );
c.TriangleFrame:rotationz( c.TriangleFrame:GetRotationZ() + ( curBPS * 1.5 ) ); c.TriangleFrame:rotationz( c.TriangleFrame:GetRotationZ() + ( curBPS * 0.75 ) );
c.TriangleFrame:zoom( 1.125 - ((c.TriangleFrame:getaux() / 360) * 0.5) ); c.TriangleFrame:zoom( 1.125 - ((c.TriangleFrame:getaux() / 360) * 0.35) );
-- c.TriangleFrame:x( math.cos( math.rad(c.TriangleFrame:getaux()) ) * 8 ); -- c.TriangleFrame:x( math.cos( math.rad(c.TriangleFrame:getaux()) ) * 8 );
-- c.TriangleFrame:y(math.sin( math.rad(c.TriangleFrame:getaux()) ) * 8); -- c.TriangleFrame:y(math.sin( math.rad(c.TriangleFrame:getaux()) ) * 8);
end; end;
@@ -10,7 +10,7 @@ local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame { t[#t+1] = Def.ActorFrame {
LoadActor(THEME:GetPathB("_frame","3x3"),"rounded black",160,20); LoadActor(THEME:GetPathB("_frame","3x3"),"rounded black",160,20);
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text=curStage .. " (" .. curStageIndex .. ")"; Text=StageToLocalizedString( curStage ) .. " Stage (" .. curStageIndex .. ")";
InitCommand=cmd(zoom,0.75;y,-2;shadowlength,1; InitCommand=cmd(zoom,0.75;y,-2;shadowlength,1;
diffuse,StageToColor(curStage); diffuse,StageToColor(curStage);
diffusetopedge,ColorLightTone(StageToColor(curStage)); diffusetopedge,ColorLightTone(StageToColor(curStage));
@@ -0,0 +1 @@
return Def.Quad {};
+95 -3
View File
@@ -51,6 +51,24 @@ BPMDisplayY=SCREEN_CENTER_Y-128-40
BPMDisplayOnCommand=draworder,115 BPMDisplayOnCommand=draworder,115
BPMDisplayOffCommand= BPMDisplayOffCommand=
# #
ShowTimeDisplay=true
TimeDisplayX=SCREEN_CENTER_X-256+96+4
TimeDisplayY=SCREEN_CENTER_Y-128-40
TimeDisplayOnCommand=draworder,115;
TimeDisplayOffCommand=
#
ShowSortDisplay=true
SortDisplayX=SCREEN_CENTER_X-256+96+96+8
SortDisplayY=SCREEN_CENTER_Y-128-40
SortDisplayOnCommand=draworder,115;
SortDisplayOffCommand=
#
ShowDifficultyList=true
DifficultyListX=SCREEN_CENTER_X-128-64-64-32;
DifficultyListY=SCREEN_CENTER_Y-96-32-4;
DifficultyListOnCommand=draworder,115;
DifficultyListOffCommand=
#
StepsDisplayP1X=SCREEN_CENTER_X-160 StepsDisplayP1X=SCREEN_CENTER_X-160
StepsDisplayP1Y=SCREEN_CENTER_Y+184 StepsDisplayP1Y=SCREEN_CENTER_Y+184
StepsDisplayP1OnCommand=draworder,155; StepsDisplayP1OnCommand=draworder,155;
@@ -61,6 +79,24 @@ StepsDisplayP2Y=SCREEN_CENTER_Y+184
StepsDisplayP2OnCommand=draworder,155; StepsDisplayP2OnCommand=draworder,155;
StepsDisplayP2OffCommand= StepsDisplayP2OffCommand=
# #
ShowPaneDisplay=true
PaneDisplayX=SCREEN_CENTER_X-128-32+4
PaneDisplayY=SCREEN_CENTER_Y
PaneDisplayOnCommand=
PaneDisplayOffCommand=
#
ShowPaneDisplayP1=true
PaneDisplayP1X=
PaneDisplayP1Y=
PaneDisplayP1OnCommand=
PaneDisplayP1OffCommand=
#
ShowPaneDisplayP2=true
PaneDisplayP2X=
PaneDisplayP2Y=
PaneDisplayP2OnCommand=
PaneDisplayP2OffCommand=
#
PlayerFrameP1X=SCREEN_CENTER_X-160 PlayerFrameP1X=SCREEN_CENTER_X-160
PlayerFrameP1Y=SCREEN_CENTER_Y+184 PlayerFrameP1Y=SCREEN_CENTER_Y+184
PlayerFrameP1OnCommand=draworder,155;diffuse,PlayerColor(PLAYER_1); PlayerFrameP1OnCommand=draworder,155;diffuse,PlayerColor(PLAYER_1);
@@ -75,8 +111,8 @@ TextFormat="%04.0f"
ApproachSeconds=0.25 ApproachSeconds=0.25
Commify=false Commify=false
LeadingZeroMultiplyColor=color("#777777FF") LeadingZeroMultiplyColor=color("#777777FF")
[RollingNumbersSongTime] [RollingNumbersTimeDisplay]
TextFormat="%02i:02i" TextFormat="%02f:02f"
ApproachSeconds=0.25 ApproachSeconds=0.25
Commify=false Commify=false
LeadingZeroMultiplyColor=color("#777777FF") LeadingZeroMultiplyColor=color("#777777FF")
@@ -205,7 +241,63 @@ ShowStepsType=false
StepsTypeX=-20-32 StepsTypeX=-20-32
StepsTypeY=7 StepsTypeY=7
StepsTypeOnCommand=zoom,0.45 StepsTypeOnCommand=zoom,0.45
[DifficultyList]
ItemsSpacingY=16
NumShownItems=5
[StepsDisplayListRow]
# TODO: Make this use DifficultyList?
CapitalizeDifficultyNames=false
NumShownItems=5
ItemsSpacingY=16
MoveCommand=
FrameX=
FrameY=
FrameOnCommand=zoomto,60,14;
FrameOffCommand=
FrameSetCommand=%function(self,param) \
if param.CustomDifficulty then \
self:diffuse(ColorMidTone( CustomDifficultyToColor(param.CustomDifficulty) )); \
else \
self:diffuse(color('1,1,1,1')); \
end; \
end;
#
NumTicks=10
MaxTicks=10
#
ShowMeter=true
MeterX=0
MeterOnCommand=zoom,0.75;
MeterSetCommand=%function(self,param) \
if param.CustomDifficulty then \
self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
end; \
end;
#
ShowDescription=false
DescriptionX=0
DescriptionOnCommand=0
DescriptionSetCommand=%function(self,param) \
if self:GetText() == "" then \
self:settext("Edit"); \
end; \
if param.CustomDifficulty then \
self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
end; \
end;
#
ShowAutogen=false
AutogenX=0
AutogenY=0
AutogenOnCommand=
#
ShowStepsType=false
StepsTypeX=0
StepsTypeY=0
StepsTypeOnCommand=
StepsTypeSetCommand=
[ScreenGameplay] [ScreenGameplay]
LifeP1OnCommand=draworder,105 LifeP1OnCommand=draworder,105
LifeP2OnCommand=draworder,105 LifeP2OnCommand=draworder,105
+2 -10
View File
@@ -45,23 +45,15 @@
<string>PRODUCT_VER_BARE</string> <string>PRODUCT_VER_BARE</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>Step</string> <string>Step</string>
<key>CFBundleURLTypes</key>
<array/>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>PRODUCT_VER_BARE</string> <string>PRODUCT_VER_BARE</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.music-games</string> <string>public.app-category.music-games</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>10.4.10</string> <string>10.5.10</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright 2001-2011</string> <string>Copyright 2001-2012</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>SMApplication</string> <string>SMApplication</string>
<key>NSServices</key>
<array/>
<key>UTExportedTypeDeclarations</key>
<array/>
<key>UTImportedTypeDeclarations</key>
<array/>
</dict> </dict>
</plist> </plist>
@@ -7857,49 +7857,6 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
2B17AB7513980FE0001AE57D /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_PREFIX_HEADER = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
HEADER_SEARCH_PATHS = "../extern/libpng/**";
INSTALL_PATH = /usr/local/lib;
OTHER_LDFLAGS = "";
PREBINDING = NO;
PRODUCT_NAME = "png-1.5.1-sm5";
USER_HEADER_SEARCH_PATHS = "";
};
name = Universal;
};
2B17AB7613980FE0001AE57D /* Debug */ = { 2B17AB7613980FE0001AE57D /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8030,48 +7987,6 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
2B17ABC313981522001AE57D /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_PREFIX_HEADER = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
HEADER_SEARCH_PATHS = "../extern/glew-1.5.8/include";
INSTALL_PATH = /usr/local/lib;
OTHER_LDFLAGS = "";
PREBINDING = NO;
PRODUCT_NAME = "glew-sm5";
USER_HEADER_SEARCH_PATHS = "";
};
name = Universal;
};
2B17ABC413981522001AE57D /* Debug */ = { 2B17ABC413981522001AE57D /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8121,6 +8036,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
@@ -8135,6 +8051,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -8161,6 +8078,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
@@ -8175,6 +8093,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -8197,50 +8116,11 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
2B17ABE313981757001AE57D /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = "";
GCC_PREFIX_HEADER = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INSTALL_PATH = /usr/local/lib;
OTHER_LDFLAGS = "";
PREBINDING = NO;
PRODUCT_NAME = "pcre-sm5";
};
name = Universal;
};
2B17ABE413981757001AE57D /* Debug */ = { 2B17ABE413981757001AE57D /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@@ -8258,6 +8138,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -8284,9 +8165,34 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INSTALL_PATH = /usr/local/lib; INSTALL_PATH = /usr/local/lib;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
@@ -8307,9 +8213,34 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INSTALL_PATH = /usr/local/lib; INSTALL_PATH = /usr/local/lib;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
@@ -8326,26 +8257,11 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
2BD6E10F13D78B37008443DB /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
INSTALL_PATH = /usr/local/lib;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)/../extern/zlib\"",
);
PRODUCT_NAME = "zlib-sm5";
};
name = Universal;
};
2BD6E11013D78B37008443DB /* Debug */ = { 2BD6E11013D78B37008443DB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@@ -8354,19 +8270,24 @@
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO; GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO; GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO; GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO; GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO; GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO; GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO; GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO; GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO; GCC_WARN_UNUSED_LABEL = NO;
@@ -8559,54 +8480,6 @@
}; };
name = Native; name = Native;
}; };
AA40D52909A08D650068C0D5 /* Universal */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = AA8B8C49091F48C000D14C5F /* product.xcconfig */;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SRCROOT)/Frameworks",
"$(SYSTEM_LIBRARY_DIR)/Frameworks",
"$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Versions/Current/Frameworks",
);
FULL_NAME = "$(PRODUCT_NAME).$(WRAPPER_EXTENSION)";
GCC_PREFIX_HEADER = "$(SRCROOT)/../src/archutils/Darwin/StepMania.pch";
GCC_PREPROCESSOR_DEFINITIONS = (
NO_MP3_SUPPORT,
WITHOUT_NETWORKING,
);
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../src",
"$(SRCROOT)/Frameworks/ffmpeg.framework/Headers",
"$(SRCROOT)/../src/vorbis",
"$(SRCROOT)/../src/libjpeg",
"$(SRCROOT)/../src/libpng/include",
"$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/A/Headers",
);
INFOPLIST_FILE = "Info-StepMania.plist";
INFOPLIST_PREFIX_HEADER = "$(SRCROOT)/../src/ProductInfo.h";
INFOPLIST_PREPROCESS = YES;
INFOPLIST_PREPROCESSOR_DEFINITIONS = "EXECUTABLE_NAME=\"$(PRODUCT_NAME)\"";
INSTALL_PATH = "$(HOME)/Applications";
LIBRARY_SEARCH_PATHS = (
"$(SRCROOT)/Libraries",
"$(SRCROOT)/build/$(CONFIGURATION)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
"\"$(SRCROOT)/../extern/mad-0.15.1b/msvc++/Release\"",
);
LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build\"";
OBJROOT = "$(SRCROOT)/build";
OTHER_CPLUSPLUSFLAGS = (
"-finline-limit=300",
"-fconstant-cfstrings",
"-fsingle-precision-constant",
"-fno-exceptions",
);
PRODUCT_NAME = StepMania;
SYMROOT = "$(SRCROOT)/..";
WRAPPER_EXTENSION = app;
};
name = Universal;
};
AA40D52A09A08D660068C0D5 /* Debug */ = { AA40D52A09A08D660068C0D5 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = AA8B8C49091F48C000D14C5F /* product.xcconfig */; baseConfigurationReference = AA8B8C49091F48C000D14C5F /* product.xcconfig */;
@@ -8675,24 +8548,6 @@
}; };
name = Native; name = Native;
}; };
AA7A2B9B0AE09BA50054C5BA /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_DYNAMIC_NO_PIC = YES;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = (
LUA_USE_MACOSX,
"$(value)",
);
INSTALL_PATH = "$(HOME)/bin";
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/build/$(CONFIGURATION)";
OBJROOT = "$(SRCROOT)/build";
PRODUCT_NAME = lua;
SYMROOT = "$(SRCROOT)/build";
};
name = Universal;
};
AA7A2B9C0AE09BA50054C5BA /* Debug */ = { AA7A2B9C0AE09BA50054C5BA /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8726,21 +8581,6 @@
}; };
name = Native; name = Native;
}; };
AA7A2BBB0AE09D4E0054C5BA /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_DYNAMIC_NO_PIC = YES;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = LUA_USE_MACOSX;
INSTALL_PATH = "$(HOME)/bin";
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/build/$(CONFIGURATION)";
OBJROOT = "$(SRCROOT)/build";
PRODUCT_NAME = luac;
SYMROOT = "$(SRCROOT)/build";
};
name = Universal;
};
AA7A2BBC0AE09D4E0054C5BA /* Debug */ = { AA7A2BBC0AE09D4E0054C5BA /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8763,13 +8603,6 @@
}; };
name = Native; name = Native;
}; };
AA7A2BBF0AE09D4E0054C5BA /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "all lua";
};
name = Universal;
};
AA7A2BC00AE09D4E0054C5BA /* Debug */ = { AA7A2BC00AE09D4E0054C5BA /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8796,21 +8629,6 @@
}; };
name = Native; name = Native;
}; };
AA7C89830B67447E00FD9940 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_DYNAMIC_NO_PIC = YES;
GCC_MODEL_TUNING = G5;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = "tommath-sm5";
SYMROOT = "$(SRCROOT)/build";
};
name = Universal;
};
AA7C89840B67447E00FD9940 /* Debug */ = { AA7C89840B67447E00FD9940 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8845,23 +8663,6 @@
}; };
name = Native; name = Native;
}; };
AA7C8B900B67464300FD9940 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
DEAD_CODE_STRIPPING = NO;
GCC_DYNAMIC_NO_PIC = YES;
GCC_ENABLE_CPP_RTTI = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
INSTALL_PATH = /usr/local/lib;
KEEP_PRIVATE_EXTERNS = YES;
PRODUCT_NAME = "tomcrypt-sm5";
SYMROOT = "$(SRCROOT)/build";
};
name = Universal;
};
AA7C8B910B67464300FD9940 /* Debug */ = { AA7C8B910B67464300FD9940 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -8955,42 +8756,6 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
AAA070AC0CE7B0E2005A3060 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
FPM = "";
"FPM[arch=i386]" = FPM_INTEL;
"FPM[arch=ppc]" = FPM_PPC;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_PREPROCESSOR_DEFINITIONS = (
"HAVE_ASSERT_H=1",
"HAVE_DLFCN_H=1",
"HAVE_ERRNO_H=1",
"HAVE_FORK=1",
"HAVE_INTTYPES_H=1",
"HAVE_LIMITS_H=1",
"HAVE_MEMORY_H=1",
"HAVE_WAITPID=1",
"SIZEOF_LONG=4",
"$(FPM)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
HEADER_SEARCH_PATHS = "$(SRCROOT)/../src/mad-0.15.1b";
INSTALL_PATH = /usr/local/lib;
PREBINDING = NO;
PRODUCT_NAME = "mad-sm5";
};
name = Universal;
};
AAA070AD0CE7B0E2005A3060 /* Debug */ = { AAA070AD0CE7B0E2005A3060 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -9417,125 +9182,6 @@
}; };
name = Native; name = Native;
}; };
AAE44A2B0965707500B025E5 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNKNOWN_PRAGMAS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LIBRARY_STYLE = Bundle;
MACOSX_DEPLOYMENT_TARGET = 10.5;
PRODUCT_NAME = version;
ZERO_LINK = NO;
};
name = Universal;
};
AAE44A2C0965707500B025E5 /* Universal */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = AA8B8C49091F48C000D14C5F /* product.xcconfig */;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
FULL_NAME = "$(PRODUCT_NAME).$(WRAPPER_EXTENSION)";
GCC_ENABLE_OBJC_EXCEPTIONS = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/../src/archutils/Darwin/StepMania.pch";
GCC_PREPROCESSOR_DEFINITIONS = _XOPEN_SOURCE;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../src",
"$(SRCROOT)/../Xcode/ffmpeg/include",
"$(SRCROOT)/../src/vorbis",
"$(SRCROOT)/../src/libjpeg",
"$(SRCROOT)/../src/libpng/include",
);
INFOPLIST_FILE = "Info-StepMania.plist";
INFOPLIST_PREFIX_HEADER = "$(SRCROOT)/../src/ProductInfo.h";
INFOPLIST_PREPROCESS = YES;
INFOPLIST_PREPROCESSOR_DEFINITIONS = "EXECUTABLE_NAME=\"$(PRODUCT_NAME)\"";
LIBRARY_SEARCH_PATHS = (
"$(SRCROOT)/../src",
"$(SRCROOT)/../src/ffmpeg/include",
"$(SRCROOT)/../src/vorbis",
"$(SRCROOT)/../src/libjpeg",
"$(SRCROOT)/../src/libpng/include",
);
LINKER_DISPLAYS_MANGLED_NAMES = NO;
MACOSX_DEPLOYMENT_TARGET = 10.5;
OBJROOT = "$(SRCROOT)/build";
OTHER_CPLUSPLUSFLAGS = (
"-finline-limit=300",
"-fconstant-cfstrings",
"-fno-exceptions",
"-falign-loops=16",
);
OTHER_LDFLAGS = "-lbz2";
PRODUCT_NAME = StepMania;
SYMROOT = "$(SRCROOT)/..";
WRAPPER_EXTENSION = app;
};
name = Universal;
};
AAE44A2D0965707500B025E5 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
BUILD_VARIANTS = normal;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
DEAD_CODE_STRIPPING = YES;
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "*.nib *.lproj *.framework *.gch *.xcode* (*) CVS .svn .hg .git";
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_FAST_MATH = NO;
GCC_FAST_OBJC_DISPATCH = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_STRICT_ALIASING = YES;
GCC_UNROLL_LOOPS = YES;
GCC_VERSION = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
GCC_WARN_MISSING_PARENTHESES = YES;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNKNOWN_PRAGMAS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/Libraries";
LINKER_DISPLAYS_MANGLED_NAMES = YES;
MACOSX_DEPLOYMENT_TARGET = 10.5;
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES;
SDKROOT = macosx10.6;
SHARED_PRECOMPS_DIR = "/Library/Caches/com.apple.Xcode.$(UID)/SharedPrecompiledHeaders/$(PRODUCT_NAME)/$(CONFIGURATION)";
STRIP_INSTALLED_PRODUCT = YES;
STRIP_STYLE = "non-global";
USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../extern/glew-1.5.8/include $(PROJECT_DIR)/../extern/jsoncpp/include";
};
name = Universal;
};
AAE781800AC7E3BF00AEFC64 /* Native */ = { AAE781800AC7E3BF00AEFC64 /* Native */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -9561,31 +9207,6 @@
}; };
name = Native; name = Native;
}; };
AAE781810AC7E3BF00AEFC64 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_DEBUGGING_SYMBOLS = full;
GCC_DYNAMIC_NO_PIC = YES;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_PREFIX_HEADER = "";
GCC_PREPROCESSOR_DEFINITIONS = (
"$(value)",
LUA_USE_MACOSX,
);
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
INSTALL_PATH = /usr/local/lib;
OBJROOT = "$(SRCROOT)/build";
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
PRODUCT_NAME = "lua-5.1-sm5";
SYMROOT = "$(SRCROOT)/build";
};
name = Universal;
};
AAE781820AC7E3BF00AEFC64 /* Debug */ = { AAE781820AC7E3BF00AEFC64 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@@ -9615,6 +9236,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
@@ -9628,6 +9250,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -9654,6 +9277,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
@@ -9667,6 +9291,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -9689,48 +9314,11 @@
}; };
name = PerformanceDebug; name = PerformanceDebug;
}; };
EE4FD26314A8EFE1002B5758 /* Universal */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO;
GCC_WARN_PROTOTYPE_CONVERSION = NO;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO;
GCC_WARN_UNDECLARED_SELECTOR = NO;
GCC_WARN_UNINITIALIZED_AUTOS = NO;
GCC_WARN_UNKNOWN_PRAGMAS = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_LABEL = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INSTALL_PATH = /usr/local/lib;
OTHER_LDFLAGS = "";
PRODUCT_NAME = "jpeg-sm5";
};
name = Universal;
};
EE4FD26414A8EFE1002B5758 /* Debug */ = { EE4FD26414A8EFE1002B5758 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_WARN_CXX0X_EXTENSIONS = NO;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@@ -9747,6 +9335,7 @@
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO;
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO;
GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_MISSING_PARENTHESES = NO;
@@ -9777,7 +9366,6 @@
buildConfigurations = ( buildConfigurations = (
2B17AB7313980FE0001AE57D /* Native */, 2B17AB7313980FE0001AE57D /* Native */,
2B17AB7413980FE0001AE57D /* PerformanceDebug */, 2B17AB7413980FE0001AE57D /* PerformanceDebug */,
2B17AB7513980FE0001AE57D /* Universal */,
2B17AB7613980FE0001AE57D /* Debug */, 2B17AB7613980FE0001AE57D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9788,7 +9376,6 @@
buildConfigurations = ( buildConfigurations = (
2B17ABC113981522001AE57D /* Native */, 2B17ABC113981522001AE57D /* Native */,
2B17ABC213981522001AE57D /* PerformanceDebug */, 2B17ABC213981522001AE57D /* PerformanceDebug */,
2B17ABC313981522001AE57D /* Universal */,
2B17ABC413981522001AE57D /* Debug */, 2B17ABC413981522001AE57D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9799,7 +9386,6 @@
buildConfigurations = ( buildConfigurations = (
2B17ABE113981757001AE57D /* Native */, 2B17ABE113981757001AE57D /* Native */,
2B17ABE213981757001AE57D /* PerformanceDebug */, 2B17ABE213981757001AE57D /* PerformanceDebug */,
2B17ABE313981757001AE57D /* Universal */,
2B17ABE413981757001AE57D /* Debug */, 2B17ABE413981757001AE57D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9810,7 +9396,6 @@
buildConfigurations = ( buildConfigurations = (
2BD6E10D13D78B37008443DB /* Native */, 2BD6E10D13D78B37008443DB /* Native */,
2BD6E10E13D78B37008443DB /* PerformanceDebug */, 2BD6E10E13D78B37008443DB /* PerformanceDebug */,
2BD6E10F13D78B37008443DB /* Universal */,
2BD6E11013D78B37008443DB /* Debug */, 2BD6E11013D78B37008443DB /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9821,7 +9406,6 @@
buildConfigurations = ( buildConfigurations = (
AA40D52809A08D650068C0D5 /* Native */, AA40D52809A08D650068C0D5 /* Native */,
AABF4DBD0CD37960005A3060 /* PerformanceDebug */, AABF4DBD0CD37960005A3060 /* PerformanceDebug */,
AA40D52909A08D650068C0D5 /* Universal */,
AA40D52A09A08D660068C0D5 /* Debug */, AA40D52A09A08D660068C0D5 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9832,7 +9416,6 @@
buildConfigurations = ( buildConfigurations = (
AA7A2B9A0AE09BA50054C5BA /* Native */, AA7A2B9A0AE09BA50054C5BA /* Native */,
AABF4DBF0CD37960005A3060 /* PerformanceDebug */, AABF4DBF0CD37960005A3060 /* PerformanceDebug */,
AA7A2B9B0AE09BA50054C5BA /* Universal */,
AA7A2B9C0AE09BA50054C5BA /* Debug */, AA7A2B9C0AE09BA50054C5BA /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9843,7 +9426,6 @@
buildConfigurations = ( buildConfigurations = (
AA7A2BBA0AE09D4E0054C5BA /* Native */, AA7A2BBA0AE09D4E0054C5BA /* Native */,
AABF4DC00CD37960005A3060 /* PerformanceDebug */, AABF4DC00CD37960005A3060 /* PerformanceDebug */,
AA7A2BBB0AE09D4E0054C5BA /* Universal */,
AA7A2BBC0AE09D4E0054C5BA /* Debug */, AA7A2BBC0AE09D4E0054C5BA /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9854,7 +9436,6 @@
buildConfigurations = ( buildConfigurations = (
AA7A2BBE0AE09D4E0054C5BA /* Native */, AA7A2BBE0AE09D4E0054C5BA /* Native */,
AABF4DC10CD37960005A3060 /* PerformanceDebug */, AABF4DC10CD37960005A3060 /* PerformanceDebug */,
AA7A2BBF0AE09D4E0054C5BA /* Universal */,
AA7A2BC00AE09D4E0054C5BA /* Debug */, AA7A2BC00AE09D4E0054C5BA /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9865,7 +9446,6 @@
buildConfigurations = ( buildConfigurations = (
AA7C89820B67447E00FD9940 /* Native */, AA7C89820B67447E00FD9940 /* Native */,
AABF4DC20CD37960005A3060 /* PerformanceDebug */, AABF4DC20CD37960005A3060 /* PerformanceDebug */,
AA7C89830B67447E00FD9940 /* Universal */,
AA7C89840B67447E00FD9940 /* Debug */, AA7C89840B67447E00FD9940 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9876,7 +9456,6 @@
buildConfigurations = ( buildConfigurations = (
AA7C8B8F0B67464300FD9940 /* Native */, AA7C8B8F0B67464300FD9940 /* Native */,
AABF4DC30CD37960005A3060 /* PerformanceDebug */, AABF4DC30CD37960005A3060 /* PerformanceDebug */,
AA7C8B900B67464300FD9940 /* Universal */,
AA7C8B910B67464300FD9940 /* Debug */, AA7C8B910B67464300FD9940 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9887,7 +9466,6 @@
buildConfigurations = ( buildConfigurations = (
AAA070AA0CE7B0E2005A3060 /* Native */, AAA070AA0CE7B0E2005A3060 /* Native */,
AAA070AB0CE7B0E2005A3060 /* PerformanceDebug */, AAA070AB0CE7B0E2005A3060 /* PerformanceDebug */,
AAA070AC0CE7B0E2005A3060 /* Universal */,
AAA070AD0CE7B0E2005A3060 /* Debug */, AAA070AD0CE7B0E2005A3060 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9898,7 +9476,6 @@
buildConfigurations = ( buildConfigurations = (
AAC8450D0856A19700A9FEAB /* Native */, AAC8450D0856A19700A9FEAB /* Native */,
AABF4DBC0CD37960005A3060 /* PerformanceDebug */, AABF4DBC0CD37960005A3060 /* PerformanceDebug */,
AAE44A2B0965707500B025E5 /* Universal */,
AA0AA8FE0963CF7700427F4D /* Debug */, AA0AA8FE0963CF7700427F4D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9909,7 +9486,6 @@
buildConfigurations = ( buildConfigurations = (
AAC845110856A19700A9FEAB /* Native */, AAC845110856A19700A9FEAB /* Native */,
AABF4DBB0CD37960005A3060 /* PerformanceDebug */, AABF4DBB0CD37960005A3060 /* PerformanceDebug */,
AAE44A2C0965707500B025E5 /* Universal */,
AA0AA8FF0963CF7700427F4D /* Debug */, AA0AA8FF0963CF7700427F4D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9920,7 +9496,6 @@
buildConfigurations = ( buildConfigurations = (
AAC845150856A19700A9FEAB /* Native */, AAC845150856A19700A9FEAB /* Native */,
AABF4DBA0CD37960005A3060 /* PerformanceDebug */, AABF4DBA0CD37960005A3060 /* PerformanceDebug */,
AAE44A2D0965707500B025E5 /* Universal */,
AA0AA9000963CF7700427F4D /* Debug */, AA0AA9000963CF7700427F4D /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9931,7 +9506,6 @@
buildConfigurations = ( buildConfigurations = (
AAE781800AC7E3BF00AEFC64 /* Native */, AAE781800AC7E3BF00AEFC64 /* Native */,
AABF4DBE0CD37960005A3060 /* PerformanceDebug */, AABF4DBE0CD37960005A3060 /* PerformanceDebug */,
AAE781810AC7E3BF00AEFC64 /* Universal */,
AAE781820AC7E3BF00AEFC64 /* Debug */, AAE781820AC7E3BF00AEFC64 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
@@ -9942,7 +9516,6 @@
buildConfigurations = ( buildConfigurations = (
EE4FD26114A8EFE1002B5758 /* Native */, EE4FD26114A8EFE1002B5758 /* Native */,
EE4FD26214A8EFE1002B5758 /* PerformanceDebug */, EE4FD26214A8EFE1002B5758 /* PerformanceDebug */,
EE4FD26314A8EFE1002B5758 /* Universal */,
EE4FD26414A8EFE1002B5758 /* Debug */, EE4FD26414A8EFE1002B5758 /* Debug */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
BIN
View File
Binary file not shown.
+2
View File
@@ -1351,6 +1351,7 @@ public:
static int x( T* p, lua_State *L ) { p->SetX(FArg(1)); return 0; } static int x( T* p, lua_State *L ) { p->SetX(FArg(1)); return 0; }
static int y( T* p, lua_State *L ) { p->SetY(FArg(1)); return 0; } static int y( T* p, lua_State *L ) { p->SetY(FArg(1)); return 0; }
static int z( T* p, lua_State *L ) { p->SetZ(FArg(1)); return 0; } static int z( T* p, lua_State *L ) { p->SetZ(FArg(1)); return 0; }
static int xy( T* p, lua_State *L ) { p->SetXY(FArg(1),FArg(2)); return 0; }
static int addx( T* p, lua_State *L ) { p->AddX(FArg(1)); return 0; } static int addx( T* p, lua_State *L ) { p->AddX(FArg(1)); return 0; }
static int addy( T* p, lua_State *L ) { p->AddY(FArg(1)); return 0; } static int addy( T* p, lua_State *L ) { p->AddY(FArg(1)); return 0; }
static int addz( T* p, lua_State *L ) { p->AddZ(FArg(1)); return 0; } static int addz( T* p, lua_State *L ) { p->AddZ(FArg(1)); return 0; }
@@ -1569,6 +1570,7 @@ public:
ADD_METHOD( x ); ADD_METHOD( x );
ADD_METHOD( y ); ADD_METHOD( y );
ADD_METHOD( z ); ADD_METHOD( z );
ADD_METHOD( xy );
ADD_METHOD( addx ); ADD_METHOD( addx );
ADD_METHOD( addy ); ADD_METHOD( addy );
ADD_METHOD( addz ); ADD_METHOD( addz );
+2
View File
@@ -1116,6 +1116,7 @@ public:
return 1; return 1;
} }
DEFINE_METHOD( IsRanking, IsRanking() ) DEFINE_METHOD( IsRanking, IsRanking() )
DEFINE_METHOD( AllSongsAreFixed, AllSongsAreFixed() )
LunaCourse() LunaCourse()
{ {
@@ -1146,6 +1147,7 @@ public:
ADD_METHOD( IsAnEdit ); ADD_METHOD( IsAnEdit );
ADD_METHOD( IsPlayableIn ); ADD_METHOD( IsPlayableIn );
ADD_METHOD( IsRanking ); ADD_METHOD( IsRanking );
ADD_METHOD( AllSongsAreFixed );
} }
}; };
+8 -1
View File
@@ -16,12 +16,17 @@ void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset
m_fYReverseOffsetPixels = fYReverseOffset; m_fYReverseOffsetPixels = fYReverseOffset;
const Style* pStyle = GAMESTATE->GetCurrentStyle(); const Style* pStyle = GAMESTATE->GetCurrentStyle();
const PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
NOTESKIN->SetPlayerNumber( pn );
// init arrows // init arrows
for( int c=0; c<pStyle->m_iColsPerPlayer; c++ ) for( int c=0; c<pStyle->m_iColsPerPlayer; c++ )
{ {
const RString &sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( c ); const RString &sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( c );
const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( c, pn );
NOTESKIN->SetGameController( GameI.controller );
m_bHoldShowing.push_back( TapNote::SubType_Invalid ); m_bHoldShowing.push_back( TapNote::SubType_Invalid );
m_bLastHoldShowing.push_back( TapNote::SubType_Invalid ); m_bLastHoldShowing.push_back( TapNote::SubType_Invalid );
@@ -87,8 +92,10 @@ void GhostArrowRow::Update( float fDeltaTime )
void GhostArrowRow::DrawPrimitives() void GhostArrowRow::DrawPrimitives()
{ {
for( unsigned c=0; c<m_Ghost.size(); c++ ) const Style* pStyle = GAMESTATE->GetCurrentStyle();
for( unsigned i=0; i<m_Ghost.size(); i++ )
{ {
const int c = pStyle->m_iColumnDrawOrder[i];
m_Ghost[c]->Draw(); m_Ghost[c]->Draw();
} }
} }
+2 -1
View File
@@ -209,7 +209,8 @@ void LightsManager::Update( float fDeltaTime )
int iSec = (int)RageTimer::GetTimeSinceStartFast(); int iSec = (int)RageTimer::GetTimeSinceStartFast();
int iTopIndex = iSec % 4; int iTopIndex = iSec % 4;
CabinetLight cl = CabinetLight_Invalid; // Aldo: Disabled this line, apparently it was a forgotten initialization
//CabinetLight cl = CabinetLight_Invalid;
switch( iTopIndex ) switch( iTopIndex )
{ {
+5
View File
@@ -246,6 +246,11 @@ void NoteDisplay::Load( int iColNum, const PlayerState* pPlayerState, float fYRe
m_pPlayerState = pPlayerState; m_pPlayerState = pPlayerState;
m_fYReverseOffsetPixels = fYReverseOffsetPixels; m_fYReverseOffsetPixels = fYReverseOffsetPixels;
const PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iColNum, pn );
NOTESKIN->SetPlayerNumber( pn );
NOTESKIN->SetGameController( GameI.controller );
const RString &sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( iColNum ); const RString &sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( iColNum );
cache->Load( sButton ); cache->Load( sButton );
+5
View File
@@ -2,6 +2,7 @@
#include "NoteSkinManager.h" #include "NoteSkinManager.h"
#include "RageFileManager.h" #include "RageFileManager.h"
#include "RageLog.h" #include "RageLog.h"
#include "GameInput.h"
#include "GameState.h" #include "GameState.h"
#include "Game.h" #include "Game.h"
#include "Style.h" #include "Style.h"
@@ -47,6 +48,8 @@ namespace
NoteSkinManager::NoteSkinManager() NoteSkinManager::NoteSkinManager()
{ {
m_pCurGame = NULL; m_pCurGame = NULL;
m_PlayerNumber = PlayerNumber_Invalid;
m_GameController = GameController_Invalid;
// Register with Lua. // Register with Lua.
{ {
@@ -378,6 +381,8 @@ bool NoteSkinManager::PushActorTemplate( Lua *L, const RString &sButton, const R
ASSERT( iter != g_mapNameToData.end() ); ASSERT( iter != g_mapNameToData.end() );
const NoteSkinData &data = iter->second; const NoteSkinData &data = iter->second;
LuaThreadVariable varPlayer( "Player", LuaReference::Create(m_PlayerNumber) );
LuaThreadVariable varController( "Controller", LuaReference::Create(m_GameController) );
LuaThreadVariable varButton( "Button", sButton ); LuaThreadVariable varButton( "Button", sButton );
LuaThreadVariable varElement( "Element", sElement ); LuaThreadVariable varElement( "Element", sElement );
LuaThreadVariable varSpriteOnly( "SpriteOnly", LuaReference::Create(bSpriteOnly) ); LuaThreadVariable varSpriteOnly( "SpriteOnly", LuaReference::Create(bSpriteOnly) );
+7 -1
View File
@@ -4,6 +4,7 @@
#include "Actor.h" #include "Actor.h"
#include "RageTypes.h" #include "RageTypes.h"
#include "PlayerNumber.h" #include "PlayerNumber.h"
#include "GameInput.h"
#include "IniFile.h" #include "IniFile.h"
class Game; class Game;
@@ -24,7 +25,8 @@ public:
void SetCurrentNoteSkin( const RString &sNoteSkin ) { m_sCurrentNoteSkin = sNoteSkin; } void SetCurrentNoteSkin( const RString &sNoteSkin ) { m_sCurrentNoteSkin = sNoteSkin; }
const RString &GetCurrentNoteSkin() { return m_sCurrentNoteSkin; } const RString &GetCurrentNoteSkin() { return m_sCurrentNoteSkin; }
void SetPlayerNumber( PlayerNumber pn ) { m_PlayerNumber = pn; }
void SetGameController( GameController gc ) { m_GameController = gc; }
RString GetPath( const RString &sButtonName, const RString &sElement ); RString GetPath( const RString &sButtonName, const RString &sElement );
bool PushActorTemplate( Lua *L, const RString &sButton, const RString &sElement, bool bSpriteOnly ); bool PushActorTemplate( Lua *L, const RString &sButton, const RString &sElement, bool bSpriteOnly );
Actor *LoadActor( const RString &sButton, const RString &sElement, Actor *pParent = NULL, bool bSpriteOnly = false ); Actor *LoadActor( const RString &sButton, const RString &sElement, Actor *pParent = NULL, bool bSpriteOnly = false );
@@ -46,6 +48,10 @@ protected:
void LoadNoteSkinDataRecursive( const RString &sNoteSkinName, NoteSkinData& data_out ); void LoadNoteSkinDataRecursive( const RString &sNoteSkinName, NoteSkinData& data_out );
RString m_sCurrentNoteSkin; RString m_sCurrentNoteSkin;
const Game* m_pCurGame; const Game* m_pCurGame;
// xxx: is this the best way to implement this? -freem
PlayerNumber m_PlayerNumber;
GameController m_GameController;
}; };
extern NoteSkinManager* NOTESKIN; // global and accessable from anywhere in our program extern NoteSkinManager* NOTESKIN; // global and accessable from anywhere in our program
+1 -1
View File
@@ -2618,7 +2618,7 @@ bool RageDisplay_Legacy::SupportsTextureFormat(PixelFormat pixfmt, bool bRealtim
return glColorTableEXT && glGetColorTableParameterivEXT; return glColorTableEXT && glGetColorTableParameterivEXT;
case GL_BGR: case GL_BGR:
case GL_BGRA: case GL_BGRA:
return GLEW_EXT_bgra; return !!GLEW_EXT_bgra;
default: default:
return true; return true;
} }
+1
View File
@@ -1,5 +1,6 @@
#include "global.h" #include "global.h"
#include "RageSoundReader_ThreadedBuffer.h" #include "RageSoundReader_ThreadedBuffer.h"
#include "RageUtil.h"
#include "RageTimer.h" #include "RageTimer.h"
#include "Foreach.h" #include "Foreach.h"
#include "RageLog.h" #include "RageLog.h"
+5
View File
@@ -19,6 +19,11 @@ void ReceptorArrow::Load( const PlayerState* pPlayerState, int iColNo )
m_pPlayerState = pPlayerState; m_pPlayerState = pPlayerState;
m_iColNo = iColNo; m_iColNo = iColNo;
const PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iColNo, pn );
NOTESKIN->SetPlayerNumber( pn );
NOTESKIN->SetGameController( GameI.controller );
RString sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( iColNo ); RString sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( iColNo );
m_pReceptor.Load( NOTESKIN->LoadActor(sButton, "Receptor") ); m_pReceptor.Load( NOTESKIN->LoadActor(sButton, "Receptor") );
this->AddChild( m_pReceptor ); this->AddChild( m_pReceptor );
+5 -1
View File
@@ -66,8 +66,12 @@ void ReceptorArrowRow::Update( float fDeltaTime )
void ReceptorArrowRow::DrawPrimitives() void ReceptorArrowRow::DrawPrimitives()
{ {
for( unsigned c=0; c<m_ReceptorArrow.size(); c++ ) const Style* pStyle = GAMESTATE->GetCurrentStyle();
for( unsigned i=0; i<m_ReceptorArrow.size(); i++ )
{
const int c = pStyle->m_iColumnDrawOrder[i];
m_ReceptorArrow[c]->Draw(); m_ReceptorArrow[c]->Draw();
}
} }
void ReceptorArrowRow::Step( int iCol, TapNoteScore score ) void ReceptorArrowRow::Step( int iCol, TapNoteScore score )
+1
View File
@@ -678,6 +678,7 @@ static void InitializeConfOptions()
ADD( ConfOption( "AutogenGroupCourses", MovePref<bool>, "Off","On" ) ); ADD( ConfOption( "AutogenGroupCourses", MovePref<bool>, "Off","On" ) );
ADD( ConfOption( "FastLoad", MovePref<bool>, "Off","On" ) ); ADD( ConfOption( "FastLoad", MovePref<bool>, "Off","On" ) );
ADD( ConfOption( "FastLoadAdditionalSongs", MovePref<bool>, "Off","On" ) );
// Background options // Background options
ADD( ConfOption( "RandomBackgroundMode", MovePref<RandomBackgroundMode>, "Off","Animations","Random Movies" ) ); ADD( ConfOption( "RandomBackgroundMode", MovePref<RandomBackgroundMode>, "Off","Animations","Random Movies" ) );
+9
View File
@@ -31,6 +31,7 @@ void ScreenWithMenuElements::Init()
{ {
PLAY_MUSIC.Load( m_sName, "PlayMusic" ); PLAY_MUSIC.Load( m_sName, "PlayMusic" );
MUSIC_ALIGN_BEAT.Load( m_sName, "MusicAlignBeat" ); MUSIC_ALIGN_BEAT.Load( m_sName, "MusicAlignBeat" );
DELAY_MUSIC_SECONDS.Load( m_sName, "DelayMusicSeconds" );
CANCEL_TRANSITIONS_OUT.Load( m_sName, "CancelTransitionsOut" ); CANCEL_TRANSITIONS_OUT.Load( m_sName, "CancelTransitionsOut" );
TIMER_SECONDS.Load( m_sName, "TimerSeconds" ); TIMER_SECONDS.Load( m_sName, "TimerSeconds" );
TIMER_METRICS_GROUP.Load( m_sName, "TimerMetricsGroup" ); TIMER_METRICS_GROUP.Load( m_sName, "TimerMetricsGroup" );
@@ -217,7 +218,11 @@ void ScreenWithMenuElements::StartPlayingMusic()
{ {
pmp.sFile = sMusicPathFromLua; pmp.sFile = sMusicPathFromLua;
pmp.bAlignBeat = MUSIC_ALIGN_BEAT; pmp.bAlignBeat = MUSIC_ALIGN_BEAT;
// TODO: load other params into pmp here -aj // TODO: load other params into pmp here -aj
if( DELAY_MUSIC_SECONDS > 0.0f )
pmp.fStartSecond = -DELAY_MUSIC_SECONDS;
SOUND->PlayMusic( pmp ); SOUND->PlayMusic( pmp );
} }
else else
@@ -238,6 +243,10 @@ void ScreenWithMenuElements::StartPlayingMusic()
{ {
pmp.sFile = m_sPathToMusic; pmp.sFile = m_sPathToMusic;
pmp.bAlignBeat = MUSIC_ALIGN_BEAT; pmp.bAlignBeat = MUSIC_ALIGN_BEAT;
if( DELAY_MUSIC_SECONDS > 0.0f )
pmp.fStartSecond = -DELAY_MUSIC_SECONDS;
SOUND->PlayMusic( pmp ); SOUND->PlayMusic( pmp );
} }
} }
+1
View File
@@ -49,6 +49,7 @@ protected:
ThemeMetric<bool> PLAY_MUSIC; ThemeMetric<bool> PLAY_MUSIC;
ThemeMetric<bool> MUSIC_ALIGN_BEAT; ThemeMetric<bool> MUSIC_ALIGN_BEAT;
ThemeMetric<float> DELAY_MUSIC_SECONDS;
ThemeMetric<bool> CANCEL_TRANSITIONS_OUT; ThemeMetric<bool> CANCEL_TRANSITIONS_OUT;
ThemeMetric<float> TIMER_SECONDS; ThemeMetric<float> TIMER_SECONDS;
ThemeMetric<RString> TIMER_METRICS_GROUP; ThemeMetric<RString> TIMER_METRICS_GROUP;
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+24
View File
@@ -234,6 +234,30 @@ Dialog::Result Dialog::AbortRetry( RString sMessage, RString sID )
return ret; return ret;
} }
Dialog::Result Dialog::YesNo( RString sMessage, RString sID )
{
Dialog::Init();
if( LOG )
LOG->Trace( "Dialog: \"%s\" [%s]", sMessage.c_str(), sID.c_str() );
if( sID != "" && MessageIsIgnored(sID) )
return g_NullDriver.YesNo( sMessage, sID );
RageThread::SetIsShowingDialog( true );
// only show Dialog if windowed
Dialog::Result ret;
if( DialogsEnabled() )
ret = g_pImpl->YesNo( sMessage, sID ); // call derived version
else
ret = g_NullDriver.YesNo( sMessage, sID );
RageThread::SetIsShowingDialog( false );
return ret;
}
/* /*
* (c) 2003-2004 Glenn Maynard, Chris Danford * (c) 2003-2004 Glenn Maynard, Chris Danford
* All rights reserved. * All rights reserved.
+2 -1
View File
@@ -10,12 +10,13 @@ namespace Dialog
void SetWindowed( bool bWindowed ); void SetWindowed( bool bWindowed );
enum Result { ok, cancel, abort, retry, ignore }; enum Result { ok, cancel, abort, retry, ignore, yes, no };
void Error( RString sError, RString sID = "" ); void Error( RString sError, RString sID = "" );
void OK( RString sMessage, RString sID = "" ); void OK( RString sMessage, RString sID = "" );
Result OKCancel( RString sMessage, RString sID = "" ); Result OKCancel( RString sMessage, RString sID = "" );
Result AbortRetryIgnore( RString sMessage, RString sID = "" ); Result AbortRetryIgnore( RString sMessage, RString sID = "" );
Result AbortRetry( RString sMessage, RString sID = "" ); Result AbortRetry( RString sMessage, RString sID = "" );
Result YesNo( RString sMessage, RString sID = "" );
/* for DialogDrivers */ /* for DialogDrivers */
void IgnoreMessage( RString sID ); void IgnoreMessage( RString sID );
+1
View File
@@ -14,6 +14,7 @@ public:
virtual Dialog::Result OKCancel( RString sMessage, RString sID ) { return Dialog::ok; } virtual Dialog::Result OKCancel( RString sMessage, RString sID ) { return Dialog::ok; }
virtual Dialog::Result AbortRetryIgnore( RString sMessage, RString sID ) { return Dialog::ignore; } virtual Dialog::Result AbortRetryIgnore( RString sMessage, RString sID ) { return Dialog::ignore; }
virtual Dialog::Result AbortRetry( RString sMessage, RString sID ) { return Dialog::abort; } virtual Dialog::Result AbortRetry( RString sMessage, RString sID ) { return Dialog::abort; }
virtual Dialog::Result YesNo( RString sMessage, RString sID ) { return Dialog::no; }
virtual RString Init() { return RString(); } virtual RString Init() { return RString(); }
virtual ~DialogDriver() { } virtual ~DialogDriver() { }
+42
View File
@@ -54,6 +54,27 @@ void DialogDriver_MacOSX::Error( RString sError, RString sID )
ShowAlert( kCFUserNotificationStopAlertLevel, sError, CFSTR("OK") ); ShowAlert( kCFUserNotificationStopAlertLevel, sError, CFSTR("OK") );
} }
Dialog::Result DialogDriver_MacOSX::OKCancel( RString sMessage, RString sID )
{
CFBundleRef bundle = CFBundleGetMainBundle();
CFStringRef sOK = LSTRING( bundle, "OK" );
CFStringRef sCancel = LSTRING( bundle, "Cancel" );
CFOptionFlags result = ShowAlert( kCFUserNotificationNoteAlertLevel, sMessage, sOK, sCancel );
CFRelease( sOK );
CFRelease( sCancel );
switch( result )
{
case kCFUserNotificationDefaultResponse:
case kCFUserNotificationCancelResponse:
return Dialog::cancel;
case kCFUserNotificationAlternateResponse:
return Dialog::ok;
default:
FAIL_M( ssprintf("Invalid response: %d.", int(result)) );
}
}
Dialog::Result DialogDriver_MacOSX::AbortRetryIgnore( RString sMessage, RString sID ) Dialog::Result DialogDriver_MacOSX::AbortRetryIgnore( RString sMessage, RString sID )
{ {
CFBundleRef bundle = CFBundleGetMainBundle(); CFBundleRef bundle = CFBundleGetMainBundle();
@@ -101,6 +122,27 @@ Dialog::Result DialogDriver_MacOSX::AbortRetry( RString sMessage, RString sID )
} }
} }
Dialog::Result DialogDriver_MacOSX::YesNo( RString sMessage, RString sID )
{
CFBundleRef bundle = CFBundleGetMainBundle();
CFStringRef sYes = LSTRING( bundle, "Yes" );
CFStringRef sNo = LSTRING( bundle, "No" );
CFOptionFlags result = ShowAlert( kCFUserNotificationNoteAlertLevel, sMessage, sYes, sNo );
CFRelease( sYes );
CFRelease( sNo );
switch( result )
{
case kCFUserNotificationDefaultResponse:
case kCFUserNotificationCancelResponse:
return Dialog::no;
case kCFUserNotificationAlternateResponse:
return Dialog::yes;
default:
FAIL_M( ssprintf("Invalid response: %d.", int(result)) );
}
}
/* /*
* (c) 2003-2006 Steve Checkoway * (c) 2003-2006 Steve Checkoway
* All rights reserved. * All rights reserved.
+2
View File
@@ -8,8 +8,10 @@ class DialogDriver_MacOSX: public DialogDriver
public: public:
void Error( RString sError, RString sID ); void Error( RString sError, RString sID );
void OK( RString sMessage, RString sID ); void OK( RString sMessage, RString sID );
Dialog::Result OKCancel( RString sMessage, RString sID );
Dialog::Result AbortRetryIgnore( RString sMessage, RString sID ); Dialog::Result AbortRetryIgnore( RString sMessage, RString sID );
Dialog::Result AbortRetry( RString sMessage, RString sID ); Dialog::Result AbortRetry( RString sMessage, RString sID );
Dialog::Result YesNo( RString sMessage, RString sID );
}; };
#define USE_DIALOG_DRIVER_COCOA #define USE_DIALOG_DRIVER_COCOA
+16
View File
@@ -263,6 +263,22 @@ Dialog::Result DialogDriver_Win32::AbortRetry( RString sMessage, RString sID )
} }
} }
Dialog::Result DialogDriver_Win32::YesNo( RString sMessage, RString sID )
{
int iRet = 0;
#if !defined(SMPACKAGE)
iRet = ::MessageBox(::GetHwnd(), ConvertUTF8ToACP(sMessage).c_str(), ConvertUTF8ToACP(::GetWindowTitle()).c_str(), MB_YESNO);
#else
iRet = ::AfxMessageBox( ConvertUTF8ToACP(sMessage).c_str(), MB_RETRYCANCEL, 0 );
#endif
switch( iRet )
{
case IDYES: return Dialog::yes;
default: ASSERT(0);
case IDNO: return Dialog::no;
}
}
/* /*
* (c) 2003-2004 Glenn Maynard, Chris Danford * (c) 2003-2004 Glenn Maynard, Chris Danford
* All rights reserved. * All rights reserved.
+1
View File
@@ -11,6 +11,7 @@ public:
Dialog::Result OKCancel( RString sMessage, RString sID ); Dialog::Result OKCancel( RString sMessage, RString sID );
Dialog::Result AbortRetryIgnore( RString sMessage, RString sID ); Dialog::Result AbortRetryIgnore( RString sMessage, RString sID );
Dialog::Result AbortRetry( RString sMessage, RString sID ); Dialog::Result AbortRetry( RString sMessage, RString sID );
Dialog::Result YesNo( RString sMessage, RString sID );
}; };
#endif #endif
@@ -4,7 +4,6 @@
#include "RageLog.h" #include "RageLog.h"
#include "RageUtil.h" #include "RageUtil.h"
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
@@ -135,7 +134,6 @@ void InputHandler_Linux_Joystick::InputThread()
continue; continue;
RageTimer now; RageTimer now;
printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n");
for(int i = 0; i < NUM_JOYSTICKS; ++i) for(int i = 0; i < NUM_JOYSTICKS; ++i)
{ {
if( fds[i] == -1 ) if( fds[i] == -1 )
+1 -1
View File
@@ -92,7 +92,7 @@ void LoadingWindow_Gtk::SetIcon( const RageSurface *pIcon )
void LoadingWindow_Gtk::SetSplash( const RString str ) void LoadingWindow_Gtk::SetSplash( const RString str )
{ {
Module_SetSplash( str ); Module_SetSplash( FILEMAN->ResolvePath(str) );
} }
void LoadingWindow_Gtk::SetProgress( const int progress ) void LoadingWindow_Gtk::SetProgress( const int progress )
+2
View File
@@ -106,8 +106,10 @@ typedef int int32_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
typedef __int64 int64_t; typedef __int64 int64_t;
typedef unsigned __int64 uint64_t; typedef unsigned __int64 uint64_t;
#if _MSC_VER < 1700 // 1700 = VC++ 2011
#define INT64_C(i) i##i64 #define INT64_C(i) i##i64
#define UINT64_C(i) i##i64 #define UINT64_C(i) i##i64
#endif // #if _MSC_VER < 1700
#if _MSC_VER < 1600 // 1600 = VC++ 2010 #if _MSC_VER < 1600 // 1600 = VC++ 2010
static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; } static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
#endif // #if _MSC_VER < 1600 #endif // #if _MSC_VER < 1600
+312
View File
@@ -0,0 +1,312 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-PGO|Win32">
<Configuration>Release-PGO</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-SSE2|Win32">
<Configuration>Release-SSE2</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>libtomcrypt</ProjectName>
<ProjectGuid>{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}</ProjectGuid>
<RootNamespace>libtomcrypt</RootNamespace>
<Keyword>Win32Proj</Keyword>
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and $(VisualStudioVersion) == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">$(Configuration)\</IntDir>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>src\headers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>src\headers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>src\headers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>src\headers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\ciphers\aes\aes.c" />
<ClCompile Include="src\misc\base64\base64_decode.c" />
<ClCompile Include="src\misc\base64\base64_encode.c" />
<ClCompile Include="src\misc\burn_stack.c" />
<ClCompile Include="src\modes\cbc\cbc_decrypt.c" />
<ClCompile Include="src\modes\cbc\cbc_done.c" />
<ClCompile Include="src\modes\cbc\cbc_encrypt.c" />
<ClCompile Include="src\modes\cbc\cbc_getiv.c" />
<ClCompile Include="src\modes\cbc\cbc_setiv.c" />
<ClCompile Include="src\modes\cbc\cbc_start.c" />
<ClCompile Include="src\modes\cfb\cfb_decrypt.c" />
<ClCompile Include="src\modes\cfb\cfb_done.c" />
<ClCompile Include="src\modes\cfb\cfb_encrypt.c" />
<ClCompile Include="src\modes\cfb\cfb_getiv.c" />
<ClCompile Include="src\modes\cfb\cfb_setiv.c" />
<ClCompile Include="src\modes\cfb\cfb_start.c" />
<ClCompile Include="src\misc\crypt\crypt.c" />
<ClCompile Include="src\misc\crypt\crypt_argchk.c" />
<ClCompile Include="src\misc\crypt\crypt_cipher_descriptor.c" />
<ClCompile Include="src\misc\crypt\crypt_cipher_is_valid.c" />
<ClCompile Include="src\misc\crypt\crypt_find_cipher.c" />
<ClCompile Include="src\misc\crypt\crypt_find_cipher_any.c" />
<ClCompile Include="src\misc\crypt\crypt_find_cipher_id.c" />
<ClCompile Include="src\misc\crypt\crypt_find_hash.c" />
<ClCompile Include="src\misc\crypt\crypt_find_hash_any.c" />
<ClCompile Include="src\misc\crypt\crypt_find_hash_id.c" />
<ClCompile Include="src\misc\crypt\crypt_find_hash_oid.c" />
<ClCompile Include="src\misc\crypt\crypt_find_prng.c" />
<ClCompile Include="src\misc\crypt\crypt_fsa.c" />
<ClCompile Include="src\misc\crypt\crypt_hash_descriptor.c" />
<ClCompile Include="src\misc\crypt\crypt_hash_is_valid.c" />
<ClCompile Include="src\misc\crypt\crypt_ltc_mp_descriptor.c" />
<ClCompile Include="src\misc\crypt\crypt_prng_descriptor.c" />
<ClCompile Include="src\misc\crypt\crypt_prng_is_valid.c" />
<ClCompile Include="src\misc\crypt\crypt_register_cipher.c" />
<ClCompile Include="src\misc\crypt\crypt_register_hash.c" />
<ClCompile Include="src\misc\crypt\crypt_register_prng.c" />
<ClCompile Include="src\misc\crypt\crypt_unregister_cipher.c" />
<ClCompile Include="src\misc\crypt\crypt_unregister_hash.c" />
<ClCompile Include="src\misc\crypt\crypt_unregister_prng.c" />
<ClCompile Include="src\modes\ctr\ctr_decrypt.c" />
<ClCompile Include="src\modes\ctr\ctr_done.c" />
<ClCompile Include="src\modes\ctr\ctr_encrypt.c" />
<ClCompile Include="src\modes\ctr\ctr_getiv.c" />
<ClCompile Include="src\modes\ctr\ctr_setiv.c" />
<ClCompile Include="src\modes\ctr\ctr_start.c" />
<ClCompile Include="src\modes\ctr\ctr_test.c" />
<ClCompile Include="src\pk\asn1\der\bit\der_decode_bit_string.c" />
<ClCompile Include="src\pk\asn1\der\boolean\der_decode_boolean.c" />
<ClCompile Include="src\pk\asn1\der\choice\der_decode_choice.c" />
<ClCompile Include="src\pk\asn1\der\ia5\der_decode_ia5_string.c" />
<ClCompile Include="src\pk\asn1\der\integer\der_decode_integer.c" />
<ClCompile Include="src\pk\asn1\der\object_identifier\der_decode_object_identifier.c" />
<ClCompile Include="src\pk\asn1\der\octet\der_decode_octet_string.c" />
<ClCompile Include="src\pk\asn1\der\printable_string\der_decode_printable_string.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_ex.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_flexi.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_multi.c" />
<ClCompile Include="src\pk\asn1\der\short_integer\der_decode_short_integer.c" />
<ClCompile Include="src\pk\asn1\der\utctime\der_decode_utctime.c" />
<ClCompile Include="src\pk\asn1\der\utf8\der_decode_utf8_string.c" />
<ClCompile Include="src\pk\asn1\der\bit\der_encode_bit_string.c" />
<ClCompile Include="src\pk\asn1\der\boolean\der_encode_boolean.c" />
<ClCompile Include="src\pk\asn1\der\ia5\der_encode_ia5_string.c" />
<ClCompile Include="src\pk\asn1\der\integer\der_encode_integer.c" />
<ClCompile Include="src\pk\asn1\der\object_identifier\der_encode_object_identifier.c" />
<ClCompile Include="src\pk\asn1\der\octet\der_encode_octet_string.c" />
<ClCompile Include="src\pk\asn1\der\printable_string\der_encode_printable_string.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_encode_sequence_ex.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_encode_sequence_multi.c" />
<ClCompile Include="src\pk\asn1\der\set\der_encode_set.c" />
<ClCompile Include="src\pk\asn1\der\set\der_encode_setof.c" />
<ClCompile Include="src\pk\asn1\der\short_integer\der_encode_short_integer.c" />
<ClCompile Include="src\pk\asn1\der\utctime\der_encode_utctime.c" />
<ClCompile Include="src\pk\asn1\der\utf8\der_encode_utf8_string.c" />
<ClCompile Include="src\pk\asn1\der\bit\der_length_bit_string.c" />
<ClCompile Include="src\pk\asn1\der\boolean\der_length_boolean.c" />
<ClCompile Include="src\pk\asn1\der\ia5\der_length_ia5_string.c" />
<ClCompile Include="src\pk\asn1\der\integer\der_length_integer.c" />
<ClCompile Include="src\pk\asn1\der\object_identifier\der_length_object_identifier.c" />
<ClCompile Include="src\pk\asn1\der\octet\der_length_octet_string.c" />
<ClCompile Include="src\pk\asn1\der\printable_string\der_length_printable_string.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_length_sequence.c" />
<ClCompile Include="src\pk\asn1\der\short_integer\der_length_short_integer.c" />
<ClCompile Include="src\pk\asn1\der\utctime\der_length_utctime.c" />
<ClCompile Include="src\pk\asn1\der\utf8\der_length_utf8_string.c" />
<ClCompile Include="src\pk\asn1\der\sequence\der_sequence_free.c" />
<ClCompile Include="src\pk\dsa\dsa_decrypt_key.c" />
<ClCompile Include="src\pk\dsa\dsa_encrypt_key.c" />
<ClCompile Include="src\pk\dsa\dsa_export.c" />
<ClCompile Include="src\pk\dsa\dsa_free.c" />
<ClCompile Include="src\pk\dsa\dsa_import.c" />
<ClCompile Include="src\pk\dsa\dsa_make_key.c" />
<ClCompile Include="src\pk\dsa\dsa_shared_secret.c" />
<ClCompile Include="src\pk\dsa\dsa_sign_hash.c" />
<ClCompile Include="src\pk\dsa\dsa_verify_hash.c" />
<ClCompile Include="src\pk\dsa\dsa_verify_key.c" />
<ClCompile Include="src\modes\ecb\ecb_decrypt.c" />
<ClCompile Include="src\modes\ecb\ecb_done.c" />
<ClCompile Include="src\modes\ecb\ecb_encrypt.c" />
<ClCompile Include="src\modes\ecb\ecb_start.c" />
<ClCompile Include="src\misc\error_to_string.c" />
<ClCompile Include="src\prngs\fortuna.c" />
<ClCompile Include="src\hashes\helper\hash_memory.c" />
<ClCompile Include="src\math\fp\ltc_ecc_fp_mulmod.c" />
<ClCompile Include="src\math\ltm_desc.c" />
<ClCompile Include="src\hashes\md5.c" />
<ClCompile Include="src\math\multi.c" />
<ClCompile Include="src\modes\ofb\ofb_decrypt.c" />
<ClCompile Include="src\modes\ofb\ofb_done.c" />
<ClCompile Include="src\modes\ofb\ofb_encrypt.c" />
<ClCompile Include="src\modes\ofb\ofb_getiv.c" />
<ClCompile Include="src\modes\ofb\ofb_setiv.c" />
<ClCompile Include="src\modes\ofb\ofb_start.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_i2osp.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_mgf1.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_oaep_decode.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_oaep_encode.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_os2ip.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_pss_decode.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_pss_encode.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_v1_5_decode.c" />
<ClCompile Include="src\pk\pkcs1\pkcs_1_v1_5_encode.c" />
<ClCompile Include="src\misc\pkcs5\pkcs_5_1.c" />
<ClCompile Include="src\misc\pkcs5\pkcs_5_2.c" />
<ClCompile Include="src\math\rand_prime.c" />
<ClCompile Include="src\prngs\rng_get_bytes.c" />
<ClCompile Include="src\prngs\rng_make_prng.c" />
<ClCompile Include="src\pk\rsa\rsa_decrypt_key.c" />
<ClCompile Include="src\pk\rsa\rsa_encrypt_key.c" />
<ClCompile Include="src\pk\rsa\rsa_export.c" />
<ClCompile Include="src\pk\rsa\rsa_exptmod.c" />
<ClCompile Include="src\pk\rsa\rsa_free.c" />
<ClCompile Include="src\pk\rsa\rsa_import.c" />
<ClCompile Include="src\pk\rsa\rsa_make_key.c" />
<ClCompile Include="src\pk\rsa\rsa_sign_hash.c" />
<ClCompile Include="src\pk\rsa\rsa_verify_hash.c" />
<ClCompile Include="src\hashes\sha1.c" />
<ClCompile Include="src\prngs\sprng.c" />
<ClCompile Include="src\prngs\yarrow.c" />
<ClCompile Include="src\misc\zeromem.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\headers\tomcrypt.h" />
<ClInclude Include="src\headers\tomcrypt_argchk.h" />
<ClInclude Include="src\headers\tomcrypt_cfg.h" />
<ClInclude Include="src\headers\tomcrypt_cipher.h" />
<ClInclude Include="src\headers\tomcrypt_custom.h" />
<ClInclude Include="src\headers\tomcrypt_hash.h" />
<ClInclude Include="src\headers\tomcrypt_mac.h" />
<ClInclude Include="src\headers\tomcrypt_macros.h" />
<ClInclude Include="src\headers\tomcrypt_math.h" />
<ClInclude Include="src\headers\tomcrypt_misc.h" />
<ClInclude Include="src\headers\tomcrypt_pk.h" />
<ClInclude Include="src\headers\tomcrypt_pkcs.h" />
<ClInclude Include="src\headers\tomcrypt_prng.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,478 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="src">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="src\headers">
<UniqueIdentifier>{ad1b2be2-aa3e-4683-8892-a9742e0e933a}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\ciphers\aes\aes.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\base64\base64_decode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\base64\base64_encode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\burn_stack.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_decrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_done.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_encrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_getiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_setiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cbc\cbc_start.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_decrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_done.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_encrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_getiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_setiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\cfb\cfb_start.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_argchk.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_cipher_descriptor.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_cipher_is_valid.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_cipher.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_cipher_any.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_cipher_id.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_hash_any.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_hash_id.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_hash_oid.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_find_prng.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_fsa.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_hash_descriptor.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_hash_is_valid.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_ltc_mp_descriptor.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_prng_descriptor.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_prng_is_valid.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_register_cipher.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_register_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_register_prng.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_unregister_cipher.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_unregister_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\crypt\crypt_unregister_prng.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_decrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_done.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_encrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_getiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_setiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_start.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ctr\ctr_test.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\bit\der_decode_bit_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\boolean\der_decode_boolean.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\choice\der_decode_choice.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\ia5\der_decode_ia5_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\integer\der_decode_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\object_identifier\der_decode_object_identifier.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\octet\der_decode_octet_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\printable_string\der_decode_printable_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_ex.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_flexi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_decode_sequence_multi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\short_integer\der_decode_short_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utctime\der_decode_utctime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utf8\der_decode_utf8_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\bit\der_encode_bit_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\boolean\der_encode_boolean.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\ia5\der_encode_ia5_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\integer\der_encode_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\object_identifier\der_encode_object_identifier.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\octet\der_encode_octet_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\printable_string\der_encode_printable_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_encode_sequence_ex.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_encode_sequence_multi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\set\der_encode_set.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\set\der_encode_setof.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\short_integer\der_encode_short_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utctime\der_encode_utctime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utf8\der_encode_utf8_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\bit\der_length_bit_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\boolean\der_length_boolean.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\ia5\der_length_ia5_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\integer\der_length_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\object_identifier\der_length_object_identifier.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\octet\der_length_octet_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\printable_string\der_length_printable_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_length_sequence.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\short_integer\der_length_short_integer.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utctime\der_length_utctime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\utf8\der_length_utf8_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\asn1\der\sequence\der_sequence_free.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_decrypt_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_encrypt_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_export.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_free.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_import.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_make_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_shared_secret.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_sign_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_verify_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\dsa\dsa_verify_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ecb\ecb_decrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ecb\ecb_done.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ecb\ecb_encrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ecb\ecb_start.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\error_to_string.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\prngs\fortuna.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\hashes\helper\hash_memory.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\math\fp\ltc_ecc_fp_mulmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\math\ltm_desc.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\hashes\md5.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\math\multi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_decrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_done.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_encrypt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_getiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_setiv.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\modes\ofb\ofb_start.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_i2osp.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_mgf1.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_oaep_decode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_oaep_encode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_os2ip.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_pss_decode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_pss_encode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_v1_5_decode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\pkcs1\pkcs_1_v1_5_encode.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\pkcs5\pkcs_5_1.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\pkcs5\pkcs_5_2.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\math\rand_prime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\prngs\rng_get_bytes.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\prngs\rng_make_prng.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_decrypt_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_encrypt_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_export.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_exptmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_free.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_import.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_make_key.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_sign_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\pk\rsa\rsa_verify_hash.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\hashes\sha1.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\prngs\sprng.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\prngs\yarrow.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\misc\zeromem.c">
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\headers\tomcrypt.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_argchk.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_cfg.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_cipher.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_custom.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_hash.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_mac.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_macros.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_math.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_misc.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_pk.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_pkcs.h">
<Filter>src\headers</Filter>
</ClInclude>
<ClInclude Include="src\headers\tomcrypt_prng.h">
<Filter>src\headers</Filter>
</ClInclude>
</ItemGroup>
</Project>
+280
View File
@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-PGO|Win32">
<Configuration>Release-PGO</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-SSE2|Win32">
<Configuration>Release-SSE2</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>libtommath</ProjectName>
<ProjectGuid>{FEDE5283-1518-4B1D-8124-5C54DB17EA57}</ProjectGuid>
<RootNamespace>libtommath</RootNamespace>
<Keyword>Win32Proj</Keyword>
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and $(VisualStudioVersion) == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">$(Configuration)\</IntDir>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-PGO|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-SSE2|Win32'">
<ClCompile>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level2</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="bn_error.c" />
<ClCompile Include="bn_fast_mp_invmod.c" />
<ClCompile Include="bn_fast_mp_montgomery_reduce.c" />
<ClCompile Include="bn_fast_s_mp_mul_digs.c" />
<ClCompile Include="bn_fast_s_mp_mul_high_digs.c" />
<ClCompile Include="bn_fast_s_mp_sqr.c" />
<ClCompile Include="bn_mp_2expt.c" />
<ClCompile Include="bn_mp_abs.c" />
<ClCompile Include="bn_mp_add.c" />
<ClCompile Include="bn_mp_add_d.c" />
<ClCompile Include="bn_mp_addmod.c" />
<ClCompile Include="bn_mp_and.c" />
<ClCompile Include="bn_mp_clamp.c" />
<ClCompile Include="bn_mp_clear.c" />
<ClCompile Include="bn_mp_clear_multi.c" />
<ClCompile Include="bn_mp_cmp.c" />
<ClCompile Include="bn_mp_cmp_d.c" />
<ClCompile Include="bn_mp_cmp_mag.c" />
<ClCompile Include="bn_mp_cnt_lsb.c" />
<ClCompile Include="bn_mp_copy.c" />
<ClCompile Include="bn_mp_count_bits.c" />
<ClCompile Include="bn_mp_div.c" />
<ClCompile Include="bn_mp_div_2.c" />
<ClCompile Include="bn_mp_div_2d.c" />
<ClCompile Include="bn_mp_div_3.c" />
<ClCompile Include="bn_mp_div_d.c" />
<ClCompile Include="bn_mp_dr_is_modulus.c" />
<ClCompile Include="bn_mp_dr_reduce.c" />
<ClCompile Include="bn_mp_dr_setup.c" />
<ClCompile Include="bn_mp_exch.c" />
<ClCompile Include="bn_mp_expt_d.c" />
<ClCompile Include="bn_mp_exptmod.c" />
<ClCompile Include="bn_mp_exptmod_fast.c" />
<ClCompile Include="bn_mp_exteuclid.c" />
<ClCompile Include="bn_mp_fread.c" />
<ClCompile Include="bn_mp_fwrite.c" />
<ClCompile Include="bn_mp_gcd.c" />
<ClCompile Include="bn_mp_get_int.c" />
<ClCompile Include="bn_mp_grow.c" />
<ClCompile Include="bn_mp_init.c" />
<ClCompile Include="bn_mp_init_copy.c" />
<ClCompile Include="bn_mp_init_multi.c" />
<ClCompile Include="bn_mp_init_set.c" />
<ClCompile Include="bn_mp_init_set_int.c" />
<ClCompile Include="bn_mp_init_size.c" />
<ClCompile Include="bn_mp_invmod.c" />
<ClCompile Include="bn_mp_invmod_slow.c" />
<ClCompile Include="bn_mp_is_square.c" />
<ClCompile Include="bn_mp_jacobi.c" />
<ClCompile Include="bn_mp_karatsuba_mul.c" />
<ClCompile Include="bn_mp_karatsuba_sqr.c" />
<ClCompile Include="bn_mp_lcm.c" />
<ClCompile Include="bn_mp_lshd.c" />
<ClCompile Include="bn_mp_mod.c" />
<ClCompile Include="bn_mp_mod_2d.c" />
<ClCompile Include="bn_mp_mod_d.c" />
<ClCompile Include="bn_mp_montgomery_calc_normalization.c" />
<ClCompile Include="bn_mp_montgomery_reduce.c" />
<ClCompile Include="bn_mp_montgomery_setup.c" />
<ClCompile Include="bn_mp_mul.c" />
<ClCompile Include="bn_mp_mul_2.c" />
<ClCompile Include="bn_mp_mul_2d.c" />
<ClCompile Include="bn_mp_mul_d.c" />
<ClCompile Include="bn_mp_mulmod.c" />
<ClCompile Include="bn_mp_n_root.c" />
<ClCompile Include="bn_mp_neg.c" />
<ClCompile Include="bn_mp_or.c" />
<ClCompile Include="bn_mp_prime_fermat.c" />
<ClCompile Include="bn_mp_prime_is_divisible.c" />
<ClCompile Include="bn_mp_prime_is_prime.c" />
<ClCompile Include="bn_mp_prime_miller_rabin.c" />
<ClCompile Include="bn_mp_prime_next_prime.c" />
<ClCompile Include="bn_mp_prime_rabin_miller_trials.c" />
<ClCompile Include="bn_mp_prime_random_ex.c" />
<ClCompile Include="bn_mp_radix_size.c" />
<ClCompile Include="bn_mp_radix_smap.c" />
<ClCompile Include="bn_mp_rand.c" />
<ClCompile Include="bn_mp_read_radix.c" />
<ClCompile Include="bn_mp_read_signed_bin.c" />
<ClCompile Include="bn_mp_read_unsigned_bin.c" />
<ClCompile Include="bn_mp_reduce.c" />
<ClCompile Include="bn_mp_reduce_2k.c" />
<ClCompile Include="bn_mp_reduce_2k_l.c" />
<ClCompile Include="bn_mp_reduce_2k_setup.c" />
<ClCompile Include="bn_mp_reduce_2k_setup_l.c" />
<ClCompile Include="bn_mp_reduce_is_2k.c" />
<ClCompile Include="bn_mp_reduce_is_2k_l.c" />
<ClCompile Include="bn_mp_reduce_setup.c" />
<ClCompile Include="bn_mp_rshd.c" />
<ClCompile Include="bn_mp_set.c" />
<ClCompile Include="bn_mp_set_int.c" />
<ClCompile Include="bn_mp_shrink.c" />
<ClCompile Include="bn_mp_signed_bin_size.c" />
<ClCompile Include="bn_mp_sqr.c" />
<ClCompile Include="bn_mp_sqrmod.c" />
<ClCompile Include="bn_mp_sqrt.c" />
<ClCompile Include="bn_mp_sub.c" />
<ClCompile Include="bn_mp_sub_d.c" />
<ClCompile Include="bn_mp_submod.c" />
<ClCompile Include="bn_mp_to_signed_bin.c" />
<ClCompile Include="bn_mp_to_signed_bin_n.c" />
<ClCompile Include="bn_mp_to_unsigned_bin.c" />
<ClCompile Include="bn_mp_to_unsigned_bin_n.c" />
<ClCompile Include="bn_mp_toom_mul.c" />
<ClCompile Include="bn_mp_toom_sqr.c" />
<ClCompile Include="bn_mp_toradix.c" />
<ClCompile Include="bn_mp_toradix_n.c" />
<ClCompile Include="bn_mp_unsigned_bin_size.c" />
<ClCompile Include="bn_mp_xor.c" />
<ClCompile Include="bn_mp_zero.c" />
<ClCompile Include="bn_prime_tab.c" />
<ClCompile Include="bn_reverse.c" />
<ClCompile Include="bn_s_mp_add.c" />
<ClCompile Include="bn_s_mp_exptmod.c" />
<ClCompile Include="bn_s_mp_mul_digs.c" />
<ClCompile Include="bn_s_mp_mul_high_digs.c" />
<ClCompile Include="bn_s_mp_sqr.c" />
<ClCompile Include="bn_s_mp_sub.c" />
<ClCompile Include="bncore.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="tommath.h" />
<ClInclude Include="tommath_class.h" />
<ClInclude Include="tommath_superclass.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,378 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="src">
<UniqueIdentifier>{d28820c7-38c7-477c-8993-1124bc2d2caf}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="bn_error.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_fast_mp_invmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_fast_mp_montgomery_reduce.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_fast_s_mp_mul_digs.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_fast_s_mp_mul_high_digs.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_fast_s_mp_sqr.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_2expt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_abs.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_add.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_add_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_addmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_and.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_clamp.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_clear.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_clear_multi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_cmp.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_cmp_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_cmp_mag.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_cnt_lsb.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_copy.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_count_bits.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_div.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_div_2.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_div_2d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_div_3.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_div_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_dr_is_modulus.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_dr_reduce.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_dr_setup.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_exch.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_expt_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_exptmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_exptmod_fast.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_exteuclid.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_fread.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_fwrite.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_gcd.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_get_int.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_grow.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init_copy.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init_multi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init_set.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init_set_int.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_init_size.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_invmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_invmod_slow.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_is_square.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_jacobi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_karatsuba_mul.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_karatsuba_sqr.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_lcm.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_lshd.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mod_2d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mod_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_montgomery_calc_normalization.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_montgomery_reduce.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_montgomery_setup.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mul.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mul_2.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mul_2d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mul_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_mulmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_n_root.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_neg.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_or.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_fermat.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_is_divisible.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_is_prime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_miller_rabin.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_next_prime.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_rabin_miller_trials.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_prime_random_ex.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_radix_size.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_radix_smap.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_rand.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_read_radix.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_read_signed_bin.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_read_unsigned_bin.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_2k.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_2k_l.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_2k_setup.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_2k_setup_l.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_is_2k.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_is_2k_l.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_reduce_setup.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_rshd.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_set.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_set_int.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_shrink.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_signed_bin_size.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_sqr.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_sqrmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_sqrt.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_sub.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_sub_d.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_submod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_to_signed_bin.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_to_signed_bin_n.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_to_unsigned_bin.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_to_unsigned_bin_n.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_toom_mul.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_toom_sqr.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_toradix.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_toradix_n.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_unsigned_bin_size.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_xor.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_mp_zero.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_prime_tab.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_reverse.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_add.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_exptmod.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_mul_digs.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_mul_high_digs.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_sqr.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bn_s_mp_sub.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="bncore.c">
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="tommath.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="tommath_class.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="tommath_superclass.h">
<Filter>src</Filter>
</ClInclude>
</ItemGroup>
</Project>
+45
View File
@@ -0,0 +1,45 @@
Microsoft Visual Studio Solution File, Format Version 11.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sm-ssc", "StepMania-net2011.vcxproj", "{AF209DBD-24BD-4356-8DFE-41751B221195}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtommath", "libtommath\libtommath-net2011.vcxproj", "{FEDE5283-1518-4B1D-8124-5C54DB17EA57}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtomcrypt", "libtomcrypt\libtomcrypt-net2011.vcxproj", "{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
FastDebug|Win32 = FastDebug|Win32
Release|Win32 = Release|Win32
Release-SSE2|Win32 = Release-SSE2|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AF209DBD-24BD-4356-8DFE-41751B221195}.Debug|Win32.ActiveCfg = Debug|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.Debug|Win32.Build.0 = Debug|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.FastDebug|Win32.ActiveCfg = FastDebug|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.FastDebug|Win32.Build.0 = FastDebug|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.Release|Win32.ActiveCfg = Release|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.Release|Win32.Build.0 = Release|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.Release-SSE2|Win32.ActiveCfg = Release-SSE2|Win32
{AF209DBD-24BD-4356-8DFE-41751B221195}.Release-SSE2|Win32.Build.0 = Release-SSE2|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Debug|Win32.ActiveCfg = Debug|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Debug|Win32.Build.0 = Debug|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.FastDebug|Win32.ActiveCfg = Debug|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.FastDebug|Win32.Build.0 = Debug|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Release|Win32.ActiveCfg = Release|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Release|Win32.Build.0 = Release|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Release-SSE2|Win32.ActiveCfg = Release-SSE2|Win32
{FEDE5283-1518-4B1D-8124-5C54DB17EA57}.Release-SSE2|Win32.Build.0 = Release-SSE2|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Debug|Win32.ActiveCfg = Debug|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Debug|Win32.Build.0 = Debug|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.FastDebug|Win32.ActiveCfg = Debug|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.FastDebug|Win32.Build.0 = Debug|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release|Win32.ActiveCfg = Release|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release|Win32.Build.0 = Release|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release-SSE2|Win32.ActiveCfg = Release-SSE2|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release-SSE2|Win32.Build.0 = Release-SSE2|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal