#include "nilorea/n_common.h"
#include "nilorea/n_particles.h"
#include "nilorea/n_anim.h"
#include "nilorea/n_gui.h"
#include <allegro5/allegro_ttf.h>
Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
| |
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ HEIGHT
◆ WIDTH
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 64 of file ex_gui_particles.c.
References __attribute__(), PHYSICS::acceleration, active_object, add_particle(), display, DONE, draw_particle(), fps_accum, fps_display, fps_timer, frame_count, free_nstr, getoptret, gui, HEIGHT, init_particle_system(), key, lbl_fps_info, lbl_mouse_pos, lbl_particle_count, lbl_particle_max, lbl_spawn_info, PARTICLE_SYSTEM::list, list_destroy(), LOG_DEBUG, LOG_ERR, log_file, LOG_INFO, log_level, LOG_NOTICE, logic_timer, manage_particle(), MAX_LIST_ITEMS, n_abort(), n_gui_add_label(), n_gui_add_window(), N_GUI_ALIGN_LEFT, n_gui_destroy_ctx(), n_gui_draw(), n_gui_label_set_text(), n_gui_new_ctx(), n_gui_process_event(), n_gui_set_display_size(), n_gui_set_virtual_size(), n_gui_wants_mouse(), n_log, LIST::nb_items, LIST::nb_max_items, new_generic_list(), nstrprintf, PHYSICS::orientation, particle_system_effects, PIXEL_PART, PHYSICS::position, scr_buf, set_log_file(), set_log_level(), PHYSICS::speed, PHYSICS::sz, total_spawned, VECTOR3D_SET, and WIDTH.
◆ active_object
| LIST* active_object = NULL |
◆ display
| ALLEGRO_DISPLAY* display = NULL |
◆ DONE
◆ fps_accum
◆ fps_display
◆ fps_timer
| ALLEGRO_TIMER* fps_timer = NULL |
◆ frame_count
◆ getoptret
◆ lbl_fps_info
◆ lbl_mouse_pos
◆ lbl_particle_count
| int lbl_particle_count = -1 |
|
static |
◆ lbl_particle_max
| int lbl_particle_max = -1 |
|
static |
◆ lbl_spawn_info
◆ log_level
◆ logic_timer
| ALLEGRO_TIMER* logic_timer = NULL |
◆ particle_system_effects
◆ scr_buf
| ALLEGRO_BITMAP* scr_buf = NULL |
◆ total_spawned