#2829: Move lib/framework/wzapp* to src/
-------------------------------------------+-------------------------------
  Reporter:  Fastdeath                     |             Owner:
      Type:  bug                           |            Status:  new
  Priority:  normal                        |         Milestone:
 Component:  other                         |  unspecified
  Keywords:  wzapp framework WzMainWIndow  |           Version:  git/master
Blocked By:                                |  Operating System:  All/Non-
                                           |  Specific
                                           |          Blocking:
-------------------------------------------+-------------------------------
 This code is unclean as it is. It utilizes lib/qtgame AND code from
 src/.[[BR]]

 lib/framework/wzapp_c.h includes and usages:
 - lib/gamelib/gtime.cpp: wzGetTicks
 - lib/ivis_opengl/piemode: wzScreenFlip
 - lib/netplay/netplay.cpp: Threading + wzGetTicks
 - lib/netplay/netsocket.cpp: wzGetTicks
 - lib/widget/editbox.cpp: wzGetTicks
 - lib/widget/tip.cpp: wzGetTicks

 Possible Solution:
 - Add a replacement for the ticker in WzMainWindow to lib/gamelib, this
 solves 66% of the lib/ includes.
 - Add a replacement for the Threading stuff used by
 lib/netplay/netplay.cpp
 - Find something to replace wzScreenFlip aka QGLWidget->swapBuffers().
 - Move it to src/

-- 
Ticket URL: <http://developer.wz2100.net/ticket/2829>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to