Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38

Thread: SMART Cursor

  1. #26
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    What bug? :S
    https://villavu.com/forum/showthread...61#post1290061

    Right?

    If you fixed it you didnt update the repo

  2. #27
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default



    isnt that good, also forgot here to remove the trail after a few seconds

  3. #28
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    https://villavu.com/forum/showthread...61#post1290061

    Right?

    If you fixed it you didnt update the repo

    That pascal plugin doesn't have anything to do with the current one. In fact, I might remove that Repo to get rid of confusion. The C++ ones already work. The pascal one was just there in case someone wanted "Pascal" only code after seeing how much C++ hate goes on around villavu..

    But again, DXI works fine: https://github.com/Brandon-T/DXI/tree/master/DXI https://github.com/Brandon-T/DXI/releases
    I am Ggzz..
    Hackintosher

  4. #29
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    That pascal plugin doesn't have anything to do with the current one. In fact, I might remove that Repo to get rid of confusion. The C++ ones already work. The pascal one was just there in case someone wanted "Pascal" only code after seeing how much C++ hate goes on around villavu..

    But again, DXI works fine: https://github.com/Brandon-T/DXI/tree/master/DXI https://github.com/Brandon-T/DXI/releases
    I'm not saying the current one isn't fine.. I was just going to add some fancy mouse-trails to the plugin... Tho I would do it to the pascal plugin (if it worked).

  5. #30
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    I'm not saying the current one isn't fine.. I was just going to add some fancy mouse-trails to the plugin... Tho I would do it to the pascal plugin (if it worked).

    Oh but why? You could just add it to the current one or override the Simba mouse functions?

    Can't you do something like:

    Simba Code:
    Procedure Mouse(....);
    begin
      inherited(....);
      Paint(...);
    end;

    Or will inherited not work there? Or is it too slow?
    I am Ggzz..
    Hackintosher

  6. #31
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Oh but why? You could just add it to the current one or override the Simba mouse functions?

    Can't you do something like:

    Simba Code:
    Procedure Mouse(....);
    begin
      inherited(....);
      Paint(...);
    end;

    Or will inherited not work there? Or is it too slow?
    That's what I did currently.. People were saying about extra cpu wasted when you only want to draw the mousetrails.. So i was gonna throw it in a plugin and have some fun.

  7. #32
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    That's what I did currently.. People were saying about extra cpu wasted when you only want to draw the mousetrails.. So i was gonna throw it in a plugin and have some fun.
    But if you throw it in a plugin, it'd have to be recompiled every time you want to change it. Whether a plugin or Simba, CPU usage has to come from somewhere. The plugin would only do it once and would be faster but meh.. It's still going to have "some" CPU usage.
    I am Ggzz..
    Hackintosher

  8. #33
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    But if you throw it in a plugin, it'd have to be recompiled every time you want to change it. Whether a plugin or Simba, CPU usage has to come from somewhere. The plugin would only do it once and would be faster but meh.. It's still going to have "some" CPU usage.
    Of course lol, but to end the discussion it was merely only a fun project I wanted to do... I don't even see the massive need for a mouse-trail.

  9. #34
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    I don't think mousetrails would be something that people would use except for debugging maybe, or if they just wanted to see it for a little, so the extra CPU wouldn't be that big of an issue.

  10. #35
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    Of course lol, but to end the discussion it was merely only a fun project I wanted to do... I don't even see the massive need for a mouse-trail.
    But it would be nice to have an option. smartMouseTrails := true; or something

  11. #36
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    But it would be nice to have an option. smartMouseTrails := true; or something
    Yeah but with options comes many other options. Being able to specify what the trail looks like (shape), the colours, the length, crosshairs, etc.. Not just a boolean. It can actually still be done via a plugin. Just map the same memory that SMART mapped and write to its image buffer but is it worth it? If done in Direct-X or OpenGL rather than through SMART's image buffer, it's going to require the translations and vertices of every trail.

    TLDR: Write to SMART's image buffer. Can easily be passed to any plugin for more speed. Personally, I actually won't mind adding this to the plugins or to SMART since I haven't coded much in a long time, but I'm not sure why when it can be done in Simba or in a plugin.
    Last edited by Brandon; 07-13-2014 at 10:48 PM.
    I am Ggzz..
    Hackintosher

  12. #37
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Yeah but with options comes many other options. Being able to specify what the trail looks like (shape), the colours, the length, crosshairs, etc.. Not just a boolean. It can actually still be done via a plugin. Just map the same memory that SMART mapped and write to its image buffer but is it worth it? If done in Direct-X or OpenGL rather than through SMART's image buffer, it's going to require the translations and vertices of every trail.

    TLDR: Write to SMART's image buffer. Can easily be passed to any plugin for more speed. Personally, I actually won't mind adding this to the plugins or to SMART since I haven't coded much in a long time, but I'm not sure why when it can be done in Simba or in a plugin.
    Do it

  13. #38
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    I'm glad I've brought this up, as many people have been wanting it as well. =)
    Tsunami

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •