GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
max_current_image_order(3) Arcan Lua API max_current_image_order(3)

max_current_image_order - Find the highest ordervalue in use in the current context.

orderval
max_current_image_order(

rtgt )

Scan a specific (default: worldid) rendertarget for the highest drawing order value used. Note that the range 65531..65535 is explicitly ignored to be able to use relative operations e.g. order_image(a, max_current_image_order() + 1); without objects used as overlays, cursors or similar special targets interfering.

function max_current_image_order0()
      print(max_current_image_order());
      a = fill_surface(32, 32, 0, 0, 0);
      order_image(a, 65500);
      print(max_current_image_order());
      order_image(a, 65535);
      print(max_current_image_order());
end

order_image(3) image_inherit_order(3)

June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.