Bug Tracker – Bug 43

Clean up the UI code

Last modified: 2014-03-20 00:23:58 UTC
Bug 43 - Clean up the UI code
Summary: Clean up the UI code
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server (show other bugs)
Version: (old) 0.0.1
Hardware: All All
: P3 trivial
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2005-10-09 16:46 UTC by Denis Lukianov
Modified: 2014-03-20 00:23 UTC (History)
1 user (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Lukianov 2005-10-09 16:46:40 UTC
We have plans to support several operating systems, many with graphical options.
The console code is in no shape for expansion right now. It needs to be split
off into separate files with well defined interfaces/hooks before more UI can be
added.

Current interface supports:
* NIX console
* WIN32 console
* WIN32 gui

Planned interface supports:
* NIX curses
* OSX gui
Comment 1 Mike Lightner 2006-09-27 10:39:24 UTC
Changed to trivial.
Comment 2 esd45 2006-11-04 15:29:31 UTC
Some basic cleanup (readability improvements, non-fatal syntax error corrections, and so forth are going to be part of what I volenteered to do on assisting to remove the GPL code (Bug 50))

If I am assigned to that sub-project fo resolving that bug, my work will involve a lot of code readability enchancements, and I can put your module(s) as one of the ones to hit first, after the ones known to contain the actual code.  

I think this project should be given more priority than it is, as it is essential for enchanced cross platform compatability.

A single GTK+/Glade GUI-Enchanced console app could be created for all environments listed below, and more with a single code base. 

As a final comment, This maybe should be changed to a two part bug, as there is the low priority task of sub-segmenting the code to be more portable, and then the trivial task of making the individual interfaces.  The first bug should block the second bug.
Comment 3 Denis Lukianov 2006-11-04 17:35:26 UTC
bug 221 removes the need for adding frills/ui to the server directly

this bug tracks server console ui only
Comment 4 Mike Lightner 2007-08-28 23:59:06 UTC
Reassigned temporarily to Nes.  If he doesn't find anything of usefulness to do we'll make a decision about this bug at that time.
Comment 5 Mike Lightner 2010-01-22 19:26:18 UTC
Not that it matters too much, but the current raven branch (odaraven) adds large text drawers, which the menus are now using.  This eliminates the need for specific patches.  Some menu elements will be defined in the expanded gameinfo structs.