3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Gamestudio 8.46 public beta
[Re: jcl]
#453726
08/10/15 08:46
08/10/15 08:46
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Great to see an update! Thank you jcl! I wanted to ask about that OBB collusion problem which I've reported earlier. No luck to get it fixed soon? Best regards
|
|
|
Re: Gamestudio 8.46 public beta
[Re: MasterQ32]
#453731
08/10/15 09:43
08/10/15 09:43
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
Exceeding max_entities does now not terminate the application anymore. , yay thanks . And the new ifelse will come in handy too.
|
|
|
Re: Gamestudio 8.46 public beta
[Re: jcl]
#453744
08/10/15 18:02
08/10/15 18:02
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Afraid not. OBB is an external library that was never touched for almost a decade. Thus a modification is not really easy. It's on our list, but for the next time you must live with it. It's good to hear that it's 'on the list', thank you very much! Best reagards
|
|
|
Re: Gamestudio 8.46 public beta
[Re: 3run]
#453754
08/11/15 10:05
08/11/15 10:05
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
The operator precedence was changed so that expressions like mystruct.array[123] need no parentheses anymore. I have to say: thanks! While i complained a lot about the last couple of years(and this was definetly on my list) it's good to see this quirk being fixed(i know ffor the compiler it's no quirk, but compared to other compilers) The ifelse function is a more convenient substitute for the C ?: operator than if..else. That's quite usefull. Is it implemented by the compiler directly or as "normal" function with normal parameters? A small note in the manual for the difference between IFELSE(function) and the C ?: operator at runtime might be usefull for beginners in this case. The difference occurs for example in this case: Lite-C
x = IfElse(A==B, GetMyValX(), GetMyValY());
C
x = (A==B) ? GetMyValX() : GetMyValY();(
The difference is: In Lite-C it will always call both functions to push their result as parameters. In C only the evaluated path is executed, which means only one function is called, which results in way less overhead. So if both functions are quite expensive, it's better to restructure the code to use a normal if. Assuming IFELSE is "just" a function.
Last edited by Rackscha; 08/11/15 10:06.
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Gamestudio 8.46 public beta
[Re: jcl]
#453791
08/13/15 09:01
08/13/15 09:01
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Afraid not. OBB is an external library that was never touched for almost a decade. Thus a modification is not really easy. It's on our list, but for the next time you must live with it. I have another question, jcl. Will you add additional shapes (or at least one more - capsule) for OBB library, if we will collect enough votes for it over the forum (let's say). The reasonы why I ask this now are: 1 - community members kept asking for this for a quite long time and kept on ranting that OBB with only elipsoid doesn't fit their (our) needs; 2 - now, when you said that it's just an external library which wasn't really ever touched, I understand (at least I hope so) why you refused to add another collusion shape back then. Probably cause it didn't really seemed to be worthy messing around with external library which works as it is (out of the box), but now you, when you are going to look for that BUG I've reported and going to mess around with that library anyway, maybe there is a way to add one more collusion shape, to satisfy US (community members, which still help to keep Acknex undead)? We could do a vote, to see if people are in need of one more collusion shape (CAPSULE). Best regards
|
|
|
|