~ubuntu-branches/debian/squeeze/freeciv/squeeze

« back to all changes in this revision

Viewing changes to client/packhand_gen.c

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams, Karl Goetz, Clint Adams
  • Date: 2010-02-23 22:09:02 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223220902-kiyrmr9i4152cka5
Tags: 2.2.0-1
[ Karl Goetz ]
* Remove civserver files in /etc/ggzd/ (Closes: 523772, 517787)
* Adding ${misc:Depends} to all binary packages (lintian warnings)

[ Clint Adams ]
* New upstream version.
  - Drop data_dsc_use_bindir.diff (binary pathnames have changed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    handle_server_shutdown();
55
55
    return TRUE;
56
56
 
57
 
  case PACKET_GAME_STATE:
58
 
    handle_game_state(
59
 
      ((struct packet_game_state *)packet)->value);
60
 
    return TRUE;
61
 
 
62
57
  case PACKET_ENDGAME_REPORT:
63
58
    handle_endgame_report(packet);
64
59
    return TRUE;
93
88
      ((struct packet_chat_msg *)packet)->conn_id);
94
89
    return TRUE;
95
90
 
 
91
  case PACKET_CONNECT_MSG:
 
92
    handle_connect_msg(
 
93
      ((struct packet_connect_msg *)packet)->message);
 
94
    return TRUE;
 
95
 
96
96
  case PACKET_CITY_REMOVE:
97
97
    handle_city_remove(
98
98
      ((struct packet_city_remove *)packet)->city_id);
121
121
 
122
122
  case PACKET_PLAYER_REMOVE:
123
123
    handle_player_remove(
124
 
      ((struct packet_player_remove *)packet)->player_id);
 
124
      ((struct packet_player_remove *)packet)->playerno);
125
125
    return TRUE;
126
126
 
127
127
  case PACKET_PLAYER_INFO:
301
301
    handle_ruleset_terrain(packet);
302
302
    return TRUE;
303
303
 
 
304
  case PACKET_RULESET_UNIT_CLASS:
 
305
    handle_ruleset_unit_class(packet);
 
306
    return TRUE;
 
307
 
 
308
  case PACKET_RULESET_BASE:
 
309
    handle_ruleset_base(packet);
 
310
    return TRUE;
 
311
 
304
312
  case PACKET_RULESET_CONTROL:
305
313
    handle_ruleset_control(packet);
306
314
    return TRUE;
338
346
    handle_ruleset_resource(packet);
339
347
    return TRUE;
340
348
 
 
349
  case PACKET_SCENARIO_INFO:
 
350
    handle_scenario_info(packet);
 
351
    return TRUE;
 
352
 
341
353
  case PACKET_VOTE_NEW:
342
354
    handle_vote_new(packet);
343
355
    return TRUE;
362
374
      ((struct packet_vote_resolve *)packet)->passed);
363
375
    return TRUE;
364
376
 
 
377
  case PACKET_EDIT_OBJECT_CREATED:
 
378
    handle_edit_object_created(
 
379
      ((struct packet_edit_object_created *)packet)->tag,
 
380
      ((struct packet_edit_object_created *)packet)->id);
 
381
    return TRUE;
 
382
 
365
383
  default:
366
384
    return FALSE;
367
385
  }