From bf4fda64fd403d589278919cff01c3207164207e Mon Sep 17 00:00:00 2001 From: Kazuo256 Date: Fri, 18 Nov 2016 18:30:16 -0200 Subject: Add Array.front() and Array.back() --- core/array.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/array.h') diff --git a/core/array.h b/core/array.h index eb79b0cf33..fb417b6ec0 100644 --- a/core/array.h +++ b/core/array.h @@ -67,6 +67,9 @@ public: void insert(int p_pos, const Variant& p_value); void remove(int p_pos); + Variant front() const; + Variant back() const; + void sort(); void sort_custom(Object *p_obj,const StringName& p_function); void invert(); -- cgit v1.2.3 From c7bc44d5ad9aae4902280012f7654e2318cd910e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 1 Jan 2017 22:01:57 +0100 Subject: Welcome in 2017, dear changelog reader! That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games! --- core/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/array.h') diff --git a/core/array.h b/core/array.h index fb417b6ec0..af57940d79 100644 --- a/core/array.h +++ b/core/array.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ -- cgit v1.2.3