Giter Site home page Giter Site logo

legacywindow's People

Contributors

hoikas avatar

Stargazers

 avatar

Watchers

 avatar  avatar

legacywindow's Issues

Mouse Hidden on Caption Bar

Legacy.exe hides the mouse pointer over the window caption/title bar. This makes it somewhat challenging to move the game window.

Game Scaling

Legacy of Time was released in 1998 and has a hardwired resolution of 640x480. This was getting slightly long in the tooth at that time, however, it was less noticeable due to most folks using CRT monitors. Now, with our 2K and 4K behemoths, this is terrible, even with the ability to run the game in a window. Given that we are already rendering to a proxy surface under the hood, we should allow the destination DC to be larger that the source.

System Menu

The original Legacy game has a menu at the top of the screen that appears only when that area is moused over. In our hook, we draw to the game window's client area. Unfortunately, the menu is nonclient area, causing awkward shifting in the game window. The solution here is to make the menu always visible.

Inventory

The inventory selection UI does not open. git bisect reveals it was broken in 5a76001.

Save Settings

The settings from our settings menu are neither saved when changed nor reloaded. At bare minimum, we should remember the resolution setting.

Save Game Dialog

The save game dialog draws the preview image to the main surface instead of the dialog box.

Dialog Window Rendering

Legacy.exe uses appears to use ddraw to render some portions of its popup dialog windows. In the original game on Windows XP, this works fine. However, on the gog.com version of the game, those portions are absent from the dialog. When our window hook is present, you can actually briefly see these portions are being rendered to the main game window behind the dialog.

Dialog GDI Text

Any dialogs that use GDI functions to render text are ultimately rendering to the main surface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.