blob: 16454265439a33f6650fb0df151b0c79f14607a0 (
plain) (
tree)
|
|
� �
�u6/�6A � <pClasses\UScores.pasc�06 dSQLiteTable3/�6A fTSQLiteDatabase�Jg.TSQLiteDatabasej�x�gTSQLiteDatabase.Createv
�5gTSQLiteDatabase.TableExists�
�5gTSQLiteDatabase.ExecSQLy
�5fTSQLiteTable��gTSQLiteDatabase.GetTablex
�5gTSQLiteTable.GetEOF
s��gTSQLiteTable.GetFieldIndexs��gTSQLiteTable.FieldAsStrings��gTSQLiteTable.Nexts��gTSQLiteDatabase.GetTableValuez
�5cdUSongs/�6A fTSongH�G�f.3����cdSysInit�C�� cdSystem�C�� fString���f
AnsiString���fInteger���
g@LStrAsg�4�g@HandleFinallyE�a�fByte7c�g SetLength gLength g@DynArrayLengthE�a�gHigh g
@DynArrayHighE�a�g @LStrCatNE�a�g@DynArraySetLengthE�a�g@HandleAnyExceptionE�a�g@DoneExceptE�a�g
@LStrArrayClrzY��gExit g@LStrAddRef��jg@TryFinallyExitE�a�g@LStrClrѨ}�ceSysUtils�C�� gStrToInt��gIntToStri5�ceIniFiles�C�� c4UScores�iif@c4USongs c4SQLiteTable3 c ScoreDB摰 sFilename�:� .1f 4IniFiles Vc4SysUtils Pc( InitScore���ʨ � !Filenamec( ReadScore��|�� 1 "Songf� TableData Difc(AddScore����g � "Song!Level
!Namef�!Score& ID TableDatac(
WriteScore��|�� "Song c(Finalization�E�a� t! c�(UScores� !c��D ����P@ l]+U��S�؋˲� � � � ��� 3�Uh� d�0d� �� � � ��u�� � � �P � � ��u�d � � 3�ZYYd�h� �� ��[]� ���� US_Scores ����� CREATE TABLE `US_Scores` (`SongID` INT( 11 ) NOT NULL , `Difficulty` INT( 1 ) NOT NULL , `Player` VARCHAR( 150 ) NOT NULL , `Score` INT( 5 ) NOT NULL ); ���� US_Songs ����x CREATE TABLE `US_Songs` (`ID` INTEGER PRIMARY KEY, `Artist` VARCHAR( 255 ) NOT NULL , `Title` VARCHAR( 255 ) NOT NULL ); U��3�QQQQQSVW�E�3�UhS d�0d� 3�Uh1 d�0d� 3�Uh� d�0d� hl �E��p h� �E��ph �E�� � �U�� � ��j �E� � � � ��j �E� � � � ��j �E� � � � ���� �@ ��� �ЍM��� �E�� ���� ���� ����� �E���� � @P�E���� � � � ��3��ËU���� � �@�U���� ��P�T ��� �ЍM���� �U�X� �d ��� �ЍM��� �E�� P3��ËU���� � �@�U���� Y�L���� ��� �������3�ZYYd��B� ��u��� j�ƹ � � ������t � ����u�� 3�ZYYd�h8 �� ��3�ZYYd�hZ �E� � �� ��_^[��]� ����x SELECT `Difficulty`, `Player`, `Score` FROM `us_scores` WHERE `SongID` = (SELECT `ID` FROM `us_songs` WHERE `Artist` = "
|