public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq ./ChangeLog kernel/cmd.c kernel/dir.h ke ...
@ 2001-01-13 10:27 shebs
0 siblings, 0 replies; only message in thread
From: shebs @ 2001-01-13 10:27 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sources.redhat.com 2001-01-13 10:27:07
Modified files:
. : ChangeLog
kernel : cmd.c dir.h imf.c imf.h ui.c
sdl : sdlcmd.c sdlconq.h sdlmain.c sdlmap.c
tcltk : tkcmd.c tkconq.h tkmain.c tkmap.c
Added files:
images : font.bmp
Log message:
Various additions to the SDL interface - mouseover text pane,
unit&feature names on map, isometric display, misc layers.
* sdlconq.h (ui curfid): New field.
(Map active): New field.
(small_font): New global.
* sdlmain.c (small_font): Define.
(initial_ui_init): Fill in from font.bmp, enable unicode
translation of keyboard events.
(autoscroll): Update focus.
(ui_mainloop): Only autoscroll when map is active window.
(handle_event): Get unicode from key event, filter out zeros,
grok activation events.
(ask_position): Put out the prompt.
(place_legends): Implement.
* sdlcmd.c (do_refresh): Tweak place_legends call.
(do_set_view_angle): Implement.
* sdlmap.c (open_sdl_window): Get map viewport from surface size,
set an initial focus.
(update_map): Add isometric case, add more debugging draws,
add mouseover pane.
(random_color): New function.
(draw_map_isometric, draw_terrain_iso, draw_clouds_row,
draw_temperature_row, draw_winds_row, draw_feature_boundary,
draw_feature_name, draw_people, draw_string): New functions.
(draw_unit_name, draw_unit_size): Make work.
* tkconq.h, tkcmd.c, tkmain.c (place_legends): Don't pass
a side argument.
* images/font.bmp: Basic text font, borrowed from Randi
Relander's Regimental Command project.
* ui.c: Add a comment about 12x13 hex size.
* imf.c, imf.h (copy_from_file_image): Add actual-size arguments.
* imf.c (make_raw_palette): Add a little slop, for now at least.
(make_image_from_file_image): Add slop to subimage palette
allocation, use copy_from_file_image actual-size arguments.
* dir.h (dir_subtract): Move to here from tkmap.c.
* cmd.c (execute_command): Filter out zero chars.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-13 10:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-13 10:27 xconq ./ChangeLog kernel/cmd.c kernel/dir.h ke shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).