~ubuntu-branches/ubuntu/intrepid/gnome-games/intrepid

« back to all changes in this revision

Viewing changes to blackjack/src/game.cpp

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2008-10-21 00:30:34 UTC
  • mfrom: (1.1.58)
  • Revision ID: package-import@ubuntu.com-20081021003034-cb0iknvzten935zn
Tags: 1:2.24.1-0ubuntu1
* New upstream release (LP: #286667)
  - General:
    - Fix up compatiblity with Gtk/Glib 2.14
    - Reclassify Gnibbles as Arcade game not logic game
    - Read saved window configuration from correct GConf group (affects
      gnometris, gnibbles, gnobots)
  - Aisleriot:
    - Remove vestigal flowRoot elements from solitaire svg icons. They
      caused a black box when rendering.
    - Don't crash when the session manager terminates aisleriot
  - GLChess:
    - Fix crash in error handler when GGZ connection closed
    - Fix crash in empty scene when no AI engines available
    - Fix crash when have OpenGL libraries but cannot get valid display
    - Implement GGZ config parser instead of using Python config parser
      which does not handle '%' characters as GGZ does
    - Ignore GGZ server remove player/table for unknown players/tables
    - Handle exceptions loading OpenGL textures
    - Reset pause menu when starting new game
    - Only allow one new/load game dialog to be visible at once
    - Fix incorrect function call for single buffered 3D display
    - Handle fork() errors in AI processes
    - Fixes to compile in Solaris
    - Print failure to start message to stdout if cannot import GTK+
    - Handle invalid response from glRenderMode(GL_RENDER) and print
      debugging information
    - More logging messages about selection rendering bugs
    - After looking at failure case in PyOpenGL code we don't need to change
      render modes after failed to change to GL_SELECT
    - Fix potential bugs found by PyChecker
    - Fix crash when validly claiming a draw
    - Don't display failed to claim draw dialog when successfully claimed
      draw
  - GTali:
    - Undoing 5 of a kind reduces the score by 50 as there might be multiple
      scores (LP: #238978)
  - Sudoku:
    - Add not overwrite time and also remember to actually save the time in
      the file (LP: #279616)
    - Correct typo in error message that led to an exception
  - Gnotravex:
    - Stop paused tiles becoming visible after changing colour settings
  - Blackjack:
    - Fix compiler warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
gint             numHands;
62
62
 
63
 
gchar            *game_file = "";
 
63
const gchar      *game_file = "";
64
64
gchar            *game_name;
65
65
 
66
66
gboolean         allSettled = FALSE;
128
128
static const char *
129
129
extension_pointer (const char * path)
130
130
{
131
 
        char * s, * t;
 
131
        const char * s, * t;
132
132
        
133
133
        g_return_val_if_fail (path != NULL, NULL);
134
134
 
190
190
        return game_name;
191
191
}
192
192
 
193
 
char *
 
193
const char *
194
194
bj_game_get_rules_file ()
195
195
{
196
196
        return game_file;
434
434
}
435
435
 
436
436
static void
437
 
bj_game_eval_installed_file (gchar *file)
 
437
bj_game_eval_installed_file (const gchar *file)
438
438
{
439
439
        char *installed_filename;
440
440
 
509
509
}
510
510
 
511
511
void
512
 
bj_game_new (gchar* file, guint *seedp )
 
512
bj_game_new (const gchar* file, guint *seedp )
513
513
{
514
514
        gint min_w, min_h;
515
515