Changeset 79
- Timestamp:
- 05/04/2007 07:30:35 PM (5 years ago)
- Location:
- branches/openyahtzee1.7PE
- Files:
-
- 11 edited
-
Makefile.cvs (modified) (1 diff)
-
Makefile.in (modified) (2 diffs)
-
openyahtzee.kdevelop (modified) (2 diffs)
-
openyahtzee.kdevelop.pcs (modified) (3 props) (previous)
-
openyahtzee.kdevses (modified) (1 diff)
-
src/HighScoreTableDB.cpp (modified) (1 diff)
-
src/HighScoreTableDB.h (modified) (1 diff)
-
src/MainFrame.cpp (modified) (2 diffs)
-
src/Makefile.in (modified) (1 diff)
-
src/SettingsDB.cpp (modified) (1 diff)
-
src/SettingsDB.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/openyahtzee1.7PE/Makefile.cvs
r64 r79 4 4 aclocal 5 5 autoheader 6 automake 6 libtoolize --automake --force --copy 7 automake -a -c 7 8 autoconf 8 -
branches/openyahtzee1.7PE/Makefile.in
r35 r79 40 40 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ 41 41 TODO config.guess config.sub depcomp install-sh ltmain.sh \ 42 missing mkinstalldirs42 missing 43 43 subdir = . 44 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 48 48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 49 49 configure.lineno configure.status.lineno 50 mkinstalldirs = $( SHELL) $(top_srcdir)/mkinstalldirs50 mkinstalldirs = $(install_sh) -d 51 51 CONFIG_HEADER = config.h 52 52 CONFIG_CLEAN_FILES = -
branches/openyahtzee1.7PE/openyahtzee.kdevelop
r62 r79 223 223 <custom>false</custom> 224 224 <bzip>false</bzip> 225 <archname ></archname>225 <archname/> 226 226 <appname>OpenYahtzee</appname> 227 227 <version>1.7</version> 228 <release ></release>228 <release/> 229 229 <vendor>Guy Rutenberg</vendor> 230 230 <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/> 236 236 <devpackage>false</devpackage> 237 237 <docspackage>false</docspackage> … … 242 242 <ftpkde>false</ftpkde> 243 243 <appskde>false</appskde> 244 <url ></url>244 <url/> 245 245 </dist> 246 246 </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 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments="1 6" >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" /> 7 7 </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" /> 10 10 </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" /> 13 13 </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" /> 16 16 </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" /> 19 19 </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" /> 22 22 </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" /> 25 25 </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" /> 28 28 </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" /> 31 31 </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" /> 34 34 </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>53 35 </DocsAndViews> 54 36 <pluginList> -
branches/openyahtzee1.7PE/src/HighScoreTableDB.cpp
r28 r79 29 29 HighScoreTableDB::HighScoreTableDB() 30 30 { 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; 35 36 36 37 #ifdef DEBUG -
branches/openyahtzee1.7PE/src/HighScoreTableDB.h
r28 r79 39 39 40 40 ///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" 42 42 class HighScoreTableDB : public DBwrapper 43 43 { -
branches/openyahtzee1.7PE/src/MainFrame.cpp
r59 r79 278 278 wxString msg; 279 279 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); 281 281 msg += wxT("SQLite ") + sqliteversion; 282 282 283 wxMessageBox(msg, wxT("About Open Yahtzee "), wxOK | wxICON_INFORMATION, this);283 wxMessageBox(msg, wxT("About Open Yahtzee PE"), wxOK | wxICON_INFORMATION, this); 284 284 } 285 285 … … 308 308 void MainFrame::OnNewGame(wxCommandEvent& event) 309 309 { 310 //disable the undo button so it won't be enabled when a new game is started. 311 (GetMenuBar()->FindItem(ID_UNDO))->Enable(false); 310 312 311 313 ResetRolls(); -
branches/openyahtzee1.7PE/src/Makefile.in
r47 r79 46 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 47 $(ACLOCAL_M4) 48 mkinstalldirs = $( SHELL) $(top_srcdir)/mkinstalldirs48 mkinstalldirs = $(install_sh) -d 49 49 CONFIG_HEADER = $(top_builddir)/config.h 50 50 CONFIG_CLEAN_FILES = -
branches/openyahtzee1.7PE/src/SettingsDB.cpp
r17 r79 27 27 SettingsDB::SettingsDB() 28 28 { 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; 33 34 34 35 #ifdef DEBUG -
branches/openyahtzee1.7PE/src/SettingsDB.h
r17 r79 39 39 40 40 ///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" 42 42 class SettingsDB : public DBwrapper 43 43 {
Note: See TracChangeset
for help on using the changeset viewer.
