Changeset 79 for branches


Ignore:
Timestamp:
05/04/2007 07:30:35 PM (5 years ago)
Author:
guyru
Message:

Patched source-code for portable edition

Location:
branches/openyahtzee1.7PE
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/openyahtzee1.7PE/Makefile.cvs

    r64 r79  
    44        aclocal 
    55        autoheader 
    6         automake 
     6        libtoolize --automake --force --copy 
     7        automake -a -c 
    78        autoconf 
    8  
  • branches/openyahtzee1.7PE/Makefile.in

    r35 r79  
    4040        $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ 
    4141        TODO config.guess config.sub depcomp install-sh ltmain.sh \ 
    42         missing mkinstalldirs 
     42        missing 
    4343subdir = . 
    4444ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
     
    4848am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 
    4949 configure.lineno configure.status.lineno 
    50 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 
     50mkinstalldirs = $(install_sh) -d 
    5151CONFIG_HEADER = config.h 
    5252CONFIG_CLEAN_FILES = 
  • branches/openyahtzee1.7PE/openyahtzee.kdevelop

    r62 r79  
    223223    <custom>false</custom> 
    224224    <bzip>false</bzip> 
    225     <archname></archname> 
     225    <archname/> 
    226226    <appname>OpenYahtzee</appname> 
    227227    <version>1.7</version> 
    228     <release></release> 
     228    <release/> 
    229229    <vendor>Guy Rutenberg</vendor> 
    230230    <licence>GPL</licence> 
    231     <summary></summary> 
    232     <group></group> 
    233     <packager></packager> 
    234     <description></description> 
    235     <changelog></changelog> 
     231    <summary/> 
     232    <group/> 
     233    <packager/> 
     234    <description/> 
     235    <changelog/> 
    236236    <devpackage>false</devpackage> 
    237237    <docspackage>false</docspackage> 
     
    242242    <ftpkde>false</ftpkde> 
    243243    <appskde>false</appskde> 
    244     <url></url> 
     244    <url/> 
    245245  </dist> 
    246246</kdevelop> 
  • branches/openyahtzee1.7PE/openyahtzee.kdevelop.pcs

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    • Property svn:mime-type set to application/octet-stream
  • branches/openyahtzee1.7PE/openyahtzee.kdevses

    r62 r79  
    22<!DOCTYPE KDevPrjSession> 
    33<KDevPrjSession> 
    4  <DocsAndViews NumberOfDocuments="16" > 
    5   <Doc0 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDB.h" > 
    6    <View0 Type="Source" /> 
     4 <DocsAndViews NumberOfDocuments="10" > 
     5  <Doc0 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/openyahtzee.cpp" > 
     6   <View0 line="0" Type="Source" /> 
    77  </Doc0> 
    8   <Doc1 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/openyahtzee.cpp" > 
    9    <View0 Type="Source" /> 
     8  <Doc1 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/MainFrame.cpp" > 
     9   <View0 line="311" Type="Source" /> 
    1010  </Doc1> 
    11   <Doc2 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/MainFrame.cpp" > 
    12    <View0 Type="Source" /> 
     11  <Doc2 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/HighScoreTableDB.cpp" > 
     12   <View0 line="34" Type="Source" /> 
    1313  </Doc2> 
    14   <Doc3 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/ObjectsID.h" > 
    15    <View0 Type="Source" /> 
     14  <Doc3 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/DBwrapper.cpp" > 
     15   <View0 line="0" Type="Source" /> 
    1616  </Doc3> 
    17   <Doc4 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/MainFrame.h" > 
    18    <View0 Type="Source" /> 
     17  <Doc4 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/DBwrapper.h" > 
     18   <View0 line="0" Type="Source" /> 
    1919  </Doc4> 
    20   <Doc5 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/DBwrapper.h" > 
    21    <View0 Type="Source" /> 
     20  <Doc5 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/SettingsDB.cpp" > 
     21   <View0 line="32" Type="Source" /> 
    2222  </Doc5> 
    23   <Doc6 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreTableDB.cpp" > 
    24    <View0 Type="Source" /> 
     23  <Doc6 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/SettingsDialog.h" > 
     24   <View0 line="0" Type="Source" /> 
    2525  </Doc6> 
    26   <Doc7 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDialog.cpp" > 
    27    <View0 Type="Source" /> 
     26  <Doc7 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/HighScoreTableDB.h" > 
     27   <View0 line="40" Type="Source" /> 
    2828  </Doc7> 
    29   <Doc8 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDB.cpp" > 
    30    <View0 Type="Source" /> 
     29  <Doc8 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/SettingsDB.h" > 
     30   <View0 line="40" Type="Source" /> 
    3131  </Doc8> 
    32   <Doc9 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreTableDB.h" > 
    33    <View0 Type="Source" /> 
     32  <Doc9 NumberOfViews="1" URL="file:///home/guy/workspace/openyahtzee/branches/openyahtzee1.7PE/src/HighScoreDialog.h" > 
     33   <View0 line="0" Type="Source" /> 
    3434  </Doc9> 
    35   <Doc10 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreDialog.cpp" > 
    36    <View0 Type="Source" /> 
    37   </Doc10> 
    38   <Doc11 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDialog.h" > 
    39    <View0 Type="Source" /> 
    40   </Doc11> 
    41   <Doc12 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/wxDynamicBitmap.cpp" > 
    42    <View0 Type="Source" /> 
    43   </Doc12> 
    44   <Doc13 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/DBwrapper.cpp" > 
    45    <View0 Type="Source" /> 
    46   </Doc13> 
    47   <Doc14 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/wxDynamicBitmap.h" > 
    48    <View0 Type="Source" /> 
    49   </Doc14> 
    50   <Doc15 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/openyahtzee.rc" > 
    51    <View0 line="0" Type="Source" /> 
    52   </Doc15> 
    5335 </DocsAndViews> 
    5436 <pluginList> 
  • branches/openyahtzee1.7PE/src/HighScoreTableDB.cpp

    r28 r79  
    2929HighScoreTableDB::HighScoreTableDB() 
    3030{ 
    31         /* Open the database which holds the settings. */ 
    32         m_path = ((wxFileName::GetHomeDir()).mb_str()); 
    33         m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
    34         m_path += DBFILENAME; 
     31//      /* Open the database which holds the settings. */ 
     32//      m_path = ((wxFileName::GetHomeDir()).mb_str()); 
     33//      m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
     34//      m_path += DBFILENAME; 
     35        m_path = DBFILENAME; 
    3536 
    3637#ifdef DEBUG 
  • branches/openyahtzee1.7PE/src/HighScoreTableDB.h

    r28 r79  
    3939 
    4040///Sets the file name of the database the class will open. The directory will always be the home dir. 
    41 #define DBFILENAME ".OpenYahtzee"  
     41#define DBFILENAME "OpenYahtzee.dat" 
    4242class HighScoreTableDB : public DBwrapper 
    4343{ 
  • branches/openyahtzee1.7PE/src/MainFrame.cpp

    r59 r79  
    278278        wxString msg; 
    279279        wxString sqliteversion = wxString(sqlite3_version,wxConvUTF8); 
    280         msg.Printf(wxT("Open Yahtzee %s\nCopyright (C) 2006 by Guy Rutenberg.\nDice design by Seamus McGill\n\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nOpen Yahtzee was built against:\nwxWidgets %i.%i\n"),wxT(OY_VERSION),wxMAJOR_VERSION,wxMINOR_VERSION); 
     280        msg.Printf(wxT("Open Yahtzee %s Portable Edition\nCopyright (C) 2006 by Guy Rutenberg.\nDice design by Seamus McGill\n\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nOpen Yahtzee was built against:\nwxWidgets %i.%i\n"),wxT(OY_VERSION),wxMAJOR_VERSION,wxMINOR_VERSION); 
    281281        msg += wxT("SQLite ") + sqliteversion; 
    282282                 
    283         wxMessageBox(msg, wxT("About Open Yahtzee"), wxOK | wxICON_INFORMATION, this); 
     283        wxMessageBox(msg, wxT("About Open Yahtzee PE"), wxOK | wxICON_INFORMATION, this); 
    284284} 
    285285 
     
    308308void MainFrame::OnNewGame(wxCommandEvent& event) 
    309309{ 
     310        //disable the undo button so it won't be enabled when a new game is started. 
     311        (GetMenuBar()->FindItem(ID_UNDO))->Enable(false); 
    310312 
    311313        ResetRolls(); 
  • branches/openyahtzee1.7PE/src/Makefile.in

    r47 r79  
    4646am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 
    4747        $(ACLOCAL_M4) 
    48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 
     48mkinstalldirs = $(install_sh) -d 
    4949CONFIG_HEADER = $(top_builddir)/config.h 
    5050CONFIG_CLEAN_FILES = 
  • branches/openyahtzee1.7PE/src/SettingsDB.cpp

    r17 r79  
    2727SettingsDB::SettingsDB() 
    2828{ 
    29         /* Open the database which holds the settings. */ 
    30         m_path = ((wxFileName::GetHomeDir()).mb_str()); 
    31         m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
    32         m_path += DBFILENAME; 
     29//      /* Open the database which holds the settings. */ 
     30//      m_path = ((wxFileName::GetHomeDir()).mb_str()); 
     31//      m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
     32//      m_path += DBFILENAME; 
     33        m_path = DBFILENAME; 
    3334 
    3435#ifdef DEBUG 
  • branches/openyahtzee1.7PE/src/SettingsDB.h

    r17 r79  
    3939 
    4040///Sets the file name of the database the class will open. The directory will always be the home dir. 
    41 #define DBFILENAME ".OpenYahtzee"  
     41#define DBFILENAME "OpenYahtzee.dat" 
    4242class SettingsDB : public DBwrapper 
    4343{ 
Note: See TracChangeset for help on using the changeset viewer.