* (Bugfix) Fixed issue with not being able to set long delays in sprites (fixed dancing knight in Bugmania)

* (Bugfix) Fixed DinkC "!=" command which was renamed "!" for some reason. This fixed the goto in Bugmania
* Enabled support for >= and <= in DinkC, not sure why it was commented out before, they were active in 1.08
* (Bugfix) Status bar will now be drawn even when mouse mode is active if needed (it now shows up in Bugmania)
* Space no longer selects dialog, you'll have to use ENTER or CONTROL like on 1.08
* Mouse can now be used to select dialog options
* Fixed mouse issue with Bugmania in the town where it wasn't sending button down messages
(dmod list downloading is currently in a broken state)


git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1494 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2017-09-19 10:58:00 +00:00
parent 79e8424266
commit a5da7058ed
9 changed files with 70 additions and 29 deletions

View file

@ -12,6 +12,8 @@
#include "misc_util.h"
#include "video_gl.h"
#include "util/TextScanner.h"
extern bool g_dinkMouseRightClick;
bool InitDinkEngine();
bool LoadGameChunk(int gameIDToLoad, float &progressOut); //0 for new game
void updateFrame();
@ -182,7 +184,7 @@ struct sequence
{
int16 frame[C_MAX_SPRITE_FRAMES];
int16 originalFrame[C_MAX_SPRITE_FRAMES];
int16 delay[C_MAX_SPRITE_FRAMES];
int32 delay[C_MAX_SPRITE_FRAMES];
unsigned char special[C_MAX_SPRITE_FRAMES];
byte active;
@ -190,7 +192,7 @@ struct sequence
rtRect32 m_hardbox;
eTransparencyType m_transType;
byte m_bLeftAlign;
byte m_speed;
int32 m_speed;
char m_fileName[C_SPRITE_MAX_FILENAME_SIZE];
short x,y;
short s;