Giter Site home page Giter Site logo

deledrius / agistudio Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 5.0 797 KB

Qt5 AGI Studio - Editor for Sierra AGI games.

License: GNU General Public License v2.0

CMake 1.04% Roff 0.09% HTML 26.84% Makefile 0.21% C++ 71.26% C 0.56%
sierra-agi-games sierra agi adventure-game-interpreter game-editor qt5

agistudio's People

Contributors

agren avatar deledrius avatar mrombout avatar zrax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

agistudio's Issues

Editors for Views and Pictures are non-functional.

No image is displayed, and no editing is possible.

Previously, the program was using Q3ScrollView for a custom canvas. This has been temporarily replaced with a QScrollArea in 162cc8d, but more work is needed to restore essential functionality.

AGI version detection fails on systems with decimal comma

Hi,

I've found an issue where AGI Studio fails to detect the correct AGI version when opening a game. If the system uses decimal comma instead of decimal period.
I've made a fix. If you'd like I can make a pull request.

System
Ubuntu 16.04 x64

Steps to reproduce

  1. Start AGIStudio with LC_NUMERIC="sv_SE.UTF-8" ./AGIStudio
  2. Open a 2.917 game
  3. Open a logic resource containing the action command 160 (Probably any command that isn't supported by version 2.0 should do it)

Observed behaviour
Opening the logic gives an error popup saying: "Unknown action command (160)".
And the logic resource code is not visible in the resources 'Preview' field.

Expected behaviour
No error message.
The logic resource code should be visible in the resources 'Preview' field.

Fix
I've made a fix that is locale independent here c33d7f8

Workaround
A workaround without using the above fix: Start AGI Studio using LC_NUMERIC="en_US.UTF-8" AGIStudio

Error building on Linux

Hello,

I am getting this error after running make:

/home/user/agistudio/src/agiplay.cpp: In function ‘void play_sound(char*)’:
/home/user/agistudio/src/agiplay.cpp:265:17: error: aggregate ‘play_sound(char*)::stat buf’ has incomplete type and cannot be defined
265 | struct stat buf;
| ^~~
/home/user/agistudio/src/agiplay.cpp:266:5: error: ‘fstat’ was not declared in this scope; did you mean ‘stat’?
266 | fstat(fileno(fptr), &buf);
| ^~~~~
| stat

I am not familiar with c++, so any help building would be appreciated.

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.