├── README.md ├── fonts ├── fontImage_0_24.tga ├── fontImage_0_32.tga ├── fontImage_0_9.tga ├── fontImage_10.dat ├── fontImage_12.dat ├── fontImage_1_24.tga ├── fontImage_1_32.tga ├── fontImage_24.dat ├── fontImage_2_32.tga ├── fontImage_32.dat └── fontImage_9.dat ├── gameinfo.txt ├── scripts └── oa3_ui.shader ├── themesetting.txt └── ui ├── 98 └── health.tga ├── adjust ├── gradient.tga ├── overbright.tga ├── picture.tga └── symbol.tga ├── assets ├── checkbox_checked.tga ├── checkbox_unchecked.tga ├── cursor.png ├── fadebox.tga ├── gradientbar2.tga ├── oa.tga ├── oawave.tga ├── scrollbar.tga ├── scrollbar_arrow_dwn_a.tga ├── scrollbar_arrow_left.tga ├── scrollbar_arrow_right.tga ├── scrollbar_arrow_up_a.tga ├── scrollbar_thumb.tga ├── slider2.tga ├── sliderbutt_1.tga └── statusbar │ ├── assault.tga │ ├── camp.tga │ ├── death.tga │ ├── defend.tga │ ├── escort.tga │ ├── follow.tga │ ├── patrol.tga │ ├── retrieve.tga │ └── team_leader.tga ├── assets5 ├── TabOff.tga ├── TabOn.tga ├── buttonlong1.tga ├── buttonlong2.tga ├── buttonmask.tga ├── chars_l.tga ├── chars_m.tga ├── chars_r.tga ├── cldbg.tga ├── cldbgb.tga ├── comboboxheader.tga ├── emptykey.tga ├── fadedown.tga ├── flight1.tga ├── gradient32.tga ├── gradienthorz32.tga ├── hover.wav ├── keys_chat.tga ├── keys_move.tga ├── keys_presets.tga ├── keys_weapons.tga ├── locktile.tga ├── logotype.tga ├── models │ ├── bg.md3 │ ├── bg2.md3 │ ├── oalogo128.tga │ ├── oalogo128ref.tga │ └── oalogolow.md3 ├── observe.tga ├── scan.tga ├── scan2.tga ├── select.wav ├── tablong.tga ├── uishade.tga ├── uishade2.tga ├── uishade2b.tga └── vignette.tga ├── assetspcx ├── discplayer.pcx ├── env.pcx ├── longgrad.pcx ├── longgrad.tga ├── techyscroll1.pcx └── techyscroll1c.pcx ├── atlas └── window.png ├── bar ├── main_menu.menu ├── mainmenu.panel └── menubar.tga ├── buildmeout └── ingame.menu ├── common ├── bios.panel ├── borders600400.panel ├── console_options.panel ├── controls.panel ├── error.panel ├── extras.panel ├── fingamemenu.panel ├── ingamemenu.panel ├── ingamemenualt.panel ├── ingamequitmenu.panel ├── instantaction.panel ├── joinserver.panel ├── logobackground.panel ├── mainmenu.panel ├── mapbg.panel ├── mirrorbackground.panel ├── mods.panel ├── options.panel ├── playmaker.panel ├── profile.panel ├── profile_oc.panel ├── profile_trimmed.panel ├── quit.panel ├── singleplayer.panel ├── splash.panel ├── symbol.panel ├── symbol2.panel ├── symbol4.panel ├── tooltip.panel └── tooltipUC.panel ├── connecting.menu ├── console ├── audio.tga ├── controls.tga ├── display.tga ├── main_options.menu ├── mainmenu.panel └── players.tga ├── console_main.menu ├── console_main_menu.menu ├── console_profile.menu ├── debug ├── debug.menu ├── dithering.tga ├── grid.tga ├── justdarkerdots.tga ├── justdots.tga ├── testbilinear.menu ├── testblends.menu ├── testdots.menu ├── testfilter.menu ├── testgradients.menu ├── testtmufilter.menu ├── testure.tga └── testure2.tga ├── error.menu ├── hud-98.txt ├── hud-hm.txt ├── hud-low.txt ├── hud-modern.txt ├── hud-retro.txt ├── hud-same.txt ├── hud-simple.txt ├── hud-slander.txt ├── hud.menu ├── hud.txt ├── hud ├── ambar.tga ├── cornerbars.tga ├── diagfade.tga ├── habar.tga ├── habar_top.tga ├── hudpieces.tga └── same_hlth.tga ├── hud_98.menu ├── hud_hm.menu ├── hud_modern.menu ├── hud_retro.menu ├── hud_retro_scoreboard.menu ├── hud_same.menu ├── hud_scoreboard.menu ├── hud_scoreboard_modern.menu ├── hud_slander.menu ├── ingame.txt ├── ingame_controls.menu ├── ingame_menu.menu ├── ingame_menu_alt.menu ├── ingame_options.menu ├── ingame_profile.menu ├── ingame_quit.menu ├── intro.menu ├── intromenus.txt ├── lang_english.h ├── loading.menu ├── loading ├── hole2.tga ├── hole3.tga ├── holes.tga ├── loadbar.tga ├── oalogoload.tga └── oalogoloadglow.tga ├── loading_grey.menu ├── loadingold.menu ├── ltoading.menu ├── main.menu ├── main_adjustyourscreen.menu ├── main_bios.menu ├── main_campaign.menu ├── main_campaign_ctf.menu ├── main_campaign_dom.menu ├── main_campaign_ffa.menu ├── main_campaign_over.menu ├── main_campaign_tourney.menu ├── main_controls.menu ├── main_credits.menu ├── main_extras.menu ├── main_gallery.menu ├── main_instant.menu ├── main_join_server.menu ├── main_menu.menu ├── main_mods.menu ├── main_options.menu ├── main_play.menu ├── main_play_maker.menu ├── main_popup_quit.menu ├── main_profile.menu ├── main_single_player.menu ├── menudef.h ├── menus.txt ├── menus2.txt ├── menus_bar.txt ├── menus_console.txt ├── menus_top.txt ├── menutest.menu ├── moe ├── moebg.tga ├── moebutton.tga ├── moebutton2.tga ├── moebutton3.tga ├── moebutton3a.tga ├── moebutton4.tga └── moebutton4a.tga ├── panels ├── keybind.bit ├── keybind2.bit ├── sound.panel └── video.panel ├── sp ├── currentladder.panel ├── dm.panel ├── ladder.h ├── ladder_ctf.h ├── ladder_dom.h ├── ladder_ffa.h ├── ladder_over.h ├── ladder_tourney.h ├── mapinfo.panel └── selector.panel ├── sp_ladder.h ├── splashtransition.menu ├── theme_azure.h ├── theme_greenie.h ├── theme_kewl.h ├── theme_metal.h ├── theme_moe.h ├── theme_moe.menu ├── theme_qlassic.h ├── transition_campaign.menu ├── version.h └── win ├── boxes.tga ├── check0.tga ├── check1.tga └── exit.tga /README.md: -------------------------------------------------------------------------------- 1 | UI3 2 | === 3 | 4 | UI scripts and assets for OA3 as it exists so far. 5 | 6 | 7 | 8 | This requires a compiled binary of openarena/gamecode's cgame and ui modules to use (due to many new extensions), and they must be compiled with the missionpack scripts/batches with the -DSCRIPTHUD switch. 9 | -------------------------------------------------------------------------------- /fonts/fontImage_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_0_24.tga -------------------------------------------------------------------------------- /fonts/fontImage_0_32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_0_32.tga -------------------------------------------------------------------------------- /fonts/fontImage_0_9.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_0_9.tga -------------------------------------------------------------------------------- /fonts/fontImage_10.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_10.dat -------------------------------------------------------------------------------- /fonts/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_12.dat -------------------------------------------------------------------------------- /fonts/fontImage_1_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_1_24.tga -------------------------------------------------------------------------------- /fonts/fontImage_1_32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_1_32.tga -------------------------------------------------------------------------------- /fonts/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_24.dat -------------------------------------------------------------------------------- /fonts/fontImage_2_32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_2_32.tga -------------------------------------------------------------------------------- /fonts/fontImage_32.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_32.dat -------------------------------------------------------------------------------- /fonts/fontImage_9.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/fonts/fontImage_9.dat -------------------------------------------------------------------------------- /themesetting.txt: -------------------------------------------------------------------------------- 1 | 2 | // MAKE IT HOW IT LOOKS!!!! This file is not to be pak'd 3 | 4 | 5 | 6 | #include "ui/theme_azure.h" 7 | 8 | //#include "ui/theme_moe.h" 9 | //#include "ui/theme_metal.h" 10 | //#include "ui/theme_kewl.h" 11 | //#include "ui/theme_greenie.h" 12 | 13 | //#include "ui/theme_qlassic.h" 14 | 15 | 16 | // 17 | // 18 | // Change this to 0 to get editboxes, comboboxes, etc. 19 | // Change this to 1 to get multiple choice (less versatile, but allows the gamepad to drive the menu better) 20 | // Hacky but unless someone knows TA UI workings this will have to do on short notice. 21 | // 22 | // 23 | 24 | #define GAMEPAD_FRIENDLY 1 25 | 26 | // 27 | // Change this to 1 to get the tips bar at the bottom 28 | // Change this to 0 to not get the bar at the bottom. 29 | // 30 | // 31 | 32 | #define UICONTEXTUALTIPS 1 -------------------------------------------------------------------------------- /ui/98/health.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/98/health.tga -------------------------------------------------------------------------------- /ui/adjust/gradient.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/adjust/gradient.tga -------------------------------------------------------------------------------- /ui/adjust/overbright.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/adjust/overbright.tga -------------------------------------------------------------------------------- /ui/adjust/picture.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/adjust/picture.tga -------------------------------------------------------------------------------- /ui/adjust/symbol.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/adjust/symbol.tga -------------------------------------------------------------------------------- /ui/assets/checkbox_checked.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/checkbox_checked.tga -------------------------------------------------------------------------------- /ui/assets/checkbox_unchecked.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/checkbox_unchecked.tga -------------------------------------------------------------------------------- /ui/assets/cursor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/cursor.png -------------------------------------------------------------------------------- /ui/assets/fadebox.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/fadebox.tga -------------------------------------------------------------------------------- /ui/assets/gradientbar2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/gradientbar2.tga -------------------------------------------------------------------------------- /ui/assets/oa.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/oa.tga -------------------------------------------------------------------------------- /ui/assets/oawave.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/oawave.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar_arrow_dwn_a.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar_arrow_dwn_a.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar_arrow_left.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar_arrow_left.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar_arrow_right.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar_arrow_right.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar_arrow_up_a.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar_arrow_up_a.tga -------------------------------------------------------------------------------- /ui/assets/scrollbar_thumb.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/scrollbar_thumb.tga -------------------------------------------------------------------------------- /ui/assets/slider2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/slider2.tga -------------------------------------------------------------------------------- /ui/assets/sliderbutt_1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/sliderbutt_1.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/assault.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/assault.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/camp.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/camp.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/death.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/death.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/defend.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/defend.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/escort.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/escort.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/follow.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/follow.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/patrol.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/patrol.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/retrieve.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/retrieve.tga -------------------------------------------------------------------------------- /ui/assets/statusbar/team_leader.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets/statusbar/team_leader.tga -------------------------------------------------------------------------------- /ui/assets5/TabOff.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/TabOff.tga -------------------------------------------------------------------------------- /ui/assets5/TabOn.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/TabOn.tga -------------------------------------------------------------------------------- /ui/assets5/buttonlong1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/buttonlong1.tga -------------------------------------------------------------------------------- /ui/assets5/buttonlong2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/buttonlong2.tga -------------------------------------------------------------------------------- /ui/assets5/buttonmask.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/buttonmask.tga -------------------------------------------------------------------------------- /ui/assets5/chars_l.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/chars_l.tga -------------------------------------------------------------------------------- /ui/assets5/chars_m.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/chars_m.tga -------------------------------------------------------------------------------- /ui/assets5/chars_r.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/chars_r.tga -------------------------------------------------------------------------------- /ui/assets5/cldbg.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/cldbg.tga -------------------------------------------------------------------------------- /ui/assets5/cldbgb.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/cldbgb.tga -------------------------------------------------------------------------------- /ui/assets5/comboboxheader.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/comboboxheader.tga -------------------------------------------------------------------------------- /ui/assets5/emptykey.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/emptykey.tga -------------------------------------------------------------------------------- /ui/assets5/fadedown.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/fadedown.tga -------------------------------------------------------------------------------- /ui/assets5/flight1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/flight1.tga -------------------------------------------------------------------------------- /ui/assets5/gradient32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/gradient32.tga -------------------------------------------------------------------------------- /ui/assets5/gradienthorz32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/gradienthorz32.tga -------------------------------------------------------------------------------- /ui/assets5/hover.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/hover.wav -------------------------------------------------------------------------------- /ui/assets5/keys_chat.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/keys_chat.tga -------------------------------------------------------------------------------- /ui/assets5/keys_move.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/keys_move.tga -------------------------------------------------------------------------------- /ui/assets5/keys_presets.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/keys_presets.tga -------------------------------------------------------------------------------- /ui/assets5/keys_weapons.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/keys_weapons.tga -------------------------------------------------------------------------------- /ui/assets5/locktile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/locktile.tga -------------------------------------------------------------------------------- /ui/assets5/logotype.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/logotype.tga -------------------------------------------------------------------------------- /ui/assets5/models/bg.md3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/models/bg.md3 -------------------------------------------------------------------------------- /ui/assets5/models/bg2.md3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/models/bg2.md3 -------------------------------------------------------------------------------- /ui/assets5/models/oalogo128.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/models/oalogo128.tga -------------------------------------------------------------------------------- /ui/assets5/models/oalogo128ref.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/models/oalogo128ref.tga -------------------------------------------------------------------------------- /ui/assets5/models/oalogolow.md3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/models/oalogolow.md3 -------------------------------------------------------------------------------- /ui/assets5/observe.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/observe.tga -------------------------------------------------------------------------------- /ui/assets5/scan.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/scan.tga -------------------------------------------------------------------------------- /ui/assets5/scan2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/scan2.tga -------------------------------------------------------------------------------- /ui/assets5/select.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/select.wav -------------------------------------------------------------------------------- /ui/assets5/tablong.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/tablong.tga -------------------------------------------------------------------------------- /ui/assets5/uishade.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/uishade.tga -------------------------------------------------------------------------------- /ui/assets5/uishade2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/uishade2.tga -------------------------------------------------------------------------------- /ui/assets5/uishade2b.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/uishade2b.tga -------------------------------------------------------------------------------- /ui/assets5/vignette.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assets5/vignette.tga -------------------------------------------------------------------------------- /ui/assetspcx/discplayer.pcx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/discplayer.pcx -------------------------------------------------------------------------------- /ui/assetspcx/env.pcx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/env.pcx -------------------------------------------------------------------------------- /ui/assetspcx/longgrad.pcx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/longgrad.pcx -------------------------------------------------------------------------------- /ui/assetspcx/longgrad.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/longgrad.tga -------------------------------------------------------------------------------- /ui/assetspcx/techyscroll1.pcx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/techyscroll1.pcx -------------------------------------------------------------------------------- /ui/assetspcx/techyscroll1c.pcx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/assetspcx/techyscroll1c.pcx -------------------------------------------------------------------------------- /ui/atlas/window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/atlas/window.png -------------------------------------------------------------------------------- /ui/bar/main_menu.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2007 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 24 // 12 28 | font "gfx/2d/bigchars" 24 // 16 29 | bigFont "gfx/2d/bigchars" 24 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | 34 | } 35 | 36 | 37 | menuDef { 38 | name "mainmenu" 39 | background MP_BACKGROUND1 40 | fullScreen 1 41 | rect 0 0 640 480 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | 46 | onOpen { 47 | close main; 48 | } 49 | 50 | 51 | #include "ui/common/symbol2.panel" 52 | 53 | 54 | #include "ui/bar/mainmenu.panel" 55 | #include "ui/common/tooltip.panel" 56 | 57 | 58 | } 59 | } 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ui/bar/menubar.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/bar/menubar.tga -------------------------------------------------------------------------------- /ui/buildmeout/ingame.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2007 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 24 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "main" 38 | //background "mpblankbg" 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | setitemcolor fadebox backcolor 0 0 0 1 ; 47 | } 48 | 49 | #include "ui/common/ingamemenu.panel" 50 | 51 | 52 | 53 | } 54 | } 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /ui/common/borders600400.panel: -------------------------------------------------------------------------------- 1 | 2 | // Frame borders 3 | itemDef { 4 | name fgfx 5 | background "ui/atlas/BG" 6 | style 1 7 | type 0 8 | backcolor 1 1 1 1 9 | forecolor 1 1 1 1 10 | cvarTest "ui_borders" 11 | hideCVar { "0" } 12 | decoration 13 | rect 16 32 600 400 14 | border 0 15 | visible 1 16 | hexcolor HEXBORDERS // color schemes 17 | } 18 | 19 | 20 | itemDef { 21 | name fgfx 22 | background "ui/atlas/TL" 23 | style 1 24 | type 0 25 | backcolor 1 1 1 1 26 | forecolor 1 1 1 1 27 | cvarTest "ui_borders" 28 | hideCVar { "0" } 29 | decoration 30 | rect -16 0 32 32 31 | border 0 32 | visible 1 33 | hexcolor HEXBORDERS // color schemes 34 | } 35 | 36 | // Frame borders 37 | itemDef { 38 | name fgfx 39 | background "ui/atlas/T" 40 | style 1 41 | type 0 42 | backcolor 1 1 1 1 43 | forecolor 1 1 1 1 44 | cvarTest "ui_borders" 45 | hideCVar { "0" } 46 | decoration 47 | rect 16 0 600 32 48 | border 0 49 | visible 1 50 | hexcolor HEXBORDERS // color schemes 51 | } 52 | 53 | // Frame borders 54 | itemDef { 55 | name fgfx 56 | background "ui/atlas/TR" 57 | style 1 58 | type 0 59 | backcolor 1 1 1 1 60 | forecolor 1 1 1 1 61 | cvarTest "ui_borders" 62 | hideCVar { "0" } 63 | decoration 64 | rect 616 0 32 32 65 | border 0 66 | visible 1 67 | hexcolor HEXBORDERS // color schemes 68 | } 69 | 70 | itemDef { 71 | name fgfx 72 | background "ui/atlas/BL" 73 | style 1 74 | type 0 75 | backcolor 1 1 1 1 76 | forecolor 1 1 1 1 77 | cvarTest "ui_borders" 78 | hideCVar { "0" } 79 | decoration 80 | rect -16 432 32 32 81 | border 0 82 | visible 1 83 | hexcolor HEXBORDERS // color schemes 84 | } 85 | 86 | // Frame borders 87 | itemDef { 88 | name fgfx 89 | background "ui/atlas/B" 90 | style 1 91 | type 0 92 | backcolor 1 1 1 1 93 | forecolor 1 1 1 1 94 | cvarTest "ui_borders" 95 | hideCVar { "0" } 96 | decoration 97 | rect 16 432 600 32 98 | border 0 99 | visible 1 100 | hexcolor HEXBORDERS // color schemes 101 | } 102 | 103 | // Frame borders 104 | itemDef { 105 | name fgfx 106 | background "ui/atlas/BR" 107 | style 1 108 | type 0 109 | backcolor 1 1 1 1 110 | forecolor 1 1 1 1 111 | cvarTest "ui_borders" 112 | hideCVar { "0" } 113 | decoration 114 | rect 616 432 32 32 115 | border 0 116 | visible 1 117 | hexcolor HEXBORDERS // color schemes 118 | } 119 | 120 | 121 | // Frame borders 122 | itemDef { 123 | name fgfx 124 | background "ui/atlas/L" 125 | style 1 126 | type 0 127 | backcolor 1 1 1 1 128 | forecolor 1 1 1 1 129 | cvarTest "ui_borders" 130 | hideCVar { "0" } 131 | decoration 132 | rect -16 32 32 400 133 | border 0 134 | visible 1 135 | hexcolor HEXBORDERS // color schemes 136 | } 137 | 138 | 139 | // Frame borders 140 | itemDef { 141 | name fgfx 142 | background "ui/atlas/R" 143 | style 1 144 | type 0 145 | backcolor 1 1 1 1 146 | forecolor 1 1 1 1 147 | cvarTest "ui_borders" 148 | hideCVar { "0" } 149 | decoration 150 | rect 616 32 32 400 151 | border 0 152 | visible 1 153 | hexcolor HEXBORDERS // color schemes 154 | } 155 | 156 | 157 | 158 | -------------------------------------------------------------------------------- /ui/common/error.panel: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | itemDef { 6 | name buttontip1 7 | cvar "com_errorMessage" 8 | autowrapped 9 | //background MP_DIALOGBG 10 | 11 | style 1 12 | type ITEM_TYPE_BUTTON 13 | textstyle 2 14 | textscale 0.3 15 | rect 32 122 600 300 16 | decoration 17 | textalignx 32 18 | textaligny 24 19 | forecolor MP_TEXTCOLOR 20 | backcolor MP_DIALOGBGCOLOR 21 | visible 1 22 | } 23 | itemDef { 24 | name buttonmain4 25 | text "Darnit!" 26 | background MP_WIDEBUTTONBG 27 | 28 | style 1 29 | type ITEM_TYPE_BUTTON 30 | textstyle 2 31 | textscale 0.5 32 | rect 72 300 256 32 33 | textalignx 32 34 | textaligny 24 35 | backcolor MP_BUTTONBGCOLOR 36 | forecolor MP_TEXTCOLOR 37 | 38 | action { close error_popmenu; open mainmenu; play MP_SND_SELECT; } 39 | visible 1 40 | } 41 | 42 | itemDef { 43 | name buttonmain5 44 | text BUTTON_QUIT 45 | background MP_WIDEBUTTONBG 46 | 47 | style 1 48 | type ITEM_TYPE_BUTTON 49 | textstyle 2 50 | textscale 0.5 51 | rect 332 300 256 32 52 | textalignx 32 53 | textaligny 24 54 | forecolor MP_TEXTCOLOR 55 | backcolor MP_BUTTONBGCOLOR 56 | action { play MP_SND_SELECT; 57 | uiScript "quit"; } 58 | visible 1 59 | } 60 | 61 | -------------------------------------------------------------------------------- /ui/common/extras.panel: -------------------------------------------------------------------------------- 1 | 2 | 3 | itemDef { 4 | name buttonhmain2 5 | text "Credits" 6 | background MP_WIDEBUTTONBG 7 | 8 | style 1 9 | type ITEM_TYPE_BUTTON 10 | textstyle 2 11 | textscale 0.5 12 | rect 32 204 256 32 13 | textalignx 32 14 | textaligny 24 15 | forecolor MP_TEXTCOLOR 16 | 17 | action { // close main; 18 | close extras; 19 | play MP_SND_SELECT; 20 | open credits; 21 | } 22 | mouseEnter { setcvar ui_cdkeychecked "Contributors list!" fadein tooltip; } mouseExit { fadeout tooltip;} 23 | visible 1 24 | } 25 | 26 | itemDef { 27 | name buttonhmain3 28 | text "Biography" 29 | background MP_WIDEBUTTONBG 30 | 31 | action { 32 | play MP_SND_SELECT; 33 | // close main; 34 | close extras; 35 | open bios; 36 | 37 | } 38 | style 1 39 | type ITEM_TYPE_BUTTON 40 | textstyle 2 41 | textscale 0.5 42 | rect 32 236 256 32 43 | textalignx 32 44 | textaligny 24 45 | forecolor MP_TEXTCOLOR 46 | backcolor MP_BUTTONBGCOLOR 47 | mouseEnter { setcvar ui_cdkeychecked "Useless info for the player characters." fadein tooltip; } mouseExit { fadeout tooltip;} 48 | visible 1 49 | } 50 | 51 | itemDef { 52 | name buttonhmain4 53 | text "Gallery" 54 | background MP_WIDEBUTTONBG 55 | 56 | style 1 57 | type ITEM_TYPE_BUTTON 58 | textstyle 2 59 | textscale 0.5 60 | rect 32 268 256 32 61 | textalignx 32 62 | textaligny 24 63 | forecolor MP_TEXTCOLOR 64 | backcolor MP_BUTTONBGCOLOR 65 | action { 66 | play MP_SND_SELECT; 67 | // close main; 68 | close extras; 69 | open gallery; 70 | 71 | } 72 | visible 1 73 | mouseEnter { setcvar ui_cdkeychecked "Developmental image gallery!" fadein tooltip; } mouseExit { fadeout tooltip;} 74 | } 75 | 76 | itemDef { 77 | name buttonhmain5 78 | text BUTTON_QUIT 79 | background MP_WIDEBUTTONBG 80 | 81 | action { play MP_SND_SELECT; 82 | //close main; 83 | close extras; 84 | open mainmenu; 85 | } 86 | style 1 87 | type ITEM_TYPE_BUTTON 88 | textstyle 2 89 | textscale 0.5 90 | rect 32 300 256 32 91 | textalignx 32 92 | textaligny 24 93 | forecolor MP_TEXTCOLOR 94 | backcolor MP_BUTTONBGCOLOR 95 | mouseEnter { setcvar ui_cdkeychecked "Return to main menu." fadein tooltip; } mouseExit { fadeout tooltip;} 96 | visible 1 97 | } 98 | 99 | -------------------------------------------------------------------------------- /ui/common/fingamemenu.panel: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Use transparency and don't do video. 4 | 5 | itemDef { 6 | name bgtitle 7 | style 3 8 | background "ui/assets4/titlebg" 9 | rect 0 0 640 76 10 | backcolor MP_TEXTCOLOR 11 | visible 1 12 | decoration 13 | } 14 | 15 | itemDef { 16 | name bgback 17 | style 3 18 | background MP_BACKGROUND1 19 | rect 0 102 640 378 20 | backcolor MP_TEXTCOLOR 21 | visible 1 22 | decoration 23 | } 24 | 25 | 26 | 27 | itemDef { 28 | name bgtitle2 29 | style 3 30 | background "multdown" 31 | rect 0 0 640 76 32 | forecolor 0.14 0.70 0.63 1 33 | visible 1 34 | decoration 35 | } 36 | 37 | itemDef { 38 | name bgbg2 39 | style 3 40 | background "multdown" 41 | rect 0 102 640 378 42 | forecolor 0.07 0.30 0.47 1 43 | visible 1 44 | decoration 45 | } 46 | 47 | itemDef { 48 | name bgtitle2 49 | style 3 50 | background "ui/assets4/title2" 51 | rect 0 12 256 64 52 | backcolor MP_TEXTCOLOR 53 | visible 1 54 | decoration 55 | } 56 | 57 | // Our menu 58 | 59 | itemDef { 60 | name amenuarc 61 | style 3 62 | background "ui/assets4/menubar" 63 | rect 0 76 640 26 64 | backcolor MP_TEXTCOLOR 65 | visible 1 66 | decoration 67 | } 68 | itemDef { 69 | name button1 70 | text BUTTON_PLAY 71 | style 1 72 | type ITEM_TYPE_BUTTON 73 | textstyle 5 74 | textscale 0.25 75 | rect 177 77 42 24 76 | textalignx 8 77 | textaligny 18 78 | forecolor MP_TEXTCOLOR 79 | mouseEnter { play MP_SND_SELECT; } 80 | action { 81 | open play; } 82 | visible 1 83 | } 84 | 85 | itemDef { 86 | name button1 87 | text BUTTON_OPTIONS 88 | style 1 89 | type ITEM_TYPE_BUTTON 90 | textstyle 5 91 | textscale 0.25 92 | rect 239 77 42 24 93 | textalignx 8 94 | textaligny 18 95 | forecolor MP_TEXTCOLOR 96 | mouseEnter { play MP_SND_SELECT; } 97 | action { CLOSEITALL; 98 | open options; } 99 | visible 1 100 | } 101 | 102 | 103 | itemDef { 104 | name button1 105 | text "Mods" 106 | style 1 107 | type ITEM_TYPE_BUTTON 108 | textstyle 5 109 | textscale 0.25 110 | rect 318 77 42 24 111 | textalignx 8 112 | textaligny 18 113 | forecolor MP_TEXTCOLOR 114 | mouseEnter { play MP_SND_SELECT; } 115 | action { CLOSEITALL; 116 | open mods; } 117 | visible 1 118 | } 119 | 120 | itemDef { 121 | name button1 122 | text "Help" 123 | style 1 124 | type ITEM_TYPE_BUTTON 125 | textstyle 5 126 | textscale 0.25 127 | rect 381 77 42 24 128 | textalignx 8 129 | textaligny 18 130 | forecolor MP_TEXTCOLOR 131 | mouseEnter { play MP_SND_SELECT; } 132 | action { open play; } 133 | visible 1 134 | } 135 | 136 | itemDef { 137 | name button1 138 | text BUTTON_QUIT 139 | style 1 140 | type ITEM_TYPE_BUTTON 141 | textstyle 5 142 | textscale 0.25 143 | rect 437 77 42 24 144 | textalignx 8 145 | textaligny 18 146 | forecolor MP_TEXTCOLOR 147 | mouseEnter { play MP_SND_SELECT; } 148 | action { uiScript "quit"; } 149 | visible 1 150 | } 151 | 152 | -------------------------------------------------------------------------------- /ui/common/ingamequitmenu.panel: -------------------------------------------------------------------------------- 1 | 2 | itemDef { 3 | name buttonhmain1 4 | text "Back to Menu" 5 | background MP_LONGBUTTONBG 6 | 7 | style 1 8 | type ITEM_TYPE_BUTTON 9 | textstyle 2 10 | textscale 0.5 11 | rect MMENU_OFFSETITEMH 128 512 32 12 | textalign MMENU_ALIGNITEM 13 | textalignx 256 14 | textaligny 24 15 | forecolor MP_TEXTCOLOR 16 | 17 | action { //close main; 18 | close ingamequitmenu; 19 | open ingame; 20 | play MP_SND_SELECT; 21 | } 22 | visible 1 23 | mouseEnter { setcvar ui_tip "Go back to the menu." fadein tooltip; setbackground MP_LONGBUTTONBGA } mouseExit { fadeout tooltip; setbackground MP_LONGBUTTONBG} 24 | hexcolor 0 1 2 3 // color schemes 25 | } 26 | 27 | 28 | 29 | itemDef { 30 | name buttonhmods 31 | text "Disconnect from server" 32 | background MP_LONGBUTTONBG 33 | 34 | action { play MP_SND_SELECT; 35 | //close main; 36 | close mainmenu; 37 | close ingame; 38 | uiScript "leave"; } 39 | style 1 40 | type ITEM_TYPE_BUTTON 41 | cvarTest "ui_menuOrder" 42 | hideCVar { "1" } 43 | textstyle 2 44 | textscale 0.5 45 | rect MMENU_OFFSETITEMH 320 512 32 46 | textalign MMENU_ALIGNITEM 47 | textalignx 256 48 | textaligny 24 49 | forecolor MP_TEXTCOLOR 50 | 51 | mouseEnter { setcvar ui_tip "Quit playing and go back to the main menu" fadein tooltip; setbackground MP_LONGBUTTONBGA } mouseExit { fadeout tooltip; setbackground MP_LONGBUTTONBG} 52 | visible 1 53 | hexcolor 0 1 2 3 // color schemes 54 | } 55 | 56 | 57 | 58 | itemDef { 59 | name buttonhmain5 60 | text "Quit to System" 61 | background MP_LONGBUTTONBG 62 | 63 | 64 | action { play MP_SND_SELECT; 65 | close ingame; 66 | setcvar ui_menutab "0"; 67 | play MP_SND_SELECT; 68 | open ingamequitmenu; 69 | } 70 | 71 | action { play MP_SND_SELECT; 72 | //close main; 73 | close mainmenu; 74 | close ingame; 75 | uiScript "quit"; } 76 | 77 | style 1 78 | type ITEM_TYPE_BUTTON 79 | cvarTest "ui_menuOrder" 80 | hideCVar { "1" } 81 | textstyle 2 82 | textscale 0.5 83 | rect MMENU_OFFSETITEMH 352 512 32 84 | textalign MMENU_ALIGNITEM 85 | textalignx 256 86 | textaligny 24 87 | forecolor MP_TEXTCOLOR 88 | 89 | mouseEnter { setcvar ui_tip "Quit the game. =(" fadein tooltip; setbackground MP_LONGBUTTONBGA } mouseExit { fadeout tooltip; setbackground MP_LONGBUTTONBG} 90 | visible 1 91 | hexcolor 0 1 2 3 // color schemes 92 | } 93 | -------------------------------------------------------------------------------- /ui/common/instantaction.panel: -------------------------------------------------------------------------------- 1 | 2 | // ----------------------------------------------------------- 3 | // TAB 0 - INSTANTACTION 4 | // ----------------------------------------------------------- 5 | 6 | itemDef { 7 | name dmgamefield 8 | text "Instant Action" 9 | background MP_DIALOGBG 10 | backcolor MP_DIALOGBGCOLOR 11 | style 1 12 | type 0 13 | textstyle 2 14 | textscale 0.5 15 | decoration 16 | rect 16 32 600 400 17 | textalignx 32 18 | textaligny 24 19 | border 1 20 | bordercolor MP_BOX_BORDER 21 | visible 1 22 | } 23 | 24 | 25 | 26 | 27 | // always have this button available 28 | 29 | itemDef { 30 | name button1 31 | text "Cancel" 32 | background MP_WIDEBUTTONBG 33 | style 1 34 | type ITEM_TYPE_BUTTON 35 | textstyle 2 36 | textscale 0.5 37 | rect 32 384 256 32 38 | textalignx 32 39 | textaligny 24 40 | backcolor MP_BUTTONBGCOLOR 41 | forecolor MP_TEXTCOLOR 42 | 43 | action { 44 | close instantaction; 45 | 46 | open mainmenu; 47 | 48 | setcvar ui_menutab 0; // reset the tabs 49 | play MP_SND_SELECT; 50 | } 51 | visible 1 52 | } 53 | 54 | 55 | -------------------------------------------------------------------------------- /ui/common/joinserver.panel: -------------------------------------------------------------------------------- 1 | 2 | 3 | // 4 | // The server joining system 5 | // 6 | 7 | // ----------------------------------------------------------- 8 | // TAB 0 - SERVER LIST 9 | // 10 | // ----------------------------------------------------------- 11 | 12 | itemDef { 13 | name dmgamefield 14 | text "PANEL!" 15 | background MP_DIALOGBG 16 | backcolor MP_DIALOGBGCOLOR 17 | style 1 18 | type 0 19 | textstyle 2 20 | textscale 0.5 21 | cvarTest "ui_menutab" 22 | showCVar { "0" } 23 | decoration 24 | rect 16 32 600 100 25 | textalignx 32 26 | textaligny 24 27 | border 1 28 | bordercolor MP_BOX_BORDER 29 | visible 1 30 | hexcolor 0 1 2 3 // color schemes 31 | } 32 | 33 | itemDef { 34 | name teamgamefield 35 | text "SERVERS!" 36 | background MP_DIALOGBG 37 | backcolor MP_DIALOGBGCOLOR 38 | style 1 39 | type 0 40 | textstyle 2 41 | textscale 0.5 42 | decoration 43 | cvarTest "ui_menutab" 44 | showCVar { "0" } 45 | rect 16 132 600 300 46 | textalignx 32 47 | textaligny 24 48 | border 1 49 | bordercolor MP_BOX_BORDER 50 | visible 1 51 | hexcolor 0 1 2 3 // color schemes 52 | } 53 | 54 | 55 | 56 | 57 | // ----------------------------------------------------------- 58 | // TAB X - ALL 59 | // ----------------------------------------------------------- 60 | 61 | 62 | 63 | itemDef { 64 | name tab1 65 | text "Server List" 66 | background "azuretablong" 67 | style 1 68 | type ITEM_TYPE_BUTTON 69 | textstyle 2 70 | textscale 0.333 71 | rect 16 16 128 16 72 | cvarTest "ui_menutab" 73 | hideCVar { "0" } 74 | textalignx 16 75 | textaligny 16 76 | forecolor MP_TEXTCOLOR 77 | 78 | 79 | action { setcvar ui_menutab 0; play MP_SND_SELECT; } 80 | visible 1 81 | hexcolor 0 1 2 3 // color schemes 82 | } 83 | 84 | itemDef { 85 | name tab2 86 | text "Info" 87 | background "azuretablong" 88 | style 1 89 | type ITEM_TYPE_BUTTON 90 | textstyle 2 91 | textscale 0.333 92 | rect 144 16 128 16 93 | cvarTest "ui_menutab" 94 | hideCVar { "1" } 95 | textalignx 16 96 | textaligny 16 97 | forecolor MP_TEXTCOLOR 98 | 99 | action { setcvar ui_menutab 1; play MP_SND_SELECT; } 100 | visible 1 101 | hexcolor 0 1 2 3 // color schemes 102 | } 103 | 104 | // pressed tabs 105 | 106 | 107 | itemDef { 108 | name tab1 109 | text "Server List" 110 | background "azureuntablong" 111 | style 1 112 | type ITEM_TYPE_BUTTON 113 | textstyle 2 114 | textscale 0.333 115 | rect 16 16 128 16 116 | cvarTest "ui_menutab" 117 | showCVar { "0" } 118 | textalignx 16 119 | textaligny 16 120 | decoration 121 | 122 | visible 1 123 | hexcolor 0 1 2 3 // color schemes 124 | } 125 | 126 | itemDef { 127 | name tab2 128 | text "Info" 129 | background "azureuntablong" 130 | style 1 131 | type ITEM_TYPE_BUTTON 132 | textstyle 2 133 | textscale 0.333 134 | rect 144 16 128 16 135 | cvarTest "ui_menutab" 136 | showCVar { "1" } 137 | decoration 138 | textalignx 16 139 | textaligny 16 140 | 141 | visible 1 142 | } 143 | 144 | 145 | // always have this button available 146 | 147 | itemDef { 148 | name button1 149 | text "Cancel" 150 | background MP_WIDEBUTTONBG 151 | style 1 152 | type ITEM_TYPE_BUTTON 153 | textstyle 2 154 | textscale 0.5 155 | rect 32 384 256 32 156 | textalignx 32 157 | textaligny 24 158 | cvarTest "ui_menutab" 159 | showCVar { "0" } 160 | 161 | forecolor MP_TEXTCOLOR 162 | backcolor MP_BUTTONBGCOLOR 163 | mouseEnter { setcvar ui_tip "Go back to main menu." fadein tooltip; } mouseExit { fadeout tooltip;} 164 | action { 165 | close joinserver; 166 | 167 | open mainmenu; 168 | 169 | setcvar ui_menutab 0; // reset the tabs 170 | play MP_SND_SELECT; 171 | } 172 | visible 1 173 | } 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /ui/common/logobackground.panel: -------------------------------------------------------------------------------- 1 | // Pieces together several 256x256 textures to make a nice sharp background for the menu. 2 | // They're 256x256 so we get it looking proper on old hardware. 3 | // Please do not use this for any ingame menus 4 | 5 | 6 | itemDef { 7 | name tes 8 | background "ui/assets5/oalogoback1" 9 | backcolor 1 1 1 1 10 | style 1 11 | type 0 12 | decoration 13 | rect -64 0 256 256 14 | visible 1 15 | } 16 | 17 | itemDef { 18 | name tes 19 | background "ui/assets5/oalogoback2" 20 | backcolor 1 1 1 1 21 | style 1 22 | type 0 23 | decoration 24 | rect -64 256 256 256 25 | visible 1 26 | } 27 | 28 | itemDef { 29 | name tes 30 | background "ui/assets5/oalogoback3" 31 | backcolor 1 1 1 1 32 | style 1 33 | type 0 34 | decoration 35 | rect 192 0 256 256 36 | visible 1 37 | } 38 | 39 | itemDef { 40 | name tes 41 | background "ui/assets5/oalogoback4" 42 | backcolor 1 1 1 1 43 | style 1 44 | type 0 45 | decoration 46 | rect 192 256 256 256 47 | visible 1 48 | } 49 | 50 | 51 | itemDef { 52 | name tes 53 | background "ui/assets5/oalogoback4" 54 | backcolor 1 1 1 1 55 | style 1 56 | type 0 57 | decoration 58 | rect 448 0 256 256 59 | visible 1 60 | } 61 | 62 | itemDef { 63 | name tes 64 | background "ui/assets5/oalogoback5" 65 | backcolor 1 1 1 1 66 | style 1 67 | type 0 68 | decoration 69 | rect 448 256 256 256 70 | visible 1 71 | } 72 | 73 | 74 | itemDef { 75 | name tes 76 | background "models/players/nicebg" 77 | backcolor 0.2 0.2 0.2 1 78 | style 1 79 | type 0 80 | decoration 81 | rect -106 0 853 480 82 | visible 1 83 | } 84 | -------------------------------------------------------------------------------- /ui/common/mapbg.panel: -------------------------------------------------------------------------------- 1 | itemDef { 2 | name mappreviewblurpass1 3 | ownerdraw UI_MAPCINEMATIC 4 | textstyle 2 5 | textscale 0.5 6 | backcolor 0 0 0 .0 7 | forecolor 1 1 1 0.25 8 | decoration 9 | rect -110 -110 880 660 10 | textalignx 0 11 | textaligny 0 12 | border 0 13 | bordercolor MP_BOX_BORDER 14 | visible 1 15 | } 16 | 17 | itemDef { 18 | name mappreviewblurpass2 19 | ownerdraw UI_MAPCINEMATIC 20 | textstyle 2 21 | textscale 0.5 22 | backcolor 0 0 0 .0 23 | forecolor 1 1 1 0.25 24 | decoration 25 | rect -100 -110 880 660 26 | textalignx 0 27 | textaligny 0 28 | border 0 29 | bordercolor MP_BOX_BORDER 30 | visible 1 31 | } 32 | 33 | itemDef { 34 | name mappreviewblurpass3 35 | ownerdraw UI_MAPCINEMATIC 36 | textstyle 2 37 | textscale 0.5 38 | backcolor 0 0 0 .0 39 | forecolor 1 1 1 0.25 40 | decoration 41 | rect -100 -100 880 660 42 | textalignx 0 43 | textaligny 0 44 | border 0 45 | bordercolor MP_BOX_BORDER 46 | visible 1 47 | } 48 | 49 | itemDef { 50 | name mappreviewblurpass4 51 | ownerdraw UI_MAPCINEMATIC 52 | textstyle 2 53 | textscale 0.5 54 | backcolor 0 0 0 .0 55 | forecolor 1 1 1 0.25 56 | decoration 57 | rect -110 -100 880 660 58 | textalignx 0 59 | textaligny 0 60 | border 0 61 | bordercolor MP_BOX_BORDER 62 | visible 1 63 | } 64 | 65 | /* 66 | itemDef { 67 | name trophied 68 | style 1 69 | textstyle 2 70 | decoration 71 | textscale 0.5 72 | rect -110 -110 880 660 73 | backcolor 0 0 0 .7 74 | visible 1 75 | } 76 | */ -------------------------------------------------------------------------------- /ui/common/mirrorbackground.panel: -------------------------------------------------------------------------------- 1 | // Like menubackground, but has the other half flipped, for a symmetrical background that may take less vram 2 | // Please do not use this for any ingame menus 3 | 4 | 5 | itemDef { 6 | name tes 7 | background "ui/assets5/oalogoback1" 8 | backcolor 1 1 1 1 9 | style 1 10 | type 0 11 | decoration 12 | rect -64 0 256 256 13 | visible 1 14 | } 15 | 16 | itemDef { 17 | name tes 18 | background "ui/assets5/oalogoback2" 19 | backcolor 1 1 1 1 20 | style 1 21 | type 0 22 | decoration 23 | rect -64 256 256 256 24 | visible 1 25 | } 26 | 27 | itemDef { 28 | name tes 29 | background "ui/assets5/oalogoback1" 30 | backcolor 1 1 1 1 31 | style 1 32 | type 0 33 | decoration 34 | rect 384 0 -256 256 35 | visible 1 36 | } 37 | 38 | itemDef { 39 | name tes 40 | background "ui/assets5/oalogoback2" 41 | backcolor 1 1 1 1 42 | style 1 43 | type 0 44 | decoration 45 | rect 384 256 -256 256 46 | visible 1 47 | } 48 | 49 | 50 | 51 | itemDef { 52 | name tes 53 | background "ui/assets5/oalogoback3" 54 | backcolor 1 1 1 1 55 | style 1 56 | type 0 57 | decoration 58 | rect 192 0 256 256 59 | visible 1 60 | } 61 | 62 | itemDef { 63 | name tes 64 | background "ui/assets5/oalogoback4" 65 | backcolor 1 1 1 1 66 | style 1 67 | type 0 68 | decoration 69 | rect 192 256 256 256 70 | visible 1 71 | } 72 | 73 | 74 | -------------------------------------------------------------------------------- /ui/common/profile.panel: -------------------------------------------------------------------------------- 1 | itemDef { 2 | name button1 3 | text "" 4 | background "azurebuttoncombo" 5 | style 1 6 | type ITEM_TYPE_MULTI 7 | cvar "ui_q3model" 8 | cvarFloatList { "Team Skin" 0 "Match Skin" 1 } 9 | textstyle 2 10 | textscale 0.5 11 | rect 32 108 256 32 12 | textalignx 8 13 | textaligny 26 14 | backcolor MP_BUTTON2BGCOLOR 15 | forecolor MP_TEXTCOLOR 16 | mouseEnter { setcvar ui_tip "Switch setting for Team or DM model." fadein tooltip; } mouseExit { fadeout tooltip;} 17 | visible 1 18 | } 19 | 20 | itemDef { 21 | name playerlist 22 | rect 32 140 256 132 23 | type ITEM_TYPE_LISTBOX 24 | style WINDOW_STYLE_FILLED 25 | elementwidth 32 26 | elementheight 18 27 | cvarTest "ui_q3model" 28 | hideCVar { "0" } 29 | textscale .33 30 | elementtype LISTBOX_TEXT 31 | feeder FEEDER_Q3HEADS 32 | textalign 0 33 | background MP_DIALOGBG 34 | backcolor MP_DIALOGBGCOLOR 35 | textaligny 16 36 | border 1 37 | bordercolor MP_BOX_BORDER 38 | forecolor MP_BOX_FORE 39 | backcolor MP_BOX_BACK 40 | outlinecolor MP_BOX_OUTLINE 41 | visible 1 42 | columns 1 2 190 25 43 | mouseEnter { setcvar ui_tip "Pick a character." fadein tooltip; } mouseExit { fadeout tooltip;} 44 | } 45 | 46 | 47 | itemDef { 48 | name playerlist2 49 | rect 32 140 64 132 50 | type ITEM_TYPE_LISTBOX 51 | style WINDOW_STYLE_FILLED 52 | elementwidth 32 53 | elementheight 32 54 | cvarTest "ui_q3model" 55 | hideCVar { "1" } 56 | textscale .33 57 | elementtype 2 58 | feeder FEEDER_HEADS 59 | textalign 0 60 | background MP_DIALOGBG 61 | backcolor MP_DIALOGBGCOLOR 62 | textaligny 16 63 | border 1 64 | bordercolor MP_BOX_BORDER 65 | forecolor MP_BOX_FORE 66 | backcolor MP_BOX_BACK 67 | outlinecolor MP_BOX_OUTLINE 68 | visible 1 69 | columns 1 2 190 25 70 | mouseEnter { setcvar ui_tip "Pick a head." fadein tooltip; } mouseExit { fadeout tooltip;} 71 | } 72 | 73 | 74 | 75 | 76 | 77 | itemDef { 78 | name playery 79 | background MP_DIALOGBG 80 | backcolor MP_DIALOGBGCOLOR 81 | style 1 82 | type 0 83 | textstyle 2 84 | textscale 0.5 85 | decoration 86 | rect 330 80 300 320 87 | textalignx 32 88 | textaligny 24 89 | border 1 90 | bordercolor MP_BOX_BORDER 91 | visible 1 92 | } 93 | 94 | itemDef { 95 | name playery 96 | background "azuredisc" 97 | style 1 98 | type 0 99 | textstyle 2 100 | textscale 0.5 101 | decoration 102 | rect 350 320 256 64 103 | bordercolor MP_BOX_BORDER 104 | visible 1 105 | } 106 | 107 | 108 | 109 | itemDef { 110 | name themodel 111 | ownerdraw UI_PLAYERMODEL 112 | rect 330 0 300 480 113 | //rect 0 -270 950 1000 114 | //type ITEM_TYPE_MODEL 115 | model_rotation 5 116 | cvarTest "ui_browserSortKey" 117 | showCVar { "0" } 118 | style 0 119 | decoration 120 | visible 1 121 | } 122 | 123 | itemDef { 124 | name themodel2 125 | ownerdraw UI_PLAYERMODEL2 126 | rect 330 0 300 480 127 | //rect 0 -270 950 1000 128 | cvarTest "ui_browserSortKey" 129 | showCVar { "1" } 130 | style 0 131 | decoration 132 | visible 1 133 | } 134 | itemDef { 135 | name themodelf3 136 | //ownerdraw UI_PLAYERMODEL 137 | rect 330 0 300 480 138 | //rect -640 -480 1280 3280 139 | cvarTest "ui_browserSortKey" 140 | showCVar { "2" } 141 | type ITEM_TYPE_MODEL 142 | asset_model "models/misc/telep.md3" 143 | model_fovx 90 144 | model_fovy 90 145 | model_rotation 5 146 | style 0 147 | decoration 148 | visible 1 149 | } 150 | 151 | 152 | 153 | 154 | 155 | 156 | itemDef { 157 | name playersname 158 | text "Name" 159 | background "azurebuttoncombo" 160 | style 1 161 | type 0 162 | textstyle 2 163 | textscale 0.5 164 | rect 32 300 256 64 165 | textalignx 16 166 | decoration 167 | textaligny 26 168 | backcolor MP_BUTTON2BGCOLOR 169 | forecolor MP_TEXTCOLOR 170 | 171 | visible 1 172 | } 173 | itemDef { 174 | name settintheplayername 175 | text "" 176 | cvar "ui_Name" 177 | style 0 178 | type ITEM_TYPE_EDITFIELD 179 | maxChars 40 180 | maxPaintChars 10 181 | textstyle 2 182 | textscale 0.5 183 | rect 32 332 256 32 184 | textalignx 32 185 | textaligny 26 186 | forecolor MP_TEXTCOLOR 187 | mouseEnter { setcvar ui_tip "TYPE the name you wish to use. ^1(No real names!)" fadein tooltip; } mouseExit { fadeout tooltip;} 188 | visible 1 189 | } -------------------------------------------------------------------------------- /ui/common/quit.panel: -------------------------------------------------------------------------------- 1 | // Credits scroller 2 | 3 | onOpen { 4 | 5 | transition creditse 32 480 400 1024 32 -2480 400 1024 1 2000; 6 | transition creditset 32 480 400 1024 32 -2480 400 1024 1 2000; 7 | transition creditseh 32 480 400 1024 32 -2480 400 1024 1 2000; 8 | 9 | 10 | } 11 | 12 | 13 | onEsc { close quitter; open mainmenu} 14 | 15 | itemDef { 16 | name creditse 17 | text "\n^7fromhell\nproject lead, 2D/3D artist, sound designer, additional engine programming, creative director\n\n^7Sago007\ngame programmer, cross-compiler\n\n^7hitchhiker\nshader programming\n\n^7Wayuki\nVoice acting\n\n^7fuzztooth\nVoice acting, hosting\n\n^7Willis\nMaster server provider\n\nMAP CONTRIBUTORS\n\n^7Neon_Knight\n^7Kit89\n^7Cosmo\n^7jangroothse\n^7pulchr\n^7Spirit\n^7Akom74\n^7Gig\n^7meisterlampf\n\n\n\n\n\n " 18 | style 1 19 | textstyle 2 20 | textscale 0.5 21 | rect 32 480 400 1024 22 | textalignx 32 23 | textaligny 24 24 | backcolor 0 0 0 0 25 | autowrapped 26 | forecolor MP_TEXTCOLOR 27 | visible 1 28 | decoration 29 | } 30 | 31 | itemDef { 32 | name creditseh 33 | text "\nSpecial thanks:\nStefan for pdsound.org\nFree Firearms SFX Project\bFree Medieval Weapons SFX project\nJonathan of BlenderCookie\n\n\n\n\nAND YOU!!!!!!!!!\n\n\n\n\n\n^1If I forgot someone who definitely contributed to OA3 please let me know\n" 34 | style 1 35 | textstyle 2 36 | textscale 0.5 37 | rect 32 480 400 1024 38 | textalignx 32 39 | textaligny 824 40 | backcolor 0 0 0 0 41 | autowrapped 42 | forecolor MP_TEXTCOLOR 43 | visible 1 44 | decoration 45 | } 46 | 47 | 48 | itemDef { 49 | name creditset 50 | text "\n(C)2005-2015 OA Team\n\n\n\nThe engine is based on work of ioq3 which in turn is truthfully based on idTech 3 engine technology by id Software, released under the GNU GPL version 2. (C)1999-2000 id Software" 51 | style 1 52 | textstyle 2 53 | textscale 0.5 54 | rect 32 480 400 1024 55 | textalignx 32 56 | textaligny 1924 57 | backcolor 0 0 0 0 58 | autowrapped 59 | forecolor MP_TEXTCOLOR 60 | visible 1 61 | decoration 62 | } 63 | 64 | 65 | 66 | 67 | itemDef { 68 | name button1 69 | text "ya rly" 70 | background MP_WIDEBUTTONBG 71 | style 1 72 | type ITEM_TYPE_BUTTON 73 | textstyle 2 74 | textscale 0.5 75 | rect 235 236 256 32 76 | textalignx 32 77 | textaligny 24 78 | 79 | 80 | forecolor MP_TEXTCOLOR 81 | backcolor MP_BUTTONBGCOLOR 82 | action { uiScript "quit"; } 83 | visible 1 84 | } 85 | 86 | itemDef { 87 | name button1 88 | text "no wai" 89 | background MP_WIDEBUTTONBG 90 | style 1 91 | type ITEM_TYPE_BUTTON 92 | textstyle 2 93 | textscale 0.5 94 | rect 235 268 256 32 95 | textalignx 32 96 | textaligny 24 97 | 98 | 99 | forecolor MP_TEXTCOLOR 100 | backcolor MP_BUTTONBGCOLOR 101 | action { close quitter; open mainmenu} 102 | visible 1 103 | } 104 | 105 | -------------------------------------------------------------------------------- /ui/common/symbol.panel: -------------------------------------------------------------------------------- 1 | /*itemDef { 2 | name backgroundstreamers 3 | rect 0 0 640 480 4 | type ITEM_TYPE_MODEL 5 | asset_model "ui/assets5/models/bg2.md3" 6 | model_fovx 20 7 | model_fovy 20 8 | model_angle 0 0 0 9 | style 0 10 | decoration 11 | visible 1 12 | } 13 | */ 14 | 15 | itemDef { 16 | name backgroundwave 17 | //rect 0 0 640 480 18 | rect -320 0 1280 480 19 | 20 | asset_model MP_BACKGROUNDMODEL 21 | asset_model "ui/assets5/models/bg.md3" 22 | model_fovx 15 23 | model_fovy 15 24 | model_angle 180 0 0 25 | style 0 26 | decoration 27 | visible 1 28 | cvarTest "ui_no3dbg" 29 | hideCVar { "1" } 30 | } 31 | 32 | 33 | itemDef { 34 | name spinninglogo 35 | rect 0 0 640 480 36 | type ITEM_TYPE_MODEL 37 | asset_model "ui/assets5/models/oalogo.md3" 38 | model_fovx 70 39 | model_fovy 50 40 | model_rotation 12 41 | model_angle 0 0 0 42 | style 0 43 | decoration 44 | visible 1 45 | cvarTest "ui_no3dbg" 46 | hideCVar { "1" } 47 | } 48 | -------------------------------------------------------------------------------- /ui/common/symbol2.panel: -------------------------------------------------------------------------------- 1 | // Because some old peecees hate that spinning symbol. :( 2 | 3 | itemDef { 4 | name backgroundwave 5 | // rect -320 0 1280 480 6 | rect -835 0 2340 480 // ultra wide screen 7 | type ITEM_TYPE_MODEL 8 | asset_model MP_BACKGROUNDMODEL 9 | model_fovx 15 10 | model_fovy 15 11 | model_angle 180 0 0 12 | style 0 13 | decoration 14 | visible 1 15 | backcolor MP_DIALOGBGCOLOR 16 | forecolor MP_DIALOGBGCOLOR 17 | color MP_DIALOGBGCOLOR 18 | cvarTest "ui_no3dbg" 19 | hideCVar { "1" } 20 | } 21 | 22 | 23 | 24 | itemDef { 25 | name backgroundwave 26 | background "ui/assets/oawave" 27 | // rect -320 0 1280 480 28 | rect -835 0 2340 480 // ultra wide screen 29 | model_fovx 15 30 | model_fovy 15 31 | model_angle 180 0 0 32 | style 0 33 | decoration 34 | visible 1 35 | backcolor MP_DIALOGBGCOLOR 36 | forecolor MP_DIALOGBGCOLOR 37 | color MP_DIALOGBGCOLOR 38 | cvarTest "ui_no3dbg" 39 | hideCVar { "1" } 40 | } 41 | 42 | 43 | itemDef { 44 | name spinninglogo 45 | //rect -835 0 340 480 // ultra wide screen 46 | rect 0 0 640 480 // ultra wide screen 47 | 48 | type ITEM_TYPE_MODEL 49 | asset_model "ui/assets5/models/oalogolow.md3" 50 | model_fovx 54 51 | model_fovy 45 52 | model_rotation 12 53 | model_angle 0 0 0 54 | style 0 55 | decoration 56 | visible 1 57 | cvarTest "ui_3dsymbol" 58 | showCVar { "1" } 59 | } 60 | /* 61 | 62 | itemDef { 63 | name backgroundwaved 64 | background "ui/assets/oa" 65 | 66 | style 1 67 | type ITEM_TYPE_BUTTON 68 | 69 | // rect -320 0 1280 480 70 | rect -128 -64 640 640 // ultra wide screen 71 | decoration 72 | visible 1 73 | backcolor 0 0 0 0.5 74 | scralign ALIGN_LEFT 75 | scralignfactor 1.0 76 | 77 | } 78 | 79 | */ 80 | 81 | /* 82 | itemDef { 83 | name backgroundwaved 84 | background AzureBGBlendover 85 | 86 | style 1 87 | type ITEM_TYPE_BUTTON 88 | 89 | // rect -320 0 1280 480 90 | rect -835 0 2340 480 // ultra wide screen 91 | decoration 92 | visible 1 93 | backcolor 0.6 0.8 1 1 94 | 95 | } 96 | 97 | */ 98 | 99 | #ifdef USECINEMATICS 100 | itemDef { 101 | name backgroundcinemtic 102 | rect 0 0 640 480 103 | style 1 104 | cinematic MP_CINBG 105 | decoration 106 | visible 1 107 | } 108 | 109 | #endif -------------------------------------------------------------------------------- /ui/common/symbol4.panel: -------------------------------------------------------------------------------- 1 | // Because some old peecees hate that spinning symbol. :( 2 | itemDef { 3 | name backgroundwaved 4 | background ingamemenublendbg 5 | 6 | style 1 7 | type ITEM_TYPE_BUTTON 8 | 9 | // rect -320 0 1280 480 10 | rect -835 0 2340 480 // ultra wide screen 11 | decoration 12 | visible 1 13 | backcolor MP_BUTTONBGCOLOR 14 | hexcolor 0 1 2 3 // color schemes 15 | } 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ui/common/tooltip.panel: -------------------------------------------------------------------------------- 1 | // Tool tips 2 | #ifdef UICONTEXTUALTIPS 3 | itemDef { 4 | name tooltipb 5 | style 1 6 | type 0 7 | textstyle 2 8 | backcolor TIP_BG 9 | cvarTest "ui_hidehelp" 10 | hideCVar { "1" } 11 | textscale 0.4 12 | decoration 13 | //rect -1 440 640 40 14 | //rect -321 440 1280 40 15 | rect -835 440 2340 40 // modified for ultra wide screen (5760x1200) 16 | 17 | textalignx 32 18 | textaligny 16 19 | border 1 20 | bordercolor MP_BOX_BORDER 21 | visible 1 22 | } 23 | 24 | itemDef { 25 | name ver 26 | text OA3VERSION 27 | style 1 28 | type 0 29 | textstyle 2 30 | cvarTest "ui_hidehelp" 31 | hideCVar { "1" } 32 | textscale 0.2 33 | decoration 34 | rect 0 457 639 32 35 | scralign ALIGN_LEFT 36 | forecolor TIP_SMALLTEXT 37 | textalignx 12 38 | textaligny 16 39 | visible 1 40 | } 41 | 42 | 43 | 44 | itemDef { 45 | name tooltip 46 | cvar "ui_tip" 47 | style 1 48 | type 0 49 | textstyle 2 50 | textscale 0.4 51 | decoration 52 | cvarTest "ui_hidehelp" 53 | hideCVar { "1" } 54 | rect 0 447 639 32 55 | scralign ALIGN_LEFT 56 | forecolor TIP_COLOR 57 | textalignx 12 58 | textaligny 16 59 | visible 1 60 | } 61 | #endif 62 | 63 | 64 | -------------------------------------------------------------------------------- /ui/common/tooltipUC.panel: -------------------------------------------------------------------------------- 1 | #ifdef UICONTEXTUALTIPS 2 | // Tool tips 3 | // this one also notes severely unfinished area 4 | itemDef { 5 | name tooltipb 6 | style 1 7 | type 0 8 | textstyle 2 9 | backcolor 0.0 0.0 0.0 1.0 10 | textscale 0.4 11 | decoration 12 | rect -1 440 640 40 13 | textalignx 32 14 | textaligny 16 15 | border 1 16 | bordercolor MP_BOX_BORDER 17 | visible 1 18 | } 19 | 20 | itemDef { 21 | name tooltipped 22 | cvar "^1UNDER CONSTRUCTION - FUNCTIONALITY MAY BE BROKEN" 23 | style 1 24 | type 0 25 | textstyle 2 26 | textscale 0.5 27 | decoration 28 | rect 0 447 639 32 29 | textalignx 12 30 | textaligny 16 31 | visible 1 32 | } 33 | 34 | #endif -------------------------------------------------------------------------------- /ui/connecting.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | #define GOBACKTOMAIN "mainmenu" 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | fadeClamp 1.0 34 | fadeCycle 1 35 | fadeAmount 0.1 36 | } 37 | 38 | 39 | menuDef { 40 | name "connect" 41 | background MP_BACKGROUND1 42 | fullScreen 1 43 | rect 0 0 640 480 44 | visible 0 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | // Background stuff 49 | 50 | 51 | 52 | // Faded background 53 | itemDef { 54 | name mappreviewblurpass6 55 | decoration 56 | background MP_DIALOGBG 57 | style 1 58 | type 0 59 | rect -1280 0 2850 480 60 | 61 | backcolor 1.0 1.0 1.0 1.0 62 | 63 | visible 1 64 | hexcolor HEXGENERIC 65 | } 66 | 67 | 68 | // Faded background 69 | itemDef { 70 | name mappreviewblurpass6 71 | decoration 72 | background MP_DIALOGBG 73 | style 1 74 | type 0 75 | rect -1280 0 2850 480 76 | 77 | backcolor 1.0 1.0 1.0 0.8 78 | 79 | visible 1 80 | hexcolor HEXGENERIC 81 | } 82 | 83 | 84 | 85 | 86 | 87 | } 88 | 89 | } 90 | } 91 | } 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /ui/console/audio.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/console/audio.tga -------------------------------------------------------------------------------- /ui/console/controls.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/console/controls.tga -------------------------------------------------------------------------------- /ui/console/display.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/console/display.tga -------------------------------------------------------------------------------- /ui/console/main_options.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 24 30 | cursor "ui/assets/cursor" 31 | checkbox_checked "ui/assets/cursor" 32 | checkbox_unchecked "ui/assets/gs" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "optionsmenu" 40 | background MP_BACKGROUND1 41 | fullScreen 1 42 | rect 0 0 640 480 43 | 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | onOpen { 49 | //uiScript loadGameInfo ; 50 | //uiScript updateSPMenu ; 51 | close main; 52 | } 53 | #include "ui/common/symbol2.panel" 54 | #include "ui/common/console_options.panel" 55 | 56 | 57 | // always have this button available 58 | 59 | itemDef { 60 | name button1 61 | text "Okay!" 62 | background MP_WIDEBUTTONBG 63 | style 1 64 | type ITEM_TYPE_BUTTON 65 | textstyle 2 66 | textscale 0.5 67 | rect 32 384 256 32 68 | textalignx 32 69 | textaligny 24 70 | cvarTest "ui_browserSortKey" 71 | hideCVar { "9" } 72 | 73 | forecolor MP_TEXTCOLOR 74 | backcolor MP_BUTTONBGCOLOR 75 | action { 76 | open mainmenu; 77 | setcvar ui_menutab 0; // reset the tabs 78 | close optionsmenu; 79 | play MP_SND_SELECT; 80 | } 81 | visible 1 82 | } 83 | 84 | 85 | 86 | 87 | 88 | 89 | #include "ui/common/tooltip.panel" 90 | 91 | 92 | } 93 | } 94 | } 95 | } 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /ui/console/players.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/console/players.tga -------------------------------------------------------------------------------- /ui/console_main_menu.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | 34 | } 35 | 36 | 37 | menuDef { 38 | name "mainmenu" 39 | background MP_BACKGROUND1 40 | fullScreen 1 41 | rect 0 0 640 480 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | 46 | onOpen { 47 | close main; 48 | } 49 | 50 | 51 | #include "ui/common/symbol2.panel" 52 | 53 | #ifdef PLAYERPORTRAITS 54 | // If one of those menus, display the portrait of the character! 55 | 56 | itemDef { 57 | name thisisyou 58 | background "portraits/sorceress" 59 | style 1 60 | textstyle 2 61 | textscale 0.5 62 | rect 0 32 448 448 63 | scralign ALIGN_LEFT 64 | scralignfactor 0.7 65 | forecolor 1 1 1 1 66 | backcolor 1 1 1 1 67 | visible 1 68 | decoration 69 | } 70 | 71 | #endif 72 | 73 | 74 | #include "ui/console/mainmenu.panel" 75 | #include "ui/common/tooltip.panel" 76 | 77 | 78 | } 79 | } 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ui/console_profile.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "profile" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { uiScript update "ui_GetName"; } 46 | onClose { uiScript update "ui_SetName"; } 47 | onEsc { close profile; 48 | uiScript update "ui_SetName"; 49 | open mainmenu; 50 | play MP_SND_SELECT; 51 | } 52 | #include "ui/common/symbol2.panel" 53 | #include "ui/console/profile_unlockable.panel" 54 | #include "ui/common/tooltip.panel" 55 | itemDef { 56 | name button1 57 | text "Okay!" 58 | background "azurebuttonlong" 59 | style 1 60 | type ITEM_TYPE_BUTTON 61 | textstyle 2 62 | textscale 0.5 63 | rect 32 364 256 32 64 | textalignx 32 65 | textaligny 24 66 | cvarTest "ui_menutab" 67 | showCVar { "0" } 68 | forecolor MP_TEXTCOLOR 69 | backcolor MP_BUTTONBGCOLOR 70 | action { close profile; 71 | uiScript update "ui_SetName"; 72 | open mainmenu; 73 | play MP_SND_SELECT; 74 | } 75 | visible 1 76 | } 77 | 78 | } 79 | } 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ui/debug/dithering.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/dithering.tga -------------------------------------------------------------------------------- /ui/debug/grid.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/grid.tga -------------------------------------------------------------------------------- /ui/debug/justdarkerdots.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/justdarkerdots.tga -------------------------------------------------------------------------------- /ui/debug/justdots.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/justdots.tga -------------------------------------------------------------------------------- /ui/debug/testbilinear.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2007 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | #define GOBACKTOMAIN "mainmenu" 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 48 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | fadeClamp 1.0 34 | fadeCycle 1 35 | fadeAmount 0.1 36 | } 37 | 38 | 39 | menuDef { 40 | name "bilineartest" 41 | background MP_BACKGROUND1 42 | fullScreen 1 43 | rect 0 0 853 480 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | onOpen { //open mainmenu; 49 | 50 | //close main; 51 | } 52 | 53 | 54 | // These gradients are huge and should expose filtering precision. 55 | itemDef { 56 | name scoreffabtotom 57 | background "gradhorz" 58 | style 1 59 | type 0 60 | decoration 61 | backcolor 0.05 0.6 0.8 0.7 62 | //backcolor 0.1 0.1 0.1 0.9 63 | scralign ALIGN_RIGHT 64 | rect 320 0 320 480 65 | visible 1 66 | } 67 | 68 | itemDef { 69 | name scoreffabgtotom 70 | background "gradhorzv" 71 | style 1 72 | type 0 73 | decoration 74 | backcolor 0.6 0.0 0.2 0.7 75 | //backcolor 0.1 0.1 0.1 0.9 76 | scralign ALIGN_LEFT 77 | rect 0 0 320 480 78 | visible 1 79 | } 80 | 81 | 82 | itemDef { 83 | name scoreffabtotom 84 | background "grad" 85 | style 1 86 | type 0 87 | decoration 88 | backcolor 0.05 0.6 0.8 0.8 89 | backcolor 0.1 0.1 0.1 0.9 90 | 91 | rect -640 0 1920 256 92 | visible 1 93 | } 94 | 95 | itemDef { 96 | name scoreffabtotom 97 | background "gradv" 98 | style 1 99 | type 0 100 | decoration 101 | backcolor 0.05 0.6 0.8 0.8 102 | backcolor 0.0 0.0 0.0 0.9 103 | 104 | rect -640 240 1920 256 105 | visible 1 106 | } 107 | 108 | itemDef { 109 | name button1 110 | text "Back" 111 | background "azurebuttonlong" 112 | style 1 113 | action { open debug;close bilineartest} 114 | type ITEM_TYPE_BUTTON 115 | textstyle 2 116 | textscale 0.5 117 | rect 460 420 256 32 118 | textalignx 32 119 | textaligny 24 120 | forecolor MP_TEXTCOLOR 121 | 122 | visible 1 123 | } 124 | 125 | } 126 | 127 | } 128 | } 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /ui/debug/testtmufilter.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2007 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | #define GOBACKTOMAIN "mainmenu" 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 48 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | fadeClamp 1.0 34 | fadeCycle 1 35 | fadeAmount 0.1 36 | } 37 | 38 | 39 | menuDef { 40 | name "texfiltertest" 41 | background MP_BACKGROUND1 42 | fullScreen 1 43 | rect 0 0 853 480 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | onOpen { //open mainmenu; 49 | 50 | //close main; 51 | } 52 | 53 | 54 | itemDef { 55 | name button1 56 | text "Back" 57 | background "azurebuttonlong" 58 | style 1 59 | action { open debug;close fexfiltertest} 60 | type ITEM_TYPE_BUTTON 61 | textstyle 2 62 | textscale 0.5 63 | rect 460 420 256 32 64 | textalignx 32 65 | textaligny 24 66 | forecolor MP_TEXTCOLOR 67 | 68 | visible 1 69 | } 70 | 71 | itemDef { 72 | name explainer 73 | text "Texture Gradients. Left side is 16x16, right side is 256x32" 74 | style 1 75 | type 0 76 | textstyle 2 77 | textscale 0.27 78 | autowrapped 79 | forecolor 0.4 0.4 0.5 1 80 | decoration 81 | rect 32 60 500 130 82 | textalignx 12 83 | textaligny 16 84 | visible 1 85 | } 86 | 87 | 88 | 89 | itemDef { 90 | name spinninglogo 91 | rect 0 0 640 480 92 | type ITEM_TYPE_MODEL 93 | asset_model "models/testing/sorcmedium.md3" 94 | model_fovx 70 95 | model_fovy 50 96 | model_rotation 12 97 | model_angle 0 0 0 98 | style 0 99 | decoration 100 | visible 1 101 | } 102 | 103 | 104 | itemDef { 105 | name gradient1 106 | style 1 107 | background "truegradient" 108 | type 1 109 | decoration 110 | rect 67 120 256 256 111 | 112 | visible 1 113 | } 114 | 115 | itemDef { 116 | name gradient2 117 | style 1 118 | background "biggradient" 119 | type 1 120 | decoration 121 | rect 323 120 256 256 122 | 123 | visible 1 124 | } 125 | } 126 | 127 | } 128 | } 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /ui/debug/testure.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/testure.tga -------------------------------------------------------------------------------- /ui/debug/testure2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/debug/testure2.tga -------------------------------------------------------------------------------- /ui/error.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "error_popmenu" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | popup 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | onOpen { 46 | //close main; 47 | //open mainmenu; 48 | setcvar timedemo 0; // always turn this off when entering the menu, may be an inconvenience to powerusers though 49 | play "ui/voice/error"; 50 | setcvar ui_showError "1" 51 | } 52 | 53 | 54 | #include "ui/common/error.panel" 55 | 56 | 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /ui/hud-98.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_98.menu" } 6 | loadMenu { "ui/hud_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud-hm.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_hm.menu" } 6 | loadMenu { "ui/hud_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud-low.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/low_hud.menu" } 6 | loadMenu { "ui/low_score.menu" } 7 | loadMenu { "ui/low_teamscore.menu" } 8 | } 9 | -------------------------------------------------------------------------------- /ui/hud-modern.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_modern.menu" } 6 | loadMenu { "ui/hud_scoreboard_modern.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud-retro.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_retro.menu" } 6 | loadMenu { "ui/hud_retro_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud-same.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_same.menu" } 6 | loadMenu { "ui/hud_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud-simple.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/simple_hud.menu" } 6 | loadMenu { "ui/score.menu" } 7 | loadMenu { "ui/teamscore.menu" } 8 | } 9 | -------------------------------------------------------------------------------- /ui/hud-slander.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud_slander.menu" } 6 | loadMenu { "ui/hud_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud.txt: -------------------------------------------------------------------------------- 1 | // hud menu defs 2 | // 3 | { 4 | loadMenu { "ui/loading.menu" } 5 | loadMenu { "ui/hud.menu" } 6 | loadMenu { "ui/hud_scoreboard.menu" } 7 | } 8 | -------------------------------------------------------------------------------- /ui/hud/ambar.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/ambar.tga -------------------------------------------------------------------------------- /ui/hud/cornerbars.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/cornerbars.tga -------------------------------------------------------------------------------- /ui/hud/diagfade.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/diagfade.tga -------------------------------------------------------------------------------- /ui/hud/habar.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/habar.tga -------------------------------------------------------------------------------- /ui/hud/habar_top.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/habar_top.tga -------------------------------------------------------------------------------- /ui/hud/hudpieces.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/hudpieces.tga -------------------------------------------------------------------------------- /ui/hud/same_hlth.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/hud/same_hlth.tga -------------------------------------------------------------------------------- /ui/hud_modern.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | // MODERN - someone would complain otherwise. 24 | 25 | #include "ui/menudef.h" 26 | #define GOBACKTOMAIN "open ingame"; 27 | { 28 | assetGlobalDef { 29 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 30 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 31 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 32 | cursor "ui/assets/cursor" 33 | itemFocusSound MP_SND_HOVER 34 | scrollbarSize 1 35 | scrollBarHorz 0 36 | shadowColor 0.0 0.0 0.0 0.25 37 | } 38 | 39 | 40 | menuDef { 41 | name "plafyer" 42 | fullScreen 0 43 | visible 1 44 | rect 0 0 640 480 45 | 46 | 47 | 48 | 49 | 50 | itemDef { 51 | name scarry 52 | style 1 53 | type 0 54 | decoration 55 | background "scary2" 56 | scralign ALIGN_CENTER 57 | scralignfactor 1.0 58 | backcolor 1 0.9 0.7 1 59 | rect -640 0 2048 480 60 | visible 1 61 | } 62 | 63 | 64 | // bloody screen 65 | itemDef { 66 | name scarry 67 | style 1 68 | type 0 69 | decoration 70 | background "scary2" 71 | scralign ALIGN_CENTER 72 | scralignfactor 1.0 73 | backcolor 1 0.7 0.7 1 74 | rect -640 0 2048 480 75 | ownerdrawflag CG_SHOW_HEALTHCRITICAL 76 | visible 1 77 | } 78 | 79 | 80 | 81 | itemDef { 82 | name scarry 83 | style 1 84 | type 0 85 | decoration 86 | background "scary1" 87 | scralign ALIGN_CENTER 88 | scralignfactor 1.0 89 | backcolor 0.6 0.6 0.5 1 90 | rect -640 -128 2048 680 91 | visible 1 92 | } 93 | 94 | 95 | 96 | 97 | } 98 | } 99 | } 100 | } 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /ui/hud_retro.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | #define GOBACKTOMAIN "open ingame"; 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | scrollbarSize 1 33 | scrollBarHorz 0 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "plafyer" 40 | fullScreen 0 41 | visible 1 42 | rect 0 0 640 480 43 | 44 | 45 | itemDef { 46 | name sbar 47 | style 1 48 | type 0 49 | background "ui/retro/sbar" 50 | decoration 51 | scralign ALIGN_CENTER 52 | scralignfactor 0.7 53 | backcolor 1 1 1 1 54 | rect 0 432 640 48 55 | visible 1 56 | } 57 | 58 | 59 | 60 | itemDef { 61 | name ibar 62 | style 1 63 | type 0 64 | background "ui/retro/ibar" 65 | decoration 66 | scralign ALIGN_CENTER 67 | scralignfactor 0.7 68 | backcolor 1 1 1 1 69 | rect 0 384 640 48 70 | visible 1 71 | } 72 | 73 | 74 | 75 | // The Head Box! 76 | itemDef { 77 | name head 78 | style 1 79 | type 0 80 | decoration 81 | ownerdraw CG_PLAYER_HEAD 82 | rect 224 432 48 48 83 | visible 1 84 | } 85 | 86 | 87 | 88 | } 89 | } 90 | } 91 | } 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /ui/hud_slander.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | // SLANDER - because it is 24 | 25 | 26 | #include "ui/menudef.h" 27 | #define GOBACKTOMAIN "open ingame"; 28 | { 29 | assetGlobalDef { 30 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 31 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 32 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 33 | cursor "ui/assets/cursor" 34 | itemFocusSound MP_SND_HOVER 35 | scrollbarSize 1 36 | scrollBarHorz 0 37 | shadowColor 0.0 0.0 0.0 0.25 38 | } 39 | 40 | 41 | menuDef { 42 | name "plafyer" 43 | fullScreen 0 44 | visible 1 45 | rect 0 0 640 480 46 | 47 | 48 | 49 | itemDef { 50 | name bhabox 51 | style 1 52 | type 0 53 | decoration 54 | ownerdraw CG_PLAYER_ARMOR_ICON2D 55 | scralign ALIGN_CENTER 56 | scralignfactor 1.0 57 | rect 472 432 48 48 58 | visible 1 59 | } 60 | 61 | itemDef { 62 | name bhabox 63 | style 1 64 | type 0 65 | decoration 66 | ownerdraw CG_PLAYER_AMMO_ICON2D 67 | scralign ALIGN_CENTER 68 | scralignfactor 1.0 69 | rect 280 432 48 48 70 | visible 1 71 | } 72 | 73 | 74 | itemDef { 75 | name bhabox 76 | style 1 77 | type 0 78 | decoration 79 | background "ui/98/health" 80 | scralign ALIGN_CENTER 81 | scralignfactor 1.0 82 | rect 122 432 48 48 83 | visible 1 84 | } 85 | 86 | 87 | 88 | itemDef { 89 | name scarry 90 | style 1 91 | type 0 92 | decoration 93 | background "scary2" 94 | scralign ALIGN_CENTER 95 | scralignfactor 1.0 96 | backcolor 0.05 0.05 0.06 1 97 | rect -640 0 2048 480 98 | visible 1 99 | } 100 | 101 | 102 | itemDef { 103 | name scarry 104 | style 1 105 | type 0 106 | decoration 107 | background "scary1" 108 | scralign ALIGN_CENTER 109 | scralignfactor 1.0 110 | backcolor 1 1 1 1 111 | rect 192 108 256 256 112 | visible 1 113 | } 114 | 115 | 116 | 117 | 118 | itemDef { 119 | name fargsarmorvalue 120 | style 1 121 | type 0 122 | text "Pages: " 123 | decoration 124 | textstyle 2 125 | textalign ITEM_ALIGN_CENTER 126 | textscale 0.33 127 | scralign ALIGN_CENTER 128 | scralignfactor 1 129 | ownerdraw CG_PLAYER_SCORE 130 | rect 290 18 64 32 131 | visible 1 132 | textaligny 30 133 | } 134 | 135 | 136 | 137 | } 138 | } 139 | } 140 | } 141 | } 142 | } 143 | -------------------------------------------------------------------------------- /ui/ingame.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | { 4 | //loadMenu { "ui/ingame_menu.menu" } 5 | loadMenu { "ui/ingame_menu_alt.menu" } 6 | 7 | //loadMenu { "ui/main_menu.menu" } 8 | loadMenu { "ui/ingame_options.menu" } 9 | loadMenu { "ui/ingame_controls.menu" } 10 | loadMenu { "ui/ingame_profile.menu" } 11 | loadMenu { "ui/ingame_quit.menu" } 12 | //loadMenu { "ui/main_play_maker.menu" } 13 | loadMenu { "ui/connecting.menu" } 14 | //loadMenu { "ui/error.menu" } 15 | } 16 | -------------------------------------------------------------------------------- /ui/ingame_controls.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "ingamecontrolsmenu" 38 | background MP_DIALOGBG 39 | fullScreen 0 40 | rect 0 0 640 480 41 | 42 | visible MENU_TRUE 43 | backcolor MP_DIALOGBGCOLOR 44 | forecolor MP_FOCUSCOLOR 45 | focuscolor MP_TEXTCOLOR 46 | 47 | onOpen { 48 | //uiScript loadGameInfo ; 49 | //uiScript updateSPMenu ; 50 | close main; 51 | } 52 | #include "ui/common/symbol4.panel" 53 | #include "ui/common/controls.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | itemDef { 57 | name button1 58 | text "Okay!" 59 | background "azurebuttonlong" 60 | style 1 61 | type ITEM_TYPE_BUTTON 62 | textstyle 2 63 | textscale 0.5 64 | rect 32 364 256 32 65 | textalignx 32 66 | textaligny 24 67 | forecolor MP_TEXTCOLOR 68 | backcolor MP_BUTTONBGCOLOR 69 | action { close ingamecontrolsmenu; 70 | open ingame; 71 | play MP_SND_SELECT; 72 | } 73 | visible 1 74 | } 75 | 76 | 77 | } 78 | } 79 | } 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /ui/ingame_menu.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | #define GOBACKTOMAIN "open ingame"; 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "ingame" 38 | //background MP_DIALOGBG 39 | fullScreen 0 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | backcolor MP_DIALOGBGCOLOR 45 | 46 | #include "ui/common/ingamemenu.panel" 47 | 48 | 49 | 50 | } 51 | } 52 | } 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /ui/ingame_menu_alt.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | 34 | } 35 | 36 | 37 | menuDef { 38 | name "ingame" 39 | background ingamemenublendbg 40 | fullScreen 0 41 | rect 0 0 640 480 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | backcolor MP_BUTTONBGCOLOR 46 | 47 | 48 | #include "ui/common/symbol4.panel" 49 | #include "ui/common/ingamemenualt.panel" 50 | 51 | #include "ui/common/tooltip.panel" 52 | 53 | 54 | } 55 | } 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /ui/ingame_options.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "ingameoptionsmenu" 38 | background MP_DIALOGBG 39 | fullScreen 0 40 | rect 0 0 640 480 41 | 42 | visible MENU_TRUE 43 | backcolor MP_DIALOGBGCOLOR 44 | forecolor MP_FOCUSCOLOR 45 | focuscolor MP_TEXTCOLOR 46 | 47 | onOpen { 48 | //uiScript loadGameInfo ; 49 | //uiScript updateSPMenu ; 50 | close main; 51 | } 52 | #include "ui/common/symbol4.panel" 53 | #include "ui/common/options.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | itemDef { 57 | name button1 58 | text "Okay!" 59 | background "azurebuttonlong" 60 | style 1 61 | type ITEM_TYPE_BUTTON 62 | textstyle 2 63 | textscale 0.5 64 | rect 32 364 256 32 65 | textalignx 32 66 | textaligny 24 67 | forecolor MP_TEXTCOLOR 68 | backcolor MP_BUTTONBGCOLOR 69 | action { close ingameoptionsmenu; 70 | open ingame; 71 | play MP_SND_SELECT; 72 | } 73 | visible 1 74 | } 75 | 76 | 77 | } 78 | } 79 | } 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /ui/ingame_profile.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "ingameprofile" 38 | background MP_DIALOGBG 39 | fullScreen 0 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | backcolor MP_DIALOGBGCOLOR 45 | onOpen { uiScript update "ui_GetName"; } 46 | onEsc { close ingameprofile; 47 | open ingame; 48 | play MP_SND_BACK; 49 | } 50 | onClose { uiScript update "ui_SetName"; } 51 | 52 | #include "ui/common/symbol4.panel" 53 | #include "ui/common/profile_oc.panel" 54 | 55 | itemDef { 56 | name button1 57 | text "Okay!" 58 | background "azurebuttonlong" 59 | style 1 60 | type ITEM_TYPE_BUTTON 61 | textstyle 2 62 | textscale 0.5 63 | rect 32 364 256 32 64 | textalignx 32 65 | textaligny 24 66 | forecolor MP_TEXTCOLOR 67 | backcolor MP_BUTTONBGCOLOR 68 | action { close ingameprofile; 69 | open ingame; 70 | play MP_SND_SELECT; 71 | } 72 | visible 1 73 | } 74 | } 75 | } 76 | } 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /ui/ingame_quit.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | 34 | } 35 | 36 | 37 | menuDef { 38 | name "ingamequitmenu" 39 | background ingamemenublendbg 40 | fullScreen 0 41 | rect 0 0 640 480 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | backcolor MP_BUTTONBGCOLOR 46 | 47 | 48 | #include "ui/common/symbol4.panel" 49 | #include "ui/common/ingamequitmenu.panel" 50 | 51 | #include "ui/common/tooltip.panel" 52 | 53 | 54 | } 55 | } 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /ui/intro.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015-2016 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // INTRO 24 | // used to display the GPL notice and provide something to read while the rest of the menu 25 | // loads 26 | // 27 | 28 | #include "ui/menudef.h" 29 | 30 | { 31 | assetGlobalDef { 32 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 33 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 34 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 35 | cursor "ui/assets/cursor" 36 | itemFocusSound MP_SND_HOVER 37 | shadowColor 0.0 0.0 0.0 0.25 38 | focuscolor MP_FOCUSCOLOR 39 | // fadeClamp 1.0 40 | // fadeCycle 1 41 | // fadeAmount 0.1 42 | } 43 | 44 | 45 | menuDef { 46 | name "main" 47 | background "black" 48 | fullScreen 1 49 | rect -1000 0 2000 480 50 | visible MENU_TRUE 51 | forecolor MP_FOCUSCOLOR 52 | focuscolor MP_TEXTCOLOR 53 | 54 | 55 | onEsc 56 | { 57 | playLooped MP_MENUMUSIC 58 | open mainmenu;close main 59 | } 60 | 61 | onOpen { //open mainmenu; 62 | setcvar timedemo 0; // always turn this off when entering the menu, may be an inconvenience to powerusers though 63 | 64 | } 65 | 66 | // opentransitionEnd 67 | /// { 68 | // playLooped MP_MENUMUSIC 69 | // open mainmenu;close main 70 | // } 71 | 72 | 73 | 74 | itemDef { 75 | name copyright 76 | text "OpenArena EX Edition\n\nCopyright(C)2016 OA Team" 77 | style 1 78 | type 0 79 | textstyle 3 80 | textscale 0.5 81 | autowrapped 82 | forecolor 0.7 0.7 0.7 1 83 | decoration 84 | textalign 1 85 | rect 300 350 400 330 86 | textalignx 0 87 | textaligny 0 88 | visible 1 89 | } 90 | 91 | itemDef { 92 | name gplblurb 93 | text "This program is licensed under the GNU General Public License version 2. Read COPYING for more details." 94 | style 1 95 | type 0 96 | textstyle 2 97 | textscale 0.27 98 | autowrapped 99 | forecolor 0.7 0.7 0.7 1 100 | decoration 101 | rect 100 350 400 330 102 | textalignx 12 103 | textaligny 16 104 | visible 1 105 | } 106 | 107 | itemDef { 108 | name copyrightlibraries 109 | text "Portions related to third-party libraries are Copyright (C)2005-2011 libSDL, (C)2016 libxmp, (C)1991-2016 International JPEG Group, (C)2000 Xiphorus" 110 | style 1 111 | type 0 112 | textstyle 2 113 | textscale 0.23 114 | autowrapped 115 | forecolor 0.7 0.7 0.7 1 116 | decoration 117 | rect 40 390 500 330 118 | textalignx 12 119 | textaligny 16 120 | visible 1 121 | } 122 | 123 | 124 | itemDef { 125 | name copyrightg 126 | text "C" 127 | style 1 128 | ownerdraw UI_MENUMAPNAME 129 | type 0 130 | textstyle 2 131 | textscale 0.27 132 | autowrapped 133 | forecolor 0.4 0.4 0.5 1 134 | decoration 135 | rect 0 350 639 130 136 | textalignx 12 137 | textaligny 16 138 | visible 1 139 | } 140 | 141 | 142 | 143 | 144 | } 145 | 146 | } 147 | } 148 | } 149 | } 150 | 151 | 152 | 153 | 154 | } 155 | -------------------------------------------------------------------------------- /ui/intromenus.txt: -------------------------------------------------------------------------------- 1 | // menu defs - intro only, so we can load later. 2 | // 3 | { 4 | loadMenu { "ui/intro.menu" } 5 | } 6 | -------------------------------------------------------------------------------- /ui/loading/hole2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/hole2.tga -------------------------------------------------------------------------------- /ui/loading/hole3.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/hole3.tga -------------------------------------------------------------------------------- /ui/loading/holes.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/holes.tga -------------------------------------------------------------------------------- /ui/loading/loadbar.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/loadbar.tga -------------------------------------------------------------------------------- /ui/loading/oalogoload.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/oalogoload.tga -------------------------------------------------------------------------------- /ui/loading/oalogoloadglow.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/loading/oalogoloadglow.tga -------------------------------------------------------------------------------- /ui/ltoading.menu: -------------------------------------------------------------------------------- 1 | #include "ui/menudef.h" 2 | 3 | { 4 | menuDef 5 | { 6 | name "Loading" 7 | rect 0 0 640 480 8 | fullScreen MENU_TRUE 9 | visible MENU_FALSE 10 | 11 | itemDef 12 | { 13 | name background 14 | rect 0 0 640 480 15 | style WINDOW_STYLE_FILLED 16 | backcolor 0 0 0 1 17 | visible MENU_TRUE 18 | } 19 | 20 | itemDef 21 | { 22 | name "levelname" 23 | rect 20 20 260 20 24 | visible MENU_TRUE 25 | align ITEM_ALIGN_LEFT 26 | textscale 0.4 27 | textaligny 28 28 | textalignx 0 29 | ownerdraw CG_LOAD_LEVELNAME 30 | } 31 | 32 | itemDef 33 | { 34 | name "hostname" 35 | rect 20 100 260 20 36 | visible MENU_TRUE 37 | align ITEM_ALIGN_LEFT 38 | textscale 0.4 39 | textaligny 28 40 | textalignx 0 41 | ownerdraw CG_LOAD_HOSTNAME 42 | } 43 | 44 | itemDef 45 | { 46 | name "motd" 47 | rect 20 180 260 20 48 | visible MENU_TRUE 49 | align ITEM_ALIGN_LEFT 50 | textscale 0.4 51 | textaligny 28 52 | textalignx 0 53 | ownerdraw CG_LOAD_MOTD 54 | } 55 | 56 | itemDef 57 | { 58 | name "levelshot" 59 | rect 300 20 320 240 60 | visible MENU_TRUE 61 | ownerdraw CG_LOAD_LEVELSHOT 62 | } 63 | 64 | itemDef 65 | { 66 | name "media" 67 | rect 20 380 380 30 68 | visible MENU_TRUE 69 | forecolor 0.0 0.8 1 1 70 | ownerdraw CG_LOAD_MEDIA 71 | align ITEM_ALIGN_CENTER 72 | textstyle 2 73 | textscale 0.5 74 | special 1.0 75 | } 76 | 77 | itemDef 78 | { 79 | name "medialabel" 80 | textscale 0.6 81 | rect 420 380 200 40 82 | align ITEM_ALIGN_RIGHT 83 | textaligny 28 84 | textalignx 0 85 | forecolor 0.0 0.8 1 1 86 | visible MENU_TRUE 87 | ownerdraw CG_LOAD_MEDIA_LABEL 88 | } 89 | 90 | itemDef 91 | { 92 | name "sound" 93 | rect 20 300 380 30 94 | visible MENU_TRUE 95 | forecolor 0.0 0.8 1 1 96 | ownerdraw CG_LOAD_SOUND 97 | align ITEM_ALIGN_CENTER 98 | textstyle 2 99 | textscale 0.5 100 | special 1.0 101 | } 102 | 103 | itemDef 104 | { 105 | name "soundlabel" 106 | textscale 0.6 107 | rect 420 300 200 40 108 | align ITEM_ALIGN_RIGHT 109 | textaligny 28 110 | textalignx 0 111 | forecolor 0.0 0.8 1 1 112 | visible MENU_TRUE 113 | ownerdraw CG_LOAD_SOUND_LABEL 114 | } 115 | 116 | itemDef 117 | { 118 | name "graphic" 119 | rect 20 340 380 30 120 | visible MENU_TRUE 121 | forecolor 0.0 0.8 1 1 122 | ownerdraw CG_LOAD_GRAPHIC 123 | align ITEM_ALIGN_CENTER 124 | textstyle 2 125 | textscale 0.5 126 | special 1.0 127 | } 128 | 129 | itemDef 130 | { 131 | name "graphiclabel" 132 | textscale 0.6 133 | rect 420 340 200 40 134 | align ITEM_ALIGN_RIGHT 135 | textaligny 28 136 | textalignx 0 137 | forecolor 0.0 0.8 1 1 138 | visible MENU_TRUE 139 | ownerdraw CG_LOAD_GRAPHIC_LABEL 140 | } 141 | 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /ui/main_bios.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | // Biographies of player characters - might deprecate this 26 | 27 | { 28 | assetGlobalDef { 29 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 30 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 31 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 32 | cursor "ui/assets/cursor" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "bios" 40 | background MP_BACKGROUND1 41 | fullScreen 1 42 | rect 0 0 640 480 43 | visible MENU_TRUE 44 | forecolor MP_FOCUSCOLOR 45 | focuscolor MP_TEXTCOLOR 46 | 47 | 48 | 49 | #include "ui/common/symbol.panel" 50 | #include "ui/common/bios.panel" 51 | #include "ui/common/tooltip.panel" 52 | 53 | 54 | } 55 | } 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /ui/main_campaign.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "singleplayercampaign" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | // close main; 49 | } 50 | 51 | #include "ui/common/symbol2.panel" 52 | #include "ui/sp/selector.panel" 53 | #include "ui/common/tooltip.panel" 54 | 55 | 56 | 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /ui/main_campaign_ctf.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | #include "ui/sp/ladder_ctf.h" 36 | menuDef { 37 | name "singleplayercampaign_ctf" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | setcvar ui_currentMap SPCUR_MAP1NUM; // set it to the first map in the list 49 | } 50 | #include "ui/common/mapbg.panel" 51 | //#include "ui/common/symbol2.panel" 52 | 53 | #include "ui/sp/currentladder.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | 57 | 58 | } 59 | } 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ui/main_campaign_dom.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | #include "ui/sp/ladder_dom.h" 36 | menuDef { 37 | name "singleplayercampaign_dom" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | setcvar ui_currentMap SPCUR_MAP1NUM; // set it to the first map in the list 49 | } 50 | #include "ui/common/mapbg.panel" 51 | //#include "ui/common/symbol2.panel" 52 | 53 | #include "ui/sp/currentladder.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | 57 | 58 | } 59 | } 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ui/main_campaign_ffa.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | #include "ui/sp/ladder_ffa.h" 36 | menuDef { 37 | name "singleplayercampaign_ffa" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | setcvar ui_currentMap SPCUR_MAP1NUM; // set it to the first map in the list 49 | } 50 | 51 | #include "ui/common/mapbg.panel" 52 | //#include "ui/common/symbol2.panel" 53 | 54 | #include "ui/sp/currentladder.panel" 55 | #include "ui/common/tooltip.panel" 56 | 57 | 58 | 59 | } 60 | } 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /ui/main_campaign_over.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | #include "ui/sp/ladder_over.h" 36 | menuDef { 37 | name "singleplayercampaign_over" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | setcvar ui_currentMap SPCUR_MAP1NUM; // set it to the first map in the list 49 | } 50 | #include "ui/common/mapbg.panel" 51 | //#include "ui/common/symbol2.panel" 52 | 53 | #include "ui/sp/currentladder.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | 57 | 58 | } 59 | } 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ui/main_campaign_tourney.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | #include "ui/sp/ladder_tourney.h" 36 | menuDef { 37 | name "singleplayercampaign_tourney" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | setcvar ui_currentMap SPCUR_MAP1NUM; // set it to the first map in the list 49 | } 50 | #include "ui/common/mapbg.panel" 51 | //#include "ui/common/symbol2.panel" 52 | 53 | #include "ui/sp/currentladder.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | 57 | 58 | } 59 | } 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ui/main_controls.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | checkbox_checked "ui/assets/cursor" 32 | checkbox_unchecked "ui/assets/gs" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "controlsmenu" 40 | background MP_BACKGROUND1 41 | fullScreen 1 42 | rect 0 0 640 480 43 | 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | onOpen { 49 | //uiScript loadGameInfo ; 50 | //uiScript updateSPMenu ; 51 | close main; 52 | } 53 | onEsc { 54 | open mainmenu; 55 | setcvar ui_menutab 0; // reset the tabs 56 | close controlsmenu; 57 | play MP_SND_BACK; 58 | } 59 | #include "ui/common/symbol2.panel" 60 | #include "ui/common/controls.panel" 61 | 62 | 63 | // always have this button available 64 | 65 | itemDef { 66 | name button1 67 | text "Okay!" 68 | background MP_WIDEBUTTONBG 69 | style 1 70 | type ITEM_TYPE_BUTTON 71 | textstyle 2 72 | textscale 0.5 73 | rect 32 384 256 32 74 | textalignx 32 75 | textaligny 24 76 | cvarTest "ui_browserSortKey" 77 | hideCVar { "9" } 78 | 79 | forecolor MP_TEXTCOLOR 80 | backcolor MP_BUTTONBGCOLOR 81 | action { 82 | open mainmenu; 83 | setcvar ui_menutab 0; // reset the tabs 84 | close controlsmenu; 85 | play MP_SND_SELECT; 86 | } 87 | visible 1 88 | } 89 | 90 | 91 | 92 | 93 | 94 | 95 | #include "ui/common/tooltip.panel" 96 | 97 | 98 | } 99 | } 100 | } 101 | } 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /ui/main_credits.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "credits" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | 46 | 47 | #include "ui/common/symbol.panel" 48 | #include "ui/common/credits.panel" 49 | #include "ui/common/tooltip.panel" 50 | 51 | 52 | } 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /ui/main_extras.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "extras" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | 46 | 47 | #include "ui/common/symbol.panel" 48 | #include "ui/common/extras.panel" 49 | #include "ui/common/tooltip.panel" 50 | 51 | 52 | } 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /ui/main_gallery.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "gallery" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | 46 | 47 | #include "ui/common/gallery.panel" 48 | #include "ui/common/tooltip.panel" 49 | 50 | 51 | } 52 | } 53 | } 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /ui/main_instant.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | 26 | // Instant action: Create a random botmatch. Random map, random gametype, random list of bots 27 | { 28 | assetGlobalDef { 29 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 30 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 31 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 32 | cursor "ui/assets/cursor" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "instantaction" 40 | background MP_BACKGROUND1 41 | fullScreen 1 42 | rect 0 0 640 480 43 | visible MENU_TRUE 44 | forecolor MP_FOCUSCOLOR 45 | focuscolor MP_TEXTCOLOR 46 | 47 | onOpen { 48 | uiScript loadGameInfo ; 49 | uiScript updateSPMenu ; 50 | // close main; 51 | } 52 | #include "ui/common/symbol2.panel" 53 | #include "ui/common/instantaction.panel" 54 | #include "ui/common/tooltip.panel" 55 | 56 | 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /ui/main_join_server.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "joinserver" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | //uiScript loadGameInfo ; 47 | //uiScript updateSPMenu ; 48 | // close main; 49 | } 50 | #include "ui/common/symbol2.panel" 51 | #include "ui/common/joinserver.panel" 52 | #include "ui/common/tooltip.panel" 53 | 54 | 55 | } 56 | } 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ui/main_menu.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | 34 | } 35 | 36 | 37 | menuDef { 38 | name "mainmenu" 39 | background MP_BACKGROUND1 40 | fullScreen 1 41 | rect 0 0 640 480 42 | visible MENU_TRUE 43 | forecolor MP_FOCUSCOLOR 44 | focuscolor MP_TEXTCOLOR 45 | 46 | onOpen { 47 | close main; 48 | } 49 | 50 | 51 | #include "ui/common/symbol2.panel" 52 | 53 | #ifdef PLAYERPORTRAITS 54 | // If one of those menus, display the portrait of the character! 55 | 56 | itemDef { 57 | name thisisyou 58 | background "portraits/sorceress" 59 | style 1 60 | textstyle 2 61 | textscale 0.5 62 | rect 0 32 448 448 63 | scralign ALIGN_LEFT 64 | scralignfactor 0.7 65 | forecolor 1 1 1 1 66 | backcolor 1 1 1 1 67 | visible 1 68 | decoration 69 | } 70 | 71 | #endif 72 | 73 | 74 | #include "ui/common/mainmenu.panel" 75 | #include "ui/common/tooltip.panel" 76 | 77 | 78 | } 79 | } 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ui/main_mods.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "mods" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | onOpen { uiScript loadMods; uiScript loadDemos; uiScript loadCinematics;} 45 | 46 | #include "ui/common/symbol2.panel" 47 | 48 | #include "ui/common/mods.panel" 49 | #include "ui/common/tooltip.panel" 50 | itemDef { 51 | name button1 52 | text "Back" 53 | background "azurebuttonlong" 54 | style 1 55 | type ITEM_TYPE_BUTTON 56 | textstyle 2 57 | textscale 0.5 58 | rect 32 364 256 32 59 | textalignx 32 60 | textaligny 24 61 | uiScript loadMods ; 62 | forecolor MP_TEXTCOLOR 63 | backcolor MP_BUTTONBGCOLOR 64 | action { close mods; 65 | open mainmenu; 66 | play MP_SND_SELECT; 67 | } 68 | 69 | visible 1 70 | } 71 | 72 | 73 | 74 | } 75 | } 76 | } 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /ui/main_options.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | checkbox_checked "ui/assets/cursor" 32 | checkbox_unchecked "ui/assets/gs" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | } 36 | 37 | 38 | menuDef { 39 | name "optionsmenu" 40 | background MP_BACKGROUND1 41 | fullScreen 1 42 | rect 0 0 640 480 43 | 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | onESC { 49 | open mainmenu; 50 | setcvar ui_menutab 0; // reset the tabs 51 | close optionsmenu; 52 | play MP_SND_SELECT; 53 | } 54 | 55 | onOpen { 56 | //uiScript loadGameInfo ; 57 | //uiScript updateSPMenu ; 58 | close main; 59 | } 60 | #include "ui/common/symbol2.panel" 61 | #include "ui/common/options.panel" 62 | 63 | 64 | // always have this button available 65 | 66 | itemDef { 67 | name button1 68 | text "Okay!" 69 | background MP_WIDEBUTTONBG 70 | style 1 71 | type ITEM_TYPE_BUTTON 72 | textstyle 2 73 | textscale 0.5 74 | rect 32 384 256 32 75 | textalignx 32 76 | textaligny 24 77 | cvarTest "ui_browserSortKey" 78 | hideCVar { "9" } 79 | 80 | forecolor MP_TEXTCOLOR 81 | backcolor MP_BUTTONBGCOLOR 82 | action { 83 | open mainmenu; 84 | setcvar ui_menutab 0; // reset the tabs 85 | close optionsmenu; 86 | play MP_SND_SELECT; 87 | } 88 | visible 1 89 | } 90 | 91 | 92 | 93 | 94 | 95 | 96 | #include "ui/common/tooltip.panel" 97 | 98 | 99 | } 100 | } 101 | } 102 | } 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /ui/main_play.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "playmenushouldntbehere" 38 | background "mpblankbg" 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | setitemcolor fadebox backcolor 0 0 0 1 ; 47 | } 48 | 49 | 50 | } 51 | } 52 | } 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /ui/main_play_maker.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "playmaker" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | //uiScript loadGameInfo ; 47 | //uiScript updateSPMenu ; 48 | uiScript loadArenas; 49 | // close main; 50 | } 51 | #include "ui/common/symbol2.panel" 52 | #include "ui/common/playmaker.panel" 53 | #include "ui/common/tooltip.panel" 54 | 55 | 56 | } 57 | } 58 | } 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /ui/main_popup_quit.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "quitter" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | 46 | #include "ui/common/symbol2.panel" 47 | #include "ui/common/quit.panel" 48 | // always have this button available 49 | 50 | 51 | 52 | } 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /ui/main_profile.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "profile" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { uiScript update "ui_GetName"; } 46 | onClose { uiScript update "ui_SetName"; } 47 | onEsc { close profile; 48 | uiScript update "ui_SetName"; 49 | open mainmenu; 50 | play MP_SND_SELECT; 51 | } 52 | #include "ui/common/symbol2.panel" 53 | //#include "ui/common/mirrorbackground.panel" 54 | 55 | #include "ui/common/profile_oc.panel" 56 | #include "ui/common/tooltip.panel" 57 | itemDef { 58 | name button1 59 | text "Okay!" 60 | background "azurebuttonlong" 61 | style 1 62 | type ITEM_TYPE_BUTTON 63 | textstyle 2 64 | textscale 0.5 65 | rect 32 364 256 32 66 | textalignx 32 67 | textaligny 24 68 | forecolor MP_TEXTCOLOR 69 | backcolor MP_BUTTONBGCOLOR 70 | action { close profile; 71 | uiScript update "ui_SetName"; 72 | open mainmenu; 73 | play MP_SND_SELECT; 74 | } 75 | visible 1 76 | } 77 | 78 | } 79 | } 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ui/main_single_player.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 28 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 29 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "singleplayer" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | uiScript loadGameInfo ; 47 | uiScript updateSPMenu ; 48 | // close main; 49 | } 50 | #include "ui/common/symbol2.panel" 51 | #include "ui/common/singleplayer.panel" 52 | #include "ui/common/tooltip.panel" 53 | 54 | 55 | } 56 | } 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ui/menus.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | { 4 | loadMenu { "ui/main.menu" } 5 | loadMenu { "ui/splashtransition.menu" } 6 | loadMenu { "ui/menutest.menu" } 7 | loadMenu { "ui/loading.menu" } 8 | loadMenu { "ui/main_menu.menu" } 9 | loadMenu { "ui/main_adjustyourscreen.menu" } 10 | loadMenu { "ui/main_profile.menu" } 11 | loadMenu { "ui/main_single_player.menu" } 12 | loadMenu { "ui/main_instant.menu" } 13 | loadMenu { "ui/main_campaign.menu" } 14 | loadMenu { "ui/main_campaign_ffa.menu" } 15 | loadMenu { "ui/main_campaign_ctf.menu" } 16 | loadMenu { "ui/main_campaign_dom.menu" } 17 | loadMenu { "ui/main_campaign_over.menu" } 18 | loadMenu { "ui/main_campaign_tourney.menu" } 19 | loadMenu { "ui/main_play_maker.menu" } 20 | loadMenu { "ui/main_join_server.menu" } 21 | loadMenu { "ui/main_controls.menu" } 22 | loadMenu { "ui/main_options.menu" } 23 | loadMenu { "ui/main_extras.menu" } 24 | loadMenu { "ui/main_gallery.menu" } 25 | loadMenu { "ui/main_mods.menu" } 26 | loadMenu { "ui/main_bios.menu" } 27 | loadMenu { "ui/main_credits.menu" } 28 | loadMenu { "ui/main_popup_quit.menu" } 29 | loadMenu { "ui/connecting.menu" } 30 | loadMenu { "ui/error.menu" } 31 | loadMenu { "ui/transition_campaign.menu" } 32 | 33 | // Debug menu pages for development, video calibration and what not, not necessary to play the game 34 | loadMenu { "ui/debug/debug.menu" } 35 | loadMenu { "ui/debug/testfilter.menu" } 36 | loadMenu { "ui/debug/testtmufilter.menu" } 37 | loadMenu { "ui/debug/testblends.menu" } 38 | loadMenu { "ui/debug/testgradients.menu" } 39 | loadMenu { "ui/debug/testbilinear.menu" } 40 | loadMenu { "ui/debug/testdots.menu" } 41 | } 42 | -------------------------------------------------------------------------------- /ui/menus2.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | { 4 | loadMenu { "ui/main.menu" } 5 | loadMenu { "ui/menutest.menu" } 6 | loadMenu { "ui/loading.menu" } 7 | loadMenu { "ui/main_menu.menu" } 8 | loadMenu { "ui/main_adjustyourscreen.menu" } 9 | loadMenu { "ui/main_profile.menu" } 10 | loadMenu { "ui/main_single_player.menu" } 11 | loadMenu { "ui/main_instant.menu" } 12 | loadMenu { "ui/main_campaign.menu" } 13 | loadMenu { "ui/main_campaign_ffa.menu" } 14 | loadMenu { "ui/main_campaign_ctf.menu" } 15 | loadMenu { "ui/main_campaign_dom.menu" } 16 | loadMenu { "ui/main_campaign_over.menu" } 17 | loadMenu { "ui/main_campaign_tourney.menu" } 18 | loadMenu { "ui/main_play_maker.menu" } 19 | loadMenu { "ui/main_join_server.menu" } 20 | loadMenu { "ui/main_controls.menu" } 21 | loadMenu { "ui/main_options.menu" } 22 | loadMenu { "ui/main_extras.menu" } 23 | loadMenu { "ui/main_gallery.menu" } 24 | loadMenu { "ui/main_mods.menu" } 25 | loadMenu { "ui/main_bios.menu" } 26 | loadMenu { "ui/main_credits.menu" } 27 | loadMenu { "ui/main_popup_quit.menu" } 28 | loadMenu { "ui/connecting.menu" } 29 | loadMenu { "ui/error.menu" } 30 | loadMenu { "ui/transition_campaign.menu" } 31 | } 32 | -------------------------------------------------------------------------------- /ui/menus_bar.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | // This version emphasizes a menubaratthetop system, similar to some "superior PC games" 4 | // but personally I don't like this kind of menu for simplicity reasons. 5 | // This treats every window screen as a popup 6 | // 7 | // 8 | { 9 | loadMenu { "ui/console_main.menu" } 10 | loadMenu { "ui/menutest.menu" } 11 | loadMenu { "ui/loading.menu" } 12 | loadMenu { "ui/bar/main_menu.menu" } 13 | loadMenu { "ui/main_adjustyourscreen.menu" } 14 | loadMenu { "ui/main_profile.menu" } 15 | loadMenu { "ui/main_single_player.menu" } 16 | loadMenu { "ui/main_instant.menu" } 17 | loadMenu { "ui/main_campaign.menu" } 18 | loadMenu { "ui/main_campaign_ffa.menu" } 19 | loadMenu { "ui/main_campaign_ctf.menu" } 20 | loadMenu { "ui/main_campaign_dom.menu" } 21 | loadMenu { "ui/main_campaign_over.menu" } 22 | loadMenu { "ui/main_campaign_tourney.menu" } 23 | loadMenu { "ui/main_play_maker.menu" } 24 | loadMenu { "ui/main_join_server.menu" } 25 | loadMenu { "ui/main_controls.menu" } 26 | loadMenu { "ui/main_options.menu" } 27 | loadMenu { "ui/main_extras.menu" } 28 | loadMenu { "ui/main_gallery.menu" } 29 | loadMenu { "ui/main_mods.menu" } 30 | loadMenu { "ui/main_bios.menu" } 31 | loadMenu { "ui/main_credits.menu" } 32 | loadMenu { "ui/main_popup_quit.menu" } 33 | loadMenu { "ui/connecting.menu" } 34 | loadMenu { "ui/error.menu" } 35 | loadMenu { "ui/transition_campaign.menu" } 36 | } 37 | -------------------------------------------------------------------------------- /ui/menus_console.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | // 4 | // uses 'console' menu files, which have less advanced options, mainly the technical ones 5 | // like resolutions etc. 6 | // 7 | { 8 | loadMenu { "ui/console_main.menu" } 9 | loadMenu { "ui/menutest.menu" } 10 | loadMenu { "ui/loading.menu" } 11 | loadMenu { "ui/console_main_menu.menu" } 12 | loadMenu { "ui/main_adjustyourscreen.menu" } 13 | loadMenu { "ui/console_profile.menu" } 14 | loadMenu { "ui/main_single_player.menu" } 15 | loadMenu { "ui/main_instant.menu" } 16 | loadMenu { "ui/main_campaign.menu" } 17 | loadMenu { "ui/main_campaign_ffa.menu" } 18 | loadMenu { "ui/main_campaign_ctf.menu" } 19 | loadMenu { "ui/main_campaign_dom.menu" } 20 | loadMenu { "ui/main_campaign_over.menu" } 21 | loadMenu { "ui/main_campaign_tourney.menu" } 22 | loadMenu { "ui/main_play_maker.menu" } 23 | loadMenu { "ui/main_join_server.menu" } 24 | loadMenu { "ui/main_controls.menu" } 25 | loadMenu { "ui/console/main_options.menu" } 26 | loadMenu { "ui/main_extras.menu" } 27 | loadMenu { "ui/main_mods.menu" } 28 | loadMenu { "ui/main_bios.menu" } 29 | loadMenu { "ui/main_credits.menu" } 30 | loadMenu { "ui/main_popup_quit.menu" } 31 | loadMenu { "ui/connecting.menu" } 32 | loadMenu { "ui/error.menu" } 33 | loadMenu { "ui/transition_campaign.menu" } 34 | } 35 | -------------------------------------------------------------------------------- /ui/menus_top.txt: -------------------------------------------------------------------------------- 1 | // menu defs 2 | // 3 | { 4 | loadMenu { "ui/console_main.menu" } 5 | loadMenu { "ui/menutest.menu" } 6 | loadMenu { "ui/loading.menu" } 7 | loadMenu { "ui/top_main_menu.menu" } 8 | loadMenu { "ui/main_adjustyourscreen.menu" } 9 | loadMenu { "ui/main_profile.menu" } 10 | loadMenu { "ui/main_single_player.menu" } 11 | loadMenu { "ui/main_instant.menu" } 12 | loadMenu { "ui/main_campaign.menu" } 13 | loadMenu { "ui/main_campaign_ffa.menu" } 14 | loadMenu { "ui/main_campaign_ctf.menu" } 15 | loadMenu { "ui/main_campaign_dom.menu" } 16 | loadMenu { "ui/main_campaign_over.menu" } 17 | loadMenu { "ui/main_campaign_tourney.menu" } 18 | loadMenu { "ui/main_play_maker.menu" } 19 | loadMenu { "ui/main_join_server.menu" } 20 | loadMenu { "ui/main_controls.menu" } 21 | loadMenu { "ui/main_options.menu" } 22 | loadMenu { "ui/main_extras.menu" } 23 | loadMenu { "ui/main_gallery.menu" } 24 | loadMenu { "ui/main_mods.menu" } 25 | loadMenu { "ui/main_bios.menu" } 26 | loadMenu { "ui/main_credits.menu" } 27 | loadMenu { "ui/main_popup_quit.menu" } 28 | loadMenu { "ui/connecting.menu" } 29 | loadMenu { "ui/error.menu" } 30 | loadMenu { "ui/transition_campaign.menu" } 31 | loadMenu { "ui/debug/debug.menu" } 32 | } 33 | -------------------------------------------------------------------------------- /ui/menutest.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 24 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "menutest" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 200 300 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | superwindow 1 45 | 46 | } 47 | } 48 | } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /ui/moe/moebg.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebg.tga -------------------------------------------------------------------------------- /ui/moe/moebutton.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton.tga -------------------------------------------------------------------------------- /ui/moe/moebutton2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton2.tga -------------------------------------------------------------------------------- /ui/moe/moebutton3.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton3.tga -------------------------------------------------------------------------------- /ui/moe/moebutton3a.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton3a.tga -------------------------------------------------------------------------------- /ui/moe/moebutton4.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton4.tga -------------------------------------------------------------------------------- /ui/moe/moebutton4a.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/moe/moebutton4a.tga -------------------------------------------------------------------------------- /ui/panels/keybind.bit: -------------------------------------------------------------------------------- 1 | 2 | itemDef 3 | { 4 | name keybinder 5 | type ITEM_TYPE_BIND 6 | style 1 7 | // background MP_FATBUTTONBG 8 | backcolor MP_BUTTONBGCOLOR 9 | visible 1 10 | noFocusColor 0 11 | 12 | textalign ITEM_ALIGN_CENTER textscale 0.25 13 | 14 | 15 | 16 | textalignx 0 17 | textaligny 12 18 | textalign ITEM_ALIGN_RIGHT 19 | textstyle 6 20 | forecolor MP_TEXTCOLOR 21 | mouseenter { show keybindstat } mouseexit { hide keybindstat } 22 | 23 | 24 | rect KEYBINDCENTER KEYBINDDOWN 256 16 25 | cvarTest "ui_menutab" showCVar { KEYBINDCATEGORY } 26 | text BINDTITLE 27 | cvar THEACTION 28 | } 29 | -------------------------------------------------------------------------------- /ui/panels/keybind2.bit: -------------------------------------------------------------------------------- 1 | // leilei - highly simplified from the rfactory.org site's graphical extensions page 2 | // because I don't need all those tint rectangles for where i'm going... 3 | 4 | itemDef 5 | { 6 | name ACTIONNAME 7 | type ITEM_TYPE_BUTTON 8 | group bind2click 9 | style WINDOW_STYLE_FILLED 10 | rect 136 KEYBINDDOWN 196 20 11 | background "emptykey" 12 | visible 1 13 | noFocusColor MENU_TRUE 14 | text BINDTITLE 15 | textalign ITEM_ALIGN_CENTER 16 | textalignx 96 17 | textaligny 13 18 | backcolor MP_KEYBINDBGCOLOR 19 | textscale .2 20 | cvarTest "ui_menutab" 21 | showCVar { KEYBINDCATEGORY } 22 | forecolor 1 1 1 1 23 | action 24 | { 25 | clearclick bind2click 26 | setitemcolor bind2click backcolor MP_KEYBINDBGCOLOR ; 27 | setitemcolor ACTIONNAME backcolor MP_KEYBINDSELCOLOR ; 28 | setitemcolor BINDNAME backcolor MP_KEYBINDBGCOLOR ; 29 | setitemcolor ALTNAME backcolor MP_KEYBINDBGCOLOR ; 30 | } 31 | mouseenter 32 | { 33 | show keybindstat ; 34 | } 35 | mouseexit 36 | { 37 | hide keybindstat ; 38 | } 39 | } 40 | 41 | itemDef 42 | { 43 | name BINDNAME 44 | group bind2click 45 | style WINDOW_STYLE_FILLED 46 | background "emptykey" 47 | type ITEM_TYPE_BIND 48 | bindType BIND_PRIMARY 49 | bind2Click MENU_TRUE 50 | noFocusColor MENU_TRUE 51 | backcolor MP_KEYBINDBGCOLOR 52 | cvar THEACTION 53 | rect 333 KEYBINDDOWN 128 20 54 | textalign ITEM_ALIGN_CENTER 55 | textalignx 64 56 | textaligny 13 57 | textscale .2 58 | forecolor 1 1 1 1 59 | cvarTest "ui_menutab" 60 | showCVar { KEYBINDCATEGORY } 61 | visible 1 62 | mouseenter 63 | { 64 | show keybindstat ; 65 | } 66 | mouseexit 67 | { 68 | hide keybindstat ; 69 | } 70 | action 71 | { 72 | clearclick bind2click 73 | setitemcolor bind2click backcolor MP_KEYBINDBGCOLOR ; 74 | setitemcolor ACTIONNAME backcolor MP_KEYBINDBGCOLOR ; 75 | setitemcolor BINDNAME backcolor MP_KEYBINDSELCOLOR ; 76 | setitemcolor ALTNAME backcolor MP_KEYBINDBGCOLOR ; 77 | } 78 | } 79 | 80 | itemDef 81 | { 82 | name ALTNAME 83 | group bind2click 84 | style WINDOW_STYLE_FILLED 85 | background "emptykey" 86 | type ITEM_TYPE_BIND 87 | bindType BIND_ALTERNATE 88 | bind2Click MENU_TRUE 89 | noFocusColor MENU_TRUE 90 | backcolor MP_KEYBINDBGCOLOR 91 | cvar THEACTION 92 | rect 461 KEYBINDDOWN 128 20 93 | textalign ITEM_ALIGN_CENTER 94 | textalignx 64 95 | textaligny 13 96 | textscale .2 97 | forecolor 1 1 1 1 98 | cvarTest "ui_menutab" 99 | showCVar { KEYBINDCATEGORY } 100 | visible 1 101 | mouseenter 102 | { 103 | show keybindstat ; 104 | } 105 | mouseexit 106 | { 107 | hide keybindstat ; 108 | } 109 | action 110 | { 111 | clearclick bind2click 112 | setitemcolor bind2click backcolor MP_KEYBINDBGCOLOR ; 113 | setitemcolor ACTIONNAME backcolor MP_KEYBINDBGCOLOR ; 114 | setitemcolor BINDNAME backcolor MP_KEYBINDBGCOLOR ; 115 | setitemcolor ALTNAME backcolor MP_KEYBINDSELCOLOR ; 116 | } 117 | 118 | } 119 | 120 | -------------------------------------------------------------------------------- /ui/panels/sound.panel: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | itemDef { 24 | name res 25 | type ITEM_TYPE_MULTI 26 | text "Sampling Rate:" 27 | style 0 28 | cvar "s_khz" 29 | cvarFloatList { "8000Hz (Crap)" 8 "11025Hz (Low)" 11 "22050Hz (Medium)" 22 "44100Hz (High)" 44 "48000Hz (High)" 48 "96000Hz (omg)" 96} 30 | textstyle 0 31 | textscale SZTEXT 32 | rect 16 48 256 16 33 | textalignx 56 34 | textaligny 16 35 | forecolor MP_TEXTCOLOR 36 | visible 1 37 | } 38 | 39 | itemDef { 40 | name openal 41 | type ITEM_TYPE_MULTI 42 | text "OpenAL Driver:" 43 | style 0 44 | cvar "s_useOpenAL" 45 | cvarFloatList { "Disabled" 0 "Enabled" 1} 46 | textstyle 0 47 | textscale SZTEXT 48 | rect 16 64 256 16 49 | textalignx 56 50 | textaligny 16 51 | forecolor MP_TEXTCOLOR 52 | visible 1 53 | } 54 | 55 | 56 | itemDef { 57 | name notice 58 | text "Some changes may require restarting." 59 | style 0 60 | textstyle 0 61 | textscale SZTEXT 62 | rect 16 16 64 34 63 | textalignx 56 64 | textaligny 16 65 | forecolor MP_TEXTCOLOR 66 | visible 1 67 | } 68 | -------------------------------------------------------------------------------- /ui/sp/ladder.h: -------------------------------------------------------------------------------- 1 | // Internal workings that don't really need to be modified 2 | 3 | // DM 4 | #define SPFFA_MAP1NUM 0 5 | #define SPFFA_MAP2_UNLOCKCVAR "ui_sp_unlock_0" 6 | #define SPFFA_MAP2NUM 1 7 | #define SPFFA_MAP3_UNLOCKCVAR "ui_sp_unlock_1" 8 | #define SPFFA_MAP3NUM 2 9 | #define SPFFA_MAP4_UNLOCKCVAR "ui_sp_unlock_2" 10 | #define SPFFA_MAP4NUM 3 11 | #define SPFFA_MAP5_UNLOCKCVAR "ui_sp_unlock_3" 12 | #define SPFFA_MAP5NUM 4 13 | #define SPFFA_MAP6_UNLOCKCVAR "ui_sp_unlock_4" 14 | #define SPFFA_MAP6NUM 5 15 | #define SPFFA_MAP7_UNLOCKCVAR "ui_sp_unlock_5" 16 | #define SPFFA_MAP7NUM 6 17 | #define SPFFA_MAP8_UNLOCKCVAR "ui_sp_unlock_6" 18 | #define SPFFA_MAP8NUM 7 19 | 20 | #define SPCTF_MAP1_UNLOCKCVAR "ui_sp_unlock_7" 21 | #define SPCTF_MAP1NUM 8 22 | #define SPCTF_MAP2_UNLOCKCVAR "ui_sp_unlock_8" 23 | #define SPCTF_MAP2NUM 9 24 | #define SPCTF_MAP3_UNLOCKCVAR "ui_sp_unlock_9" 25 | #define SPCTF_MAP3NUM 10 26 | #define SPCTF_MAP4_UNLOCKCVAR "ui_sp_unlock_10" 27 | #define SPCTF_MAP4NUM 11 28 | #define SPCTF_MAP5_UNLOCKCVAR "ui_sp_unlock_11" 29 | #define SPCTF_MAP5NUM 12 30 | #define SPCTF_MAP6_UNLOCKCVAR "ui_sp_unlock_12" 31 | #define SPCTF_MAP6NUM 13 32 | #define SPCTF_MAP7_UNLOCKCVAR "ui_sp_unlock_13" 33 | #define SPCTF_MAP7NUM 14 34 | #define SPCTF_MAP8_UNLOCKCVAR "ui_sp_unlock_14" 35 | #define SPCTF_MAP8NUM 15 36 | 37 | #define SPDOM_MAP1_UNLOCKCVAR "ui_sp_unlock_15" 38 | #define SPDOM_MAP1NUM 16 39 | #define SPDOM_MAP2_UNLOCKCVAR "ui_sp_unlock_16" 40 | #define SPDOM_MAP2NUM 17 41 | #define SPDOM_MAP3_UNLOCKCVAR "ui_sp_unlock_17" 42 | #define SPDOM_MAP3NUM 18 43 | #define SPDOM_MAP4_UNLOCKCVAR "ui_sp_unlock_18" 44 | #define SPDOM_MAP4NUM 19 45 | #define SPDOM_MAP5_UNLOCKCVAR "ui_sp_unlock_19" 46 | #define SPDOM_MAP5NUM 20 47 | #define SPDOM_MAP6_UNLOCKCVAR "ui_sp_unlock_20" 48 | #define SPDOM_MAP6NUM 21 49 | #define SPDOM_MAP7_UNLOCKCVAR "ui_sp_unlock_21" 50 | #define SPDOM_MAP7NUM 22 51 | #define SPDOM_MAP8_UNLOCKCVAR "ui_sp_unlock_22" 52 | #define SPDOM_MAP8NUM 23 53 | 54 | #define SPOVER_MAP1_UNLOCKCVAR "ui_sp_unlock_23" 55 | #define SPOVER_MAP1NUM 24 56 | #define SPOVER_MAP2_UNLOCKCVAR "ui_sp_unlock_24" 57 | #define SPOVER_MAP2NUM 25 58 | #define SPOVER_MAP3_UNLOCKCVAR "ui_sp_unlock_25" 59 | #define SPOVER_MAP3NUM 26 60 | #define SPOVER_MAP4_UNLOCKCVAR "ui_sp_unlock_26" 61 | #define SPOVER_MAP4NUM 27 62 | #define SPOVER_MAP5_UNLOCKCVAR "ui_sp_unlock_27" 63 | #define SPOVER_MAP5NUM 28 64 | #define SPOVER_MAP6_UNLOCKCVAR "ui_sp_unlock_28" 65 | #define SPOVER_MAP6NUM 29 66 | #define SPOVER_MAP7_UNLOCKCVAR "ui_sp_unlock_29" 67 | #define SPOVER_MAP7NUM 30 68 | #define SPOVER_MAP8_UNLOCKCVAR "ui_sp_unlock_30" 69 | #define SPOVER_MAP8NUM 31 70 | 71 | #define SPTOURN_MAP1_UNLOCKCVAR "ui_sp_unlock_31" 72 | #define SPTOURN_MAP1NUM 32 73 | #define SPTOURN_MAP2_UNLOCKCVAR "ui_sp_unlock_32" 74 | #define SPTOURN_MAP2NUM 33 75 | #define SPTOURN_MAP3_UNLOCKCVAR "ui_sp_unlock_33" 76 | #define SPTOURN_MAP3NUM 34 77 | #define SPTOURN_MAP4_UNLOCKCVAR "ui_sp_unlock_34" 78 | #define SPTOURN_MAP4NUM 35 79 | #define SPTOURN_MAP5_UNLOCKCVAR "ui_sp_unlock_35" 80 | #define SPTOURN_MAP5NUM 36 81 | #define SPTOURN_MAP6_UNLOCKCVAR "ui_sp_unlock_36" 82 | #define SPTOURN_MAP6NUM 37 83 | #define SPTOURN_MAP7_UNLOCKCVAR "ui_sp_unlock_37" 84 | #define SPTOURN_MAP7NUM 38 85 | #define SPTOURN_MAP8_UNLOCKCVAR "ui_sp_unlock_38" 86 | #define SPTOURN_MAP8NUM 39 -------------------------------------------------------------------------------- /ui/sp/ladder_ctf.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #define SPCUR_LADDERNAME "Cee Tee Eff" 5 | #define SPCUR_MENUNAME "singleplayercampaign_ctf" 6 | 7 | // For CTF... 8 | 9 | // Internal workings that don't really need to be modified 10 | 11 | // CTF 12 | #define SPCUR_MAP1_UNLOCKCVAR "ui_sp_unlock_7" 13 | #define SPCUR_MAP1NUM 8 14 | #define SPCUR_MAP2_UNLOCKCVAR "ui_sp_unlock_8" 15 | #define SPCUR_MAP2NUM 9 16 | #define SPCUR_MAP3_UNLOCKCVAR "ui_sp_unlock_9" 17 | #define SPCUR_MAP3NUM 10 18 | #define SPCUR_MAP4_UNLOCKCVAR "ui_sp_unlock_10" 19 | #define SPCUR_MAP4NUM 11 20 | #define SPCUR_MAP5_UNLOCKCVAR "ui_sp_unlock_11" 21 | #define SPCUR_MAP5NUM 12 22 | #define SPCUR_MAP6_UNLOCKCVAR "ui_sp_unlock_12" 23 | #define SPCUR_MAP6NUM 13 24 | #define SPCUR_MAP7_UNLOCKCVAR "ui_sp_unlock_13" 25 | #define SPCUR_MAP7NUM 14 26 | #define SPCUR_MAP8_UNLOCKCVAR "ui_sp_unlock_14" 27 | #define SPCUR_MAP8NUM 15 28 | #define SPCUR_MAP9_UNLOCKCVAR "ui_sp_unlock_15" -------------------------------------------------------------------------------- /ui/sp/ladder_dom.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define SPCUR_LADDERNAME "Domination" 4 | #define SPCUR_MENUNAME "singleplayercampaign_dom" 5 | 6 | // For FFA... 7 | 8 | 9 | // Internal workings that don't really need to be modified 10 | 11 | // DM 12 | #define SPCUR_MAP1_UNLOCKCVAR "ui_sp_unlock_15" 13 | #define SPCUR_MAP1NUM 16 14 | #define SPCUR_MAP2_UNLOCKCVAR "ui_sp_unlock_16" 15 | #define SPCUR_MAP2NUM 17 16 | #define SPCUR_MAP3_UNLOCKCVAR "ui_sp_unlock_17" 17 | #define SPCUR_MAP3NUM 18 18 | #define SPCUR_MAP4_UNLOCKCVAR "ui_sp_unlock_18" 19 | #define SPCUR_MAP4NUM 19 20 | #define SPCUR_MAP5_UNLOCKCVAR "ui_sp_unlock_19" 21 | #define SPCUR_MAP5NUM 20 22 | #define SPCUR_MAP6_UNLOCKCVAR "ui_sp_unlock_20" 23 | #define SPCUR_MAP6NUM 21 24 | #define SPCUR_MAP7_UNLOCKCVAR "ui_sp_unlock_21" 25 | #define SPCUR_MAP7NUM 22 26 | #define SPCUR_MAP8_UNLOCKCVAR "ui_sp_unlock_22" 27 | #define SPCUR_MAP8NUM 23 28 | #define SPCUR_MAP9_UNLOCKCVAR "ui_sp_unlock_23" -------------------------------------------------------------------------------- /ui/sp/ladder_ffa.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define SPCUR_LADDERNAME "Deathmath" 4 | #define SPCUR_MENUNAME "singleplayercampaign_ffa" 5 | 6 | // For FFA... 7 | 8 | 9 | // Internal workings that don't really need to be modified 10 | 11 | // DM 12 | #define SPCUR_MAP1NUM 0 13 | #define SPCUR_MAP2_UNLOCKCVAR "ui_sp_unlock_0" 14 | #define SPCUR_MAP2NUM 1 15 | #define SPCUR_MAP3_UNLOCKCVAR "ui_sp_unlock_1" 16 | #define SPCUR_MAP3NUM 2 17 | #define SPCUR_MAP4_UNLOCKCVAR "ui_sp_unlock_2" 18 | #define SPCUR_MAP4NUM 3 19 | #define SPCUR_MAP5_UNLOCKCVAR "ui_sp_unlock_3" 20 | #define SPCUR_MAP5NUM 4 21 | #define SPCUR_MAP6_UNLOCKCVAR "ui_sp_unlock_4" 22 | #define SPCUR_MAP6NUM 5 23 | #define SPCUR_MAP7_UNLOCKCVAR "ui_sp_unlock_5" 24 | #define SPCUR_MAP7NUM 6 25 | #define SPCUR_MAP8_UNLOCKCVAR "ui_sp_unlock_6" 26 | #define SPCUR_MAP8NUM 7 27 | #define SPCUR_MAP9_UNLOCKCVAR "ui_sp_unlock_7" -------------------------------------------------------------------------------- /ui/sp/ladder_over.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define SPCUR_LADDERNAME "Overload" 4 | #define SPCUR_MENUNAME "singleplayercampaign_over" 5 | 6 | // For FFA... 7 | 8 | 9 | // Internal workings that don't really need to be modified 10 | 11 | #define SPCUR_MAP1_UNLOCKCVAR "ui_sp_unlock_23" 12 | #define SPCUR_MAP1NUM 24 13 | #define SPCUR_MAP2_UNLOCKCVAR "ui_sp_unlock_24" 14 | #define SPCUR_MAP2NUM 25 15 | #define SPCUR_MAP3_UNLOCKCVAR "ui_sp_unlock_25" 16 | #define SPCUR_MAP3NUM 26 17 | #define SPCUR_MAP4_UNLOCKCVAR "ui_sp_unlock_26" 18 | #define SPCUR_MAP4NUM 27 19 | #define SPCUR_MAP5_UNLOCKCVAR "ui_sp_unlock_27" 20 | #define SPCUR_MAP5NUM 28 21 | #define SPCUR_MAP6_UNLOCKCVAR "ui_sp_unlock_28" 22 | #define SPCUR_MAP6NUM 29 23 | #define SPCUR_MAP7_UNLOCKCVAR "ui_sp_unlock_29" 24 | #define SPCUR_MAP7NUM 30 25 | #define SPCUR_MAP8_UNLOCKCVAR "ui_sp_unlock_30" 26 | #define SPCUR_MAP8NUM 31 27 | #define SPCUR_MAP9_UNLOCKCVAR "ui_sp_unlock_31" -------------------------------------------------------------------------------- /ui/sp/ladder_tourney.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define SPCUR_LADDERNAME "OneOnOne" 4 | #define SPCUR_MENUNAME "singleplayercampaign_tourney" 5 | 6 | // For FFA... 7 | 8 | #define SPCUR_MAP1 "" // 0 9 | #define SPCUR_MAP2 "" // 1 10 | #define SPCUR_MAP3 "" // 2 11 | #define SPCUR_MAP4 "" // 3 12 | #define SPCUR_MAP5 "Four" // 4 13 | #define SPCUR_MAP6 "Five" // 5 14 | #define SPCUR_MAP7 "Six" // 6 15 | #define SPCUR_MAP8 "Sven" // 7 16 | 17 | // Internal workings that don't really need to be modified 18 | 19 | 20 | #define SPCUR_MAP1_UNLOCKCVAR "ui_sp_unlock_31" 21 | #define SPCUR_MAP1NUM 32 22 | #define SPCUR_MAP2_UNLOCKCVAR "ui_sp_unlock_32" 23 | #define SPCUR_MAP2NUM 33 24 | #define SPCUR_MAP3_UNLOCKCVAR "ui_sp_unlock_33" 25 | #define SPCUR_MAP3NUM 34 26 | #define SPCUR_MAP4_UNLOCKCVAR "ui_sp_unlock_34" 27 | #define SPCUR_MAP4NUM 35 28 | #define SPCUR_MAP5_UNLOCKCVAR "ui_sp_unlock_35" 29 | #define SPCUR_MAP5NUM 36 30 | #define SPCUR_MAP6_UNLOCKCVAR "ui_sp_unlock_36" 31 | #define SPCUR_MAP6NUM 37 32 | #define SPCUR_MAP7_UNLOCKCVAR "ui_sp_unlock_37" 33 | #define SPCUR_MAP7NUM 38 34 | #define SPCUR_MAP8_UNLOCKCVAR "ui_sp_unlock_38" 35 | #define SPCUR_MAP8NUM 39 36 | #define SPCUR_MAP9_UNLOCKCVAR "ui_sp_unlock_39" -------------------------------------------------------------------------------- /ui/sp/mapinfo.panel: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Stuff about the map, info box etc. 4 | 5 | 6 | 7 | 8 | itemDef { 9 | name mappreviewblur 10 | ownerdraw UI_MAPCINEMATIC 11 | textstyle 2 12 | textscale 0.5 13 | backcolor 1 1 1 1 14 | decoration 15 | rect 330 48 300 220 16 | textalignx 0 17 | textaligny 0 18 | border 1 19 | bordercolor MP_BOX_BORDER 20 | visible 1 21 | } 22 | 23 | 24 | itemDef { 25 | name level_info 26 | textstyle 2 27 | ownerdraw UI_MAPS_SELECTION 28 | textscale 0.33 29 | decoration 30 | textalign ITEM_ALIGN_CENTER 31 | rect 400 266 127 32 32 | textalignx 0 33 | textaligny 0 34 | border 0 35 | visible 1 36 | } 37 | 38 | itemDef { 39 | name mappar 40 | ownerdraw UI_MAP_TIMETOBEAT 41 | textstyle 2 42 | textscale 0.27 43 | decoration 44 | text "Par time:" 45 | textalign ITEM_ALIGN_LEFT 46 | rect 360 296 127 32 47 | textalignx 0 48 | textaligny 0 49 | border 0 50 | visible 1 51 | } 52 | 53 | itemDef { 54 | name mapparred 55 | textstyle 2 56 | textscale 0.27 57 | decoration 58 | text "Yer time:" 59 | cvar "ui_scoreTime" 60 | textalign ITEM_ALIGN_LEFT 61 | rect 360 316 127 32 62 | textalignx 0 63 | textaligny 0 64 | border 0 65 | visible 1 66 | } 67 | 68 | itemDef { 69 | name mapparred 70 | textstyle 2 71 | textscale 0.27 72 | decoration 73 | text "Yer time:" 74 | cvar "ui_scoreTime" 75 | textalign ITEM_ALIGN_LEFT 76 | rect 360 316 127 32 77 | textalignx 0 78 | textaligny 0 79 | border 0 80 | visible 1 81 | } 82 | -------------------------------------------------------------------------------- /ui/sp_ladder.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // Single Player Ladders are defined here 24 | // 25 | // 26 | // 27 | // I don't have the guts to dig in ui/ to make a fully dynamic customizable 28 | // scriptable single player progression system so i'll take the lazy way out 29 | // and do it though extensive cvar testing and setting, with LOTS of archived cvars 30 | // 31 | // It's a mess but........ *submit a patch* 32 | // 33 | // 34 | // 35 | 36 | // Will be laid out like this: 37 | 38 | 39 | // S 40 | 41 | 42 | #define LADDER_MAPNAME_DM1 "oa3dm1" // the map that will be called 43 | #define LADDER_NAME____DM1 "The First Map" // the map name that will show 44 | #define LADDER_DESC____DM1 "If you lose on this map, then you suck!!!" // description that will show 45 | #define LADDER_COMMAND_DM1 "startmap oa3dm1; addbot succubus" // command that is called when executed... 46 | #define LADDER_FRAGLMT_DM1 "fraglimit 10" // rules set in this match 47 | #define LADDER_UNLOCK__DM1 "set sp_cg_01 1; set sp_dm_02 1" // commands to execute if you win the matcg -------------------------------------------------------------------------------- /ui/splashtransition.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015-2016 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // MAIN - Console - for console systems. 24 | // This menu will have no buttons and will automatically advance to the main menu. 25 | // It is one of those 'annoying copyright screens' 26 | // 27 | 28 | #include "ui/menudef.h" 29 | #define GOBACKTOMAIN "mainmenu" 30 | { 31 | assetGlobalDef { 32 | smallFont "gfx/2d/bigchars" SMALLFONTSIZE 33 | font "gfx/2d/bigchars" MEDIUMFONTSIZE 34 | bigFont "gfx/2d/bigchars" LARGEFONTSIZE 35 | cursor "ui/assets/cursor" 36 | itemFocusSound MP_SND_HOVER 37 | shadowColor 0.0 0.0 0.0 0.25 38 | focuscolor MP_FOCUSCOLOR 39 | fadeClamp 1.0 40 | fadeCycle 5 41 | fadeAmount 0.05 42 | } 43 | 44 | 45 | menuDef { 46 | name "splashtransitiontomenu" 47 | background "black" 48 | fullScreen 1 49 | rect -1000 0 2000 480 50 | visible MENU_TRUE 51 | forecolor MP_FOCUSCOLOR 52 | focuscolor MP_TEXTCOLOR 53 | 54 | 55 | onEsc 56 | { 57 | playLooped MP_MENUMUSIC 58 | open mainmenu;close splashtransitiontomenu 59 | } 60 | 61 | onOpen { //open mainmenu; 62 | setcvar timedemo 0; // always turn this off when entering the menu, may be an inconvenience to powerusers though 63 | setitemcolor fadeinfirst backcolor 0 0 0 0; 64 | fadein fadeinfirst; 65 | //clearAlpha faderone; 66 | //clearAlpha fadey; 67 | // setitemcolor faderone backcolor 0 0 0 1 ; 68 | //setitemcolor fadey backcolor 0 0 0 0.1 ; 69 | //fadeout faderone; 70 | // setitemcolor loadingbit2 backcolor 0 0 0 0.1 ; 71 | fadein loadingbit2; 72 | //fadein fadey; 73 | 74 | 75 | setitemcolor fadeoutsecond backcolor 0 0 0 -24 76 | // fadein fadeoutsecond; 77 | 78 | //transition loadingbit2 0 0 640 480 0 0 640 480 4 100 ; 79 | transition bglogo -328 -266 1024 1024 0 -128 1024 1024 1 640 ; 80 | xtransition loadingbit1 0 0 255 1 0 0 640 1 4 100 ; 81 | } 82 | 83 | opentransitionEnd 84 | { 85 | fadein fadeoutsecond; 86 | xtransition loadingbit2 0 0 255 1 0 0 640 1 4 400 ; 87 | } 88 | 89 | 90 | opentransitionEnd 91 | { 92 | open mainmenu;close splashtransitiontomenu;close error_popmenu; 93 | } 94 | 95 | 96 | #include "ui/common/splash.panel" 97 | 98 | itemDef { 99 | name loadingbit1 100 | style 1 101 | type 0 102 | textstyle 2 103 | textscale 0.5 104 | rect 0 0 1 1 105 | textalignx 32 106 | textaligny 24 107 | backcolor 0 0 0 0 108 | forecolor 0 0 0 0 109 | 110 | visible 0 111 | } 112 | 113 | 114 | itemDef { 115 | name fadeinfirst 116 | style WINDOW_STYLE_FILLED 117 | type 0 118 | background "white" 119 | rect -960 0 2280 480 120 | backcolor 0 0 0 0.0 121 | forecolor 0 0 0 0 122 | visible 0 123 | decoration 124 | } 125 | 126 | 127 | 128 | itemDef { 129 | name fadeoutsecond 130 | style WINDOW_STYLE_FILLED 131 | type 0 132 | background "white" 133 | rect -960 0 2280 480 134 | backcolor 0 0 0 0.0 135 | forecolor 0 0 0 0 136 | visible 0 137 | decoration 138 | } 139 | 140 | 141 | 142 | 143 | } 144 | 145 | } 146 | } 147 | } 148 | } 149 | } 150 | -------------------------------------------------------------------------------- /ui/theme_greenie.h: -------------------------------------------------------------------------------- 1 | // Dark green background with more greens on top of it to make it look like you're in the future of some snotty 2 | // green alien world or some retro hud or something ebccause green screens are cool 3 | 4 | #define MP_BACKGROUND "ui/assets/splash22.jpg" // background of the menu 5 | #define MP_SND_SELECT "ui/assets5/select.wav" // confirm noise 6 | #define MP_SND_HOVER "ui/assets5/hover.wav" // hover noise 7 | 8 | #define MP_BACKGROUND1 "background_greenie" // background of the menu 9 | //#define MP_BACKGROUND1 "debugbg2" // background of the menu 10 | 11 | #define MP_BACKGROUND2 "mpbscroll" // background of the menu 12 | 13 | #define MP_MAINBUTTONBG "azurebutton" 14 | #define MP_WIDEBUTTONBG "azurebuttonlong" 15 | #define MP_FATBUTTONBG "azurebuttoncombo" 16 | 17 | #define MP_INGAMEBUTTONBARBG "ui/assets3/igtopbtn" 18 | #define MP_INGAMEBUTTONBARBG2 "ui/assets3/igtopbtn2" 19 | 20 | 21 | #define MP_TITLECOLOR 0 1 0 1 // Title colors 22 | #define MP_TEXTCOLOR 0.5 0.8 0.5 1 // regular color of menu button text 23 | #define MP_FOCUSCOLOR 0.9 0.8 0.0 1 // focus 24 | #define MP_BOX_HEADERCOLOR 1 1 1 1 // for the text appearing above editboxes 25 | #define MP_SMALLCOLOR 0.15 0.67 0.02 1 // the smaller options colors 26 | 27 | #define MP_BOX_BORDER 0.0 0.55 0.05 0.6 28 | #define MP_BOX_FORE 0.22 0.4 0.1 1 29 | #define MP_BOX_BACK 0.0 0.2 0.0 1 30 | #define MP_BOX_OUTLINE 0.01 0.5 0.1 0.3 31 | -------------------------------------------------------------------------------- /ui/theme_kewl.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Open Arena; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // Kewl gray and blue and orange color mix. 24 | // 25 | // 26 | //#define PLAYERPORTRAITS // show images of player portraits 27 | #define USECINEMATICS // show our stuff 28 | 29 | #define MP_MENUMUSIC "music/menu_kewl" // music to use for menu 30 | #define MP_BACKGROUND "ui/assets/splash22.jpg" // background of the menu 31 | #define MP_SND_SELECT "ui/kewl/confirm.wav" // confirm noise 32 | #define MP_SND_HOVER "ui/kewl/hover.wav" // hover noise 33 | 34 | #define MP_CINBG "stuff" 35 | #define MP_BACKGROUND1 "background_metal" // background of the menu 36 | //#define MP_BACKGROUND1 "ui/metal/rays" // background of the menu 37 | //#define MP_BACKGROUND1 "debugbg2" // background of the menu 38 | 39 | #define MP_BACKGROUND2 "ui/moe/moebg" // background of the menu 40 | #define MP_BACKGROUNDMODEL "models/ui/metal.md3" 41 | #define MP_MAINBUTTONBG "ui/metal/buttonlonga" 42 | #define MP_FATBUTTONBG "ui/metal/buttonlonga" 43 | #define MP_WIDEBUTTONBG "ui/metal/buttonlonga" 44 | #define MP_WIDEBUTTONWONBG "ui/metal/buttonlonga" 45 | #define MP_FATBUTTONBG "ui/metal/buttonlonga" 46 | #define MP_LONGBUTTONBG "ui/metal/buttonlonga" 47 | #define MP_LONGBUTTONBGA "ui/metal/buttonlonga" 48 | 49 | #define MP_DIALOGBG "ui/metal/ray" // used for every every and every box and every box and every box 50 | 51 | #define MP_INGAMEBUTTONBARBG "ui/moe/moebutton" 52 | #define MP_INGAMEBUTTONBARBG2 "ui/moe/moebutton" 53 | 54 | #define MP_TITLECOLOR 1 1 1 1 // Title colors 55 | #define MP_TEXTCOLOR 0.7 0.7 0.7 1 // regular color of menu button text 56 | #define MP_FOCUSCOLOR 0.6 0.6 0.1 1 // focus 57 | #define MP_BOX_HEADERCOLOR 1 1 1 1 // for the text appearing above editboxes 58 | #define MP_SMALLCOLOR 0.85 0.85 0.85 1 // the smaller options colors 59 | 60 | #define MP_BOX_BORDER 0.0 0.0 0.0 1 61 | #define MP_BOX_FORE 1 1 1 1 62 | #define MP_BOX_BACK 0.0 0.2 0.7 0.4 63 | #define MP_BOX_OUTLINE 0.01 0.5 1 0.3 64 | 65 | #define MP_BUTTONBGCOLOR 1 1.0 1.0 0 66 | #define MP_BUTTON2BGCOLOR 1 1.0 1.0 0 67 | #define MP_TABLONGBGCOLOR 1 1.0 1.0 0 68 | #define MP_UNTABLONGBGCOLOR 1 1.0 1.0 0 69 | #define MP_DIALOGBGCOLOR 0.0 0.0 0.0 0.5 70 | 71 | 72 | #define MP_KEYBINDBGCOLOR 1.0 1.0 1.0 1.0 73 | #define MP_KEYBINDSELCOLOR 0.4 0.6 1.0 1.0 74 | 75 | 76 | // Context sensitive area at the bottom 77 | 78 | #define TIP_BG 0.0 0.0 0.3 1.0 79 | #define TIP_COLOR 0.5 0.5 0.5 1.0 80 | #define TIP_SMALLTEXT 0.5 0.5 0.5 0.6 81 | 82 | 83 | 84 | 85 | 86 | // 87 | // Offsets and Alignments for main menus and the like (to adjust for like, background decoration images) 88 | // 89 | 90 | 91 | #define MMENU_ALIGNITEM ITEM_ALIGN_CENTER 92 | #define MMENU_OFFSETITEMH 60 93 | 94 | #define MP_KEYBINDMENU "ui/panels/keybind2.bit" 95 | // uncomment this for simpler keybind choices -------------------------------------------------------------------------------- /ui/theme_metal.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Open Arena; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // Moe or cute - pink/blue on WHITE, pink/blue borders, kawaii~ 24 | // 25 | // 26 | //#define PLAYERPORTRAITS // show images of player portraits 27 | #define USECINEMATICS // show our stuff 28 | #define TRANSITION_FADEOUT // Enable fadeouts 29 | #define TRANSITION_FADEIN // Enable fadeins 30 | //#define TRANSITION_LOGOZOOM // Enable red logo zoomout for starting a game 31 | 32 | #define MP_MENUMUSIC "music/menu_metal" // music to use for menu 33 | #define MP_BACKGROUND "ui/assets/splash22.jpg" // background of the menu 34 | #define MP_SND_SELECT "ui/metal/confirm.wav" // confirm noise 35 | #define MP_SND_HOVER "ui/assets5/hover.wav" // hover noise 36 | 37 | #define MP_CINBG "stuff" 38 | #define MP_BACKGROUND1 "background_metal" // background of the menu 39 | //#define MP_BACKGROUND1 "ui/metal/rays" // background of the menu 40 | //#define MP_BACKGROUND1 "debugbg2" // background of the menu 41 | 42 | #define MP_BACKGROUND2 "ui/moe/moebg" // background of the menu 43 | #define MP_BACKGROUNDMODEL "models/ui/metal.md3" 44 | #define MP_MAINBUTTONBG "ui/metal/buttonlonga" 45 | #define MP_FATBUTTONBG "ui/metal/buttonlonga" 46 | #define MP_WIDEBUTTONBG "ui/metal/buttonlonga" 47 | #define MP_WIDEBUTTONWONBG "ui/metal/buttonlonga" 48 | #define MP_FATBUTTONBG "ui/metal/buttonlonga" 49 | #define MP_LONGBUTTONBG "ui/metal/buttonlonga" 50 | #define MP_LONGBUTTONBGA "ui/metal/buttonlonga" 51 | 52 | #define MP_DIALOGBG "ui/metal/ray" // used for every every and every box and every box and every box 53 | 54 | #define MP_INGAMEBUTTONBARBG "ui/moe/moebutton" 55 | #define MP_INGAMEBUTTONBARBG2 "ui/moe/moebutton" 56 | 57 | #define MP_TITLECOLOR 1 1 1 1 // Title colors 58 | #define MP_TEXTCOLOR 1.0 1.0 1.0 1 // regular color of menu button text 59 | #define MP_FOCUSCOLOR 1.0 1.0 0.3 1 // focus 60 | #define MP_BOX_HEADERCOLOR 1 1 1 1 // for the text appearing above editboxes 61 | #define MP_SMALLCOLOR 0.85 0.85 0.85 1 // the smaller options colors 62 | 63 | #define MP_BOX_BORDER 0.0 0.0 0.0 1 64 | #define MP_BOX_FORE 1 1 1 1 65 | #define MP_BOX_BACK 0.0 0.0 0.1 1 66 | #define MP_BOX_OUTLINE 0.01 0.5 1 0.3 67 | 68 | #define MP_BUTTONBGCOLOR 1 1.0 1.0 0 69 | #define MP_BUTTON2BGCOLOR 1 1.0 1.0 0 70 | #define MP_TABLONGBGCOLOR 1 1.0 1.0 0 71 | #define MP_UNTABLONGBGCOLOR 1 1.0 1.0 0 72 | #define MP_DIALOGBGCOLOR 0.0 0.0 0.0 0.5 73 | 74 | 75 | #define MP_KEYBINDBGCOLOR 1.0 1.0 1.0 1.0 76 | #define MP_KEYBINDSELCOLOR 0.4 0.6 1.0 1.0 77 | 78 | 79 | // Context sensitive area at the bottom 80 | 81 | #define TIP_BG 0.0 0.0 0.3 1.0 82 | #define TIP_COLOR 0.5 0.5 0.5 1.0 83 | #define TIP_SMALLTEXT 0.5 0.5 0.5 0.6 84 | 85 | 86 | 87 | 88 | 89 | // 90 | // Offsets and Alignments for main menus and the like (to adjust for like, background decoration images) 91 | // 92 | 93 | 94 | #define MMENU_ALIGNITEM ITEM_ALIGN_LEFT 95 | #define MMENU_OFFSETITEMH -240 96 | 97 | #define MP_KEYBINDMENU "ui/panels/keybind2.bit" 98 | // uncomment this for simpler keybind choices -------------------------------------------------------------------------------- /ui/theme_moe.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2014 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Open Arena; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // Moe or cute - pink/blue on WHITE, pink/blue borders, kawaii~ 24 | // 25 | // 26 | #define PLAYERPORTRAITS // show images of player portraits 27 | #define MP_BACKGROUND "ui/assets/splash22.jpg" // background of the menu 28 | #define MP_SND_SELECT "ui/assets5/select.wav" // confirm noise 29 | #define MP_SND_HOVER "ui/assets5/hover.wav" // hover noise 30 | #define MP_MENUMUSIC "music/menu_moe" // music to use for menu 31 | #define MP_BACKGROUND1 "background_azure" // background of the menu 32 | //#define MP_BACKGROUND1 "ui/metal/rays" // background of the menu 33 | //#define MP_BACKGROUND1 "debugbg2" // background of the menu 34 | 35 | #define MP_BACKGROUND2 "ui/moe/moebg" // background of the menu 36 | #define MP_BACKGROUNDMODEL "models/ui/moeray.md3" 37 | #define MP_MAINBUTTONBG "ui/moe/moebutton3" 38 | #define MP_FATBUTTONBG "ui/moe/moebutton3" 39 | #define MP_WIDEBUTTONBG "ui/moe/moebutton3" 40 | #define MP_WIDEBUTTONWONBG "ui/moe/moebutton3" 41 | #define MP_FATBUTTONBG "ui/moe/moebutton3" 42 | #define MP_LONGBUTTONBG "ui/moe/moebutton4" 43 | #define MP_LONGBUTTONBGA "ui/moe/moebutton4a" 44 | 45 | #define MP_DIALOGBG "ui/moe/moebg" // used for every every and every box and every box and every box 46 | 47 | #define MP_INGAMEBUTTONBARBG "ui/moe/moebutton" 48 | #define MP_INGAMEBUTTONBARBG2 "ui/moe/moebutton" 49 | 50 | #define MP_TITLECOLOR 1.0 0.2 0.5 1 // Title colors 51 | #define MP_TEXTCOLOR 0.8 0.2 0.6 1 // regular color of menu button text 52 | #define MP_FOCUSCOLOR 0.0 0.6 1.0 1 // focus 53 | #define MP_BOX_HEADERCOLOR 0.6 0.5 1 1 // for the text appearing above editboxes 54 | #define MP_SMALLCOLOR 0.25 0.45 0.85 1 // the smaller options colors 55 | 56 | #define MP_BOX_BORDER 1.0 0.1 0.7 1 57 | #define MP_BOX_FORE 0.01 0.5 1 1 58 | #define MP_BOX_BACK 0.0 0.0 0.1 1 59 | #define MP_BOX_OUTLINE 0.01 0.5 1 0.3 60 | 61 | #define MP_BUTTONBGCOLOR 1 0.2 0.7 1 62 | #define MP_BUTTON2BGCOLOR 1 0.2 0.7 1 63 | #define MP_TABLONGBGCOLOR 1 0.2 0.7 1 64 | #define MP_UNTABLONGBGCOLOR 0 0.2 1.0 1 65 | #define MP_DIALOGBGCOLOR 1.0 1.0 1.0 1.0 66 | 67 | 68 | #define MP_KEYBINDBGCOLOR 1.0 1.0 1.0 1.0 69 | #define MP_KEYBINDSELCOLOR 0.4 0.6 1.0 1.0 70 | 71 | 72 | // Context sensitive area at the bottom 73 | 74 | #define TIP_BG 1.0 1.0 1.0 1.0 75 | #define TIP_COLOR 1.0 0.2 0.8 1.0 76 | #define TIP_SMALLTEXT 0.5 0.2 0.8 0.6 77 | 78 | 79 | // Text Scales and stuff 80 | // 81 | // 48pt - 1.0 82 | // 24pt - 0.5 83 | // 9pt - 0.1875 84 | 85 | #define SMALLFONTSIZE 12 86 | #define MEDIUMFONTSIZE 24 87 | #define LARGEFONTSIZE 24 88 | 89 | #define KEYBINDBITTEXTSCALE .1875 // Controls menu columns 90 | 91 | 92 | 93 | 94 | 95 | // 96 | // Offsets and Alignments for main menus and the like (to adjust for like, background decoration images) 97 | // 98 | 99 | 100 | #define MMENU_ALIGNITEM ITEM_ALIGN_RIGHT 101 | #define MMENU_OFFSETITEMH 360 102 | 103 | #define MP_KEYBINDMENU "ui/panels/keybind2.bit" 104 | // uncomment this for simpler keybind choices -------------------------------------------------------------------------------- /ui/theme_moe.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | 26 | // Theme stub 27 | { 28 | assetGlobalDef { 29 | smallFont "gfx/2d/bigchars" 12 30 | font "gfx/2d/bigchars" 16 31 | bigFont "gfx/2d/bigchars" 24 32 | cursor "ui/assets/cursor" 33 | itemFocusSound MP_SND_HOVER 34 | shadowColor 0.0 0.0 0.0 0.25 35 | #include "ui/theme_azure.h" 36 | } 37 | 38 | 39 | menuDef { 40 | name "thememoe" 41 | background MP_BACKGROUND1 42 | fullScreen 1 43 | rect 0 0 640 480 44 | visible MENU_TRUE 45 | forecolor MP_FOCUSCOLOR 46 | focuscolor MP_TEXTCOLOR 47 | 48 | 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /ui/theme_qlassic.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Open Arena; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | // 23 | // 1999 menu color scheme. Black, orange, red 24 | // 25 | // 26 | //#define PLAYERPORTRAITS // show images of player portraits 27 | //#define USECINEMATICS // show our stuff 28 | 29 | #define MP_BACKGROUND "menuback" // background of the menu 30 | #define MP_BACKGROUND1 "menuback" // background of the menu 31 | 32 | #define MP_BACKGROUND2 "menubacknologo" // background of the menu 33 | 34 | #define MP_TITLECOLOR 1 0 0 1 // Title colors 35 | #define MP_TEXTCOLOR 1.00 0.43 0.00 1.00 // regular color of menu button text 36 | #define MP_FOCUSCOLOR 1.00 1.00 0.00 1.00 // focus 37 | #define MP_BOX_HEADERCOLOR 1.00 0.43 0.00 1.00 // for the text appearing above editboxes 38 | #define MP_SMALLCOLOR 1.00 0.43 0.00 1.00 // the smaller options colors 39 | 40 | #define MP_BOX_BORDER 0.0 0.0 0.0 1 41 | #define MP_BOX_FORE 1.00 0.43 0.00 1.00 42 | #define MP_BOX_BACK 0.00 0.00 0.00 0.30 43 | #define MP_BOX_OUTLINE 0 0 0 0 44 | 45 | #define MP_BUTTONBGCOLOR 1 1.0 1.0 0 46 | #define MP_BUTTON2BGCOLOR 1 1.0 1.0 0 47 | #define MP_TABLONGBGCOLOR 1 1.0 1.0 0 48 | #define MP_UNTABLONGBGCOLOR 1 1.0 1.0 0 49 | #define MP_DIALOGBGCOLOR 0.0 0.0 0.0 0.5 50 | 51 | 52 | #define MP_KEYBINDBGCOLOR 1.00 0.43 0.00 0.30 53 | #define MP_KEYBINDSELCOLOR 1.00 0.43 0.00 1.00 54 | 55 | 56 | // Context sensitive area at the bottom 57 | 58 | #define TIP_BG 0.0 0.0 0.3 1.0 59 | #define TIP_COLOR 1.00 0.43 0.00 1.00 60 | #define TIP_SMALLTEXT 1.00 0.43 0.00 1.00 61 | 62 | 63 | 64 | 65 | 66 | // 67 | // Offsets and Alignments for main menus and the like (to adjust for like, background decoration images) 68 | // 69 | 70 | 71 | #define MMENU_ALIGNITEM ITEM_ALIGN_CENTER 72 | #define MMENU_OFFSETITEMH 60 73 | 74 | #define MP_KEYBINDMENU "ui/panels/keybind2.bit" 75 | // uncomment this for simpler keybind choices -------------------------------------------------------------------------------- /ui/transition_campaign.menu: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Foobar; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #include "ui/menudef.h" 24 | 25 | { 26 | assetGlobalDef { 27 | smallFont "gfx/2d/bigchars" 12 28 | font "gfx/2d/bigchars" 16 29 | bigFont "gfx/2d/bigchars" 24 30 | cursor "ui/assets/cursor" 31 | itemFocusSound MP_SND_HOVER 32 | shadowColor 0.0 0.0 0.0 0.25 33 | } 34 | 35 | 36 | menuDef { 37 | name "transition_sp" 38 | background MP_BACKGROUND1 39 | fullScreen 1 40 | rect 0 0 640 480 41 | visible MENU_TRUE 42 | forecolor MP_FOCUSCOLOR 43 | focuscolor MP_TEXTCOLOR 44 | 45 | onOpen { 46 | // hide uistuff; 47 | xtransition windowone 16 -480 300 400 16 32 300 400 1 20; 48 | xtransition windowtwo 316 480 300 400 316 32 300 400 1 20; 49 | } 50 | 51 | opentransitionEnd 52 | { 53 | open singleplayercampaign; 54 | close transition_sp; 55 | } 56 | 57 | #include "ui/common/symbol2.panel" 58 | #include "ui/common/tooltip.panel" 59 | 60 | itemDef { 61 | name windowone 62 | text "Ladder Selection" 63 | background MP_DIALOGBG 64 | style 1 65 | type 0 66 | textstyle 2 67 | textscale 0.5 68 | decoration 69 | rect 16 32 300 400 70 | textalignx 32 71 | scralign ALIGN_CENTER 72 | textaligny 24 73 | border 1 74 | backcolor MP_DIALOGBGCOLOR 75 | bordercolor MP_BOX_BORDER 76 | visible 1 77 | } 78 | 79 | itemDef { 80 | name windowtwo 81 | text "You" 82 | background MP_DIALOGBG 83 | style 1 84 | type 0 85 | textstyle 2 86 | textscale 0.5 87 | decoration 88 | rect 316 32 300 400 89 | textalignx 32 90 | textaligny 24 91 | border 1 92 | backcolor MP_DIALOGBGCOLOR 93 | bordercolor MP_BOX_BORDER 94 | visible 1 95 | } 96 | 97 | } 98 | } 99 | } 100 | } 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /ui/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 2015 Open Arena Team 4 | 5 | This file is part of Open Arena. 6 | 7 | Open Arena is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Open Arena is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Open Arena; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | #define OA3VERSION "openarena3test" 24 | -------------------------------------------------------------------------------- /ui/win/boxes.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/win/boxes.tga -------------------------------------------------------------------------------- /ui/win/check0.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/win/check0.tga -------------------------------------------------------------------------------- /ui/win/check1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/win/check1.tga -------------------------------------------------------------------------------- /ui/win/exit.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenArena/UI3/c71964962e4afdc9d93cb810e1e81f46d54d7a8b/ui/win/exit.tga --------------------------------------------------------------------------------