~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/raster/raster.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.1.7 upstream) (9.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090331003715-i5yisvcfv7mgz3eh
Tags: 2.1.dfsg-1
* New major upstream release (closes: #495937).
* Add desktop files (closes: #501181).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *  Ettore Perazzoli <ettore@comm2000.it>
6
6
 *  Andreas Boose <viceteam@t-online.de>
7
7
 *
 
8
 * DTV sections written by
 
9
 *  Daniel Kahlin <daniel@kahlin.net>
 
10
 *
8
11
 * This file is part of VICE, the Versatile Commodore Emulator.
9
12
 * See README for copyright notice.
10
13
 *
204
207
           raster->border_color, end - start + 1);
205
208
}
206
209
 
 
210
/* seemingly dead code */
 
211
#if 0
207
212
/* Draw the borders.  */
208
213
inline static void draw_borders(raster_t *raster)
209
214
{
214
219
                   raster->display_xstop,
215
220
                   raster->geometry->screen_size.width - 1);
216
221
}
 
222
#endif
217
223
 
218
224
int raster_init(raster_t *raster,
219
225
                unsigned int num_modes)
237
243
 
238
244
    raster->fake_draw_buffer_line = NULL;
239
245
 
 
246
    raster->can_disable_border = 0;
 
247
    raster->border_disable = 0;
 
248
 
240
249
    raster->border_color = 0;
241
250
    raster->background_color = 0;
242
251
    raster->idle_background_color = 0;
265
274
    raster->current_line = 0;
266
275
 
267
276
    raster->xsmooth = raster->ysmooth = 0;
 
277
    raster->sprite_xsmooth = 0;
268
278
    raster->xsmooth_shift_left = 0;
269
279
    raster->xsmooth_shift_right = 0;
 
280
    raster->sprite_xsmooth_shift_right = 0;
270
281
    raster->skip_frame = 0;
271
282
 
272
283
    raster->blank_off = 0;
274
285
    raster->blank_this_line = 0;
275
286
    raster->open_right_border = 0;
276
287
    raster->open_left_border = 0;
 
288
    raster->border_disable = 0;
277
289
    raster->blank = 0;
278
290
 
279
291
    raster->draw_idle_state = 0;
280
292
    raster->ycounter = 0;
281
293
    raster->video_mode = 0;
 
294
    raster->last_video_mode = -1;
282
295
}
283
296
 
284
297
typedef struct raster_list_t {