Skip to content

Commit

Permalink
reimport ui
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarpunk committed Dec 13, 2024
1 parent 3e4c389 commit 6251460
Show file tree
Hide file tree
Showing 23 changed files with 736 additions and 29 deletions.
2 changes: 2 additions & 0 deletions Writerside/resources/default/test.j
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
function main takes nothing returns nothing
endfunction
720 changes: 720 additions & 0 deletions Writerside/resources/default/war3skins.txt

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Writerside/resources/map/UI/Console/Human/HumanUITile01.blp
Binary file not shown.
Binary file modified Writerside/resources/map/UI/Console/Human/HumanUITile02.blp
Binary file not shown.
Binary file modified Writerside/resources/map/UI/Console/Human/HumanUITile03.blp
Binary file not shown.
Binary file modified Writerside/resources/map/UI/Console/Human/HumanUITile04.blp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 5 additions & 1 deletion Writerside/resources/map/as/main.as
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ namespace Map {
void main() {
print("Map::main()\n");

SetTimeOfDayScale(10);
//SetTimeOfDayScale(10);
SuspendTimeOfDay(false);
SetFloatGameState(GAME_STATE_TIME_OF_DAY, 0.f);

SetCameraBounds( - 2048.0f + GetCameraMargin(CAMERA_MARGIN_LEFT), - 2048.0f + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 2048.0f - GetCameraMargin(CAMERA_MARGIN_RIGHT), 2048.0f - GetCameraMargin(CAMERA_MARGIN_TOP), - 2048.0f + GetCameraMargin(CAMERA_MARGIN_LEFT), 2048.0f - GetCameraMargin(CAMERA_MARGIN_TOP), 2048.0f - GetCameraMargin(CAMERA_MARGIN_RIGHT), - 2048.0f + GetCameraMargin(CAMERA_MARGIN_BOTTOM));
SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl");
Expand All @@ -15,6 +17,8 @@ void main() {
TimerStart(CreateTimer(), 0.f, false, function() {
DestroyTimer(GetExpiredTimer());



for (int i = 0; i < 12 ; ++i) {
player p = Player(i);
if (GetPlayerController(p) == MAP_CONTROL_USER && GetPlayerSlotState(p) == PLAYER_SLOT_STATE_PLAYING) {
Expand Down
26 changes: 0 additions & 26 deletions Writerside/resources/map/war3mapskin-temp.txt

This file was deleted.

7 changes: 7 additions & 0 deletions Writerside/resources/map/war3mapskin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ EscMenuTextFont=Fonts\Gabriela.ttf
InfoPanelTextFont=Fonts\Gabriela.ttf
TextTagFont=Fonts\Gabriela.ttf

EscMenuButtonBorder=UI\Widgets\EscMenu\Human\human-options-menu-border.blp
EscMenuButtonPushedBorder=UI\Widgets\EscMenu\Human\human-options-menu-border.blp
EscMenuButtonBackground=UI\Widgets\EscMenu\Human\human-options-menu-background.blp
EscMenuButtonPushedBackground=UI\Widgets\EscMenu\Human\human-options-menu-background.blp

ToolTipBorder=UI\Widgets\EscMenu\Human\human-options-menu-border.blp
ToolTipBackground=UI\Widgets\EscMenu\Human\human-options-menu-background.blp
Binary file modified Writerside/resources/moonlight.w3x
Binary file not shown.
4 changes: 2 additions & 2 deletions Writerside/resources/pack/run.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rem %UjAPILauncher% -ujapi "dev" -as "console" -window -launch "Warcraft" -loadfile "%w3x%"
%UjAPILauncher% -ujapi "" -as "" -launch "Warcraft" -loadfile "%w3x%"
%UjAPILauncher% -ujapi "dev" -as "console" -window -launch "Warcraft" -loadfile "%w3x%"
rem %UjAPILauncher% -ujapi "" -as "" -launch "Warcraft" -loadfile "%w3x%"

0 comments on commit 6251460

Please sign in to comment.