![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Wargus Warcraft 2 port for pc Made in LUA within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Yup no jokes look the source in the scripts folder: http://wargus.sourceforge.net/index.shtml also here is a quick proof: Code: -- _________ ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Yup no jokes look the source in the scripts folder:
http://wargus.sourceforge.net/index.shtml also here is a quick proof: Code:
-- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
-- \/ \/ \//_____/ \/
-- ______________________ ______________________
-- T H E W A R B E G I N S
-- Stratagus - A free fantasy real time strategy game engine
--
-- menus.lua - Menus configuration
--
-- (c) Copyright 2002-2004 by Kachalov Anton and Jimmy Salmon.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
-- $Id: menus.lua,v 1.10 2004/05/31 19:57:49 jsalmon3 Exp $
--
-- load the keystroke helps
--
Load("scripts/keystrokes.lua")
local MenuBackground = "graphics/ui/Menu_background_without_title.png"
--
-- define the menu graphics
--
DefineMenuGraphics({
{"file", "ui/buttons_1.png", "size", {300, 144}},
{"file", "ui/buttons_2.png", "size", {300, 144}}})
--
-- menu-game
--
DefineMenu("name", "menu-game", "geometry", {272, 96, 256, 288},
"panel", "panel1", "default", 7)
DefineMenuItem("pos", { 128, 11}, "font", "large", "init", "game-menu-init",
"text", {"caption", "Game Menu", "align", "center"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 40}, "font", "large",
"button", {"size", {106, 27},
"caption", "Save (~<F11~>)",
"hotkey", "f11",
"func", "save-game-menu",
"style", "gm-half"},
"menu", "menu-game")
DefineMenuItem("pos", { 16 + 12 + 106, 40}, "font", "large",
"button", {"size", {106, 27},
"caption", "Load (~<F12~>)",
"hotkey", "f12",
"func", "load-game-menu",
"style", "gm-half"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 40 + (36 * 1)}, "font", "large",
"button", {"size", {224, 27},
"caption", "Options (~<F5~>)",
"hotkey", "f5",
"func", "game-options-menu",
"style", "gm-full"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 40 + (36 * 2)}, "font", "large",
"button", {"size", {224, 27},
"caption", "Help (~<F1~>)",
"hotkey", "f1",
"func", "help-menu",
"style", "gm-full"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 40 + (36 * 3)}, "font", "large",
"button", {"size", {224, 27},
"caption", "Scenario ~!Objectives",
"hotkey", "o",
"func", "objectives-menu",
"style", "gm-full"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 40 + (36 * 4)}, "font", "large",
"button", {"size", {224, 27},
"caption", "~!End Scenario",
"hotkey", "e",
"func", "end-scenario-menu",
"style", "gm-full"},
"menu", "menu-game")
DefineMenuItem("pos", { 16, 288 - 40}, "font", "large",
"button", {"size", {224, 27},
"caption", "Return to Game (~<Esc~>)",
"hotkey", "esc",
"func", "game-menu-return",
"style", "gm-full"},
"menu", "menu-game")
--
-- menu-victory
--
DefineMenu("name", "menu-victory", "geometry", {256, 176, 288, 128},
"panel", "panel4", "default", 2)
DefineMenuItem("pos", { 144, 11}, "font", "large", "init", "victory-init",
"text", {"caption", "Congratulations!", "align", "center"},
"menu", "menu-victory")
DefineMenuItem("pos", { 144, 32}, "font", "large",
"text", {"caption", "You are victorious!", "align", "center"},
"menu", "menu-victory")
DefineMenuItem("pos", { 32, 56}, "font", "large",
"button", {"size", {224, 27},
"caption", "~!Victory",
"hotkey", "v",
"func", "game-menu-end",
"style", "gm-full"},
"menu", "menu-victory")
DefineMenuItem("pos", { 32, 90}, "font", "large",
"button", {"size", {224, 27},
"caption", "Save ~!Replay",
"hotkey", "r",
"func", "save-replay",
"style", "gm-full"},
"menu", "menu-victory")
--
-- menu-defeated
--
DefineMenu("name", "menu-defeated", "geometry", {256, 176, 288, 128},
"panel", "panel4", "default", 2)
DefineMenuItem("pos", { 144, 11}, "font", "large", "init", "defeated-init",
"text", {"caption", "You have failed to", "align", "center"},
"menu", "menu-defeated")
DefineMenuItem("pos", { 144, 32}, "font", "large",
"text", {"caption", "achieve victory!", "align", "center"},
"menu", "menu-defeated")
DefineMenuItem("pos", { 32, 56}, "font", "large",
"button", {"size", {224, 27},
"caption", "~!OK",
"hotkey", "o",
"func", "game-menu-end",
"style", "gm-full"},
"menu", "menu-defeated")
DefineMenuItem("pos", { 32, 90}, "font", "large",
"button", {"size", {224, 27},
"caption", "Save ~!Replay",
"hotkey", "r",
"func", "save-replay",
"style", "gm-full"},
"menu", "menu-defeated")
--
-- menu-save-replay
--
DefineMenu("name", "menu-save-replay", "geometry", {256, 176, 288, 128},
"panel", "panel4", "default", 1)
DefineMenuItem("pos", { 144, 11}, "font", "large", "init", "save-replay-init", "exit", "save-replay-exit",
"text", {"caption", "Save Replay", "align", "center"},
"menu", "menu-save-replay")
DefineMenuItem("pos", { 14, 40}, "font", "game",
"input", {"size", {260, 20},
"func", "save-replay-enter-action",
"style", "pulldown"},
"menu", "menu-save-replay")
DefineMenuItem("pos", { 14, 80}, "font", "large", "flags", {"disabled"},
"button", {"size", {112, 27},
"caption", "~!OK",
"hotkey", "o",
"func", "save-replay-ok",
"style", "gm-half"},
"menu", "menu-save-replay")
DefineMenuItem("pos", { 162, 80}, "font", "large",
"button", {"size", {112, 27},
"caption", "Cancel (~<Esc~>)",
"hotkey", "esc",
"func", "end-menu",
"style", "gm-half"},
"menu", "menu-save-replay")
--
-- menu-select-scenario
--
DefineMenu("name", "menu-select-scenario", "geometry", {144, 64, 352, 352},
"panel", "panel5", "background", MenuBackground, "default", 4)
DefineMenuItem("pos", { 176, 8}, "font", "large", "init", "scen-select-init",
"text", {"caption", "Select scenario", "align", "center"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 24, 140}, "font", "game", "init", "scen-select-lb-init", "exit", "scen-select-lb-exit",
"listbox", {"size", {288, 108},
"style", "pulldown",
"func", "scen-select-lb-action",
"retopt", "scen-select-lb-retrieve",
"handler", "scen-select-ok",
"nlines", 6},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 312, 140}, "font", "small",
"vslider", {"size", {18, 108},
"func", "scen-select-vs-action",
"handler", "scen-select-ok"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 48, 318}, "font", "large",
"button", {"size", {106, 27},
"caption", "OK",
"hotkey", "",
"func", "scen-select-ok",
"style", "gm-half"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 198, 318}, "font", "large",
"button", {"size", {106, 27},
"caption", "Cancel",
"hotkey", "",
"func", "scen-select-cancel",
"style", "gm-half"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 132, 40}, "font", "large",
"text", {"caption", "Type:", "align", "right"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 140, 40}, "font", "game",
"pulldown", {"size", {192, 20},
"style", "pulldown",
"func", "scen-select-tpms-action",
"options", {"Stratagus scenario (cm)", "Foreign scenario (pud)" },
"default", 1,
"current", 1},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 132, 80}, "font", "large",
"text", {"caption", "Map size:", "align", "right"},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 140, 80}, "font", "game",
"pulldown", {"size", {192, 20},
"style", "pulldown",
"func", "scen-select-tpms-action",
"options", {"Any size", "32 x 32", "64 x 64", "96 x 96", "128 x 128", "256 x 256", "512 x 512", "1024 x 1024" },
"default", 0,
"current", 0},
"menu", "menu-select-scenario")
DefineMenuItem("pos", { 22, 112}, "font", "game",
"button", {"size", {36, 24},
"caption", "",
"hotkey", "",
"func", "scen-select-folder",
"style", "folder"},
"menu", "menu-select-scenario")
--EDIT-- Bad section can somone put this in the Port section.
__________________
Free Prizes at [url=http://www.prizerebel.com/index.php?r=189687]Prizerebel[/url] Join us! I already got [b]11[/b] Gifts. Ask me for details or proof. |
|
|
|
|
|
#2 |
![]() |
ooooh nice. i want to play this now, too bad you need the orig warcraft 2 dos (non blizz) version =[ well maybe i can find it cheap on ebay
__________________
[CENTER][COLOR="DarkOrange"]--> ˙ƃuıʎɐs ɯɐ ı ʇɐɥʍ ɟo pɹoʍ ǝıƃuıs ɐ puɐʇsɹǝpun ʇ,uop ı sǝɯıʇǝɯos ʇɐɥʇ ɹǝʌǝıɔ os ɯɐ ı <--[/COLOR][/CENTER] |
|
|
|
|
|
#3 |
![]() ![]() 73|-| m4573r poker
|
pics?
|
|
|
|
|
|
#4 | |
![]() ![]() AKA Homer
|
Quote:
|
|
|
|
|
|
|
#8 |
![]() |
Head_54us im not only the menu even the game play that just a part of the code if you look in the script foler that is in the source code you will see :Character.lua credits.lua gameplay.lua and alot of other stuff i didn't see more then 5 c script.
__________________
Free Prizes at [url=http://www.prizerebel.com/index.php?r=189687]Prizerebel[/url] Join us! I already got [b]11[/b] Gifts. Ask me for details or proof. |
|
|
|
|
|
#9 | |
![]() ![]() Developer
|
Quote:
|
|
|
|
|
![]() |
| Tags |
| lua , made , port , warcraft , wargus |
| Thread Tools | |
|
|