Fixed plib-related compile errors (hopefully for good)

This commit is contained in:
Chris Danford
2002-12-11 11:17:12 +00:00
parent 4d620ac88f
commit 48970a9cb6
8 changed files with 56 additions and 6 deletions
+34 -1
View File
@@ -2,6 +2,34 @@
Fix
/////////////////////////
note coloring in graphic, NoteColor with add?
remove shadow from everywhere
separate credits screen
handle demonstration in a more graceful way
reset titlemenu timeout if button pressed
new Message/Object system
replace Mini -> Zoom
sort ini before writing
autoplay and tick icons
autogen and edit icon
dynamically sized NoteData
replace judge window prefs with window* and WindowScale
email about voodoo3 card at home
BGAnimation speed with different song rates
remove 4x diffuse colors
change noteskin format (get rid of .colors)
@@ -53,10 +81,15 @@ I'll abbreviate a course file I did:
The problem is on song 2, it still gets the 0.5x and dizzy modifiers. Shouldn't they be reset for the 2nd song?
better documentation
performane issues
ready, here we go closer to start (dive into the night)
cheer on gameplay start
break cheer into separate trigger
ready, here we go closer to start (ButterFly)
long ver balloon
+6
View File
@@ -726,3 +726,9 @@ Theme=Choose from this list of installed theme packs.::For more information abou
NoteSkin=Choose from this list of installed note skins.::For more information about creating a note skin, see the README.
HowToPlay=Toggle whether the How To Play screen is shown.
[ScreenNetworkWaiting]
ServerInfoX=320
ServerInfoY=120
PlayerListX=320
PlayerListY=280
HelpText=Press Up to join, Down to unjoin.::Wait for more players to enter the game before joining.
+5
View File
@@ -14,8 +14,13 @@
#include "RageMath.h"
#include "RageTypes.h"
#ifdef _DEBUG
#pragma comment(lib, "plib-1.6.0/sg_d.lib")
#pragma comment(lib, "plib-1.6.0/ul_d.lib")
#else
#pragma comment(lib, "plib-1.6.0/sg.lib")
#pragma comment(lib, "plib-1.6.0/ul.lib")
#endif
void RageVec2Normalize( RageVector2* pOut, const RageVector2* pV )
{
+2 -2
View File
@@ -756,7 +756,7 @@ float calc_stddev(const float *start, const float *end)
return dev;
}
void TrimLeft(string &str, const char *s)
void TrimLeft(CString &str, const char *s)
{
int n = 0;
while(n < int(str.size()) && strchr(s, str[n]))
@@ -765,7 +765,7 @@ void TrimLeft(string &str, const char *s)
str.erase(str.begin(), str.begin()+n);
}
void TrimRight(string &str, const char *s)
void TrimRight(CString &str, const char *s)
{
int n = str.size();
while(n > 0 && strchr(s, str[n-1]))
+8 -3
View File
@@ -29,10 +29,15 @@ inline int RECTCENTERX(RECT rect) { return rect.left + (rect.right-rect.left)/2;
inline int RECTCENTERY(RECT rect) { return rect.top + (rect.bottom-rect.top)/2; }
/* Common harmless mismatches. */
#ifndef min
inline float min(float a, int b) { return a < b? a:b; }
inline float max(float a, int b) { return a > b? a:b; }
inline float min(int a, float b) { return a < b? a:b; }
#endif
#ifndef max
inline float max(float a, int b) { return a > b? a:b; }
inline float max(int a, float b) { return a > b? a:b; }
#endif
/* Traditional defines. Only use this if you absolutely need
* a constant value. */
@@ -187,8 +192,8 @@ HINSTANCE GotoURL(const char *url);
float calc_mean(const float *start, const float *end);
float calc_stddev(const float *start, const float *end);
void TrimLeft(string &str, const char *s = "\r\n\t ");
void TrimRight(string &str, const char *s = "\r\n\t ");
void TrimLeft(CString &str, const char *s = "\r\n\t ");
void TrimRight(CString &str, const char *s = "\r\n\t ");
/* Fix Windows breakage ... */
#ifdef WIN32
+1
View File
@@ -66,6 +66,7 @@ const CString CREDIT_LINES[] =
"",
"TESTING:",
"Gotetsu",
"spds (James Sanders)",
"",
"",
"",
Binary file not shown.
Binary file not shown.