Skip to content

Commit 5985589

Browse files
committed
Merge branch 'programming'
2 parents 667e8cc + 4c4a37f commit 5985589

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

FalloutStrategy/FalloutEngine/FoWManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ void FoWManager::OnCommand(std::vector<std::string> command_parts)
441441
//Increase all resources
442442
if (command_beginning == "fog_of_war") {
443443
App->render->fog_of_war = !App->render->fog_of_war;
444-
if (App->render->fog_of_war) LOG("Fog Of War Activated");
445-
else LOG("Fog Of War Deactivated");
444+
if (App->render->fog_of_war) LOG("Fog Of War enabled");
445+
else LOG("Fog Of War disabled");
446446
}
447447
}

FalloutStrategy/FalloutEngine/j1App.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void j1App::FinishUpdate()
272272
uint32 frames_on_last_update = prev_last_sec_frame_count;
273273
static char title[256];
274274

275-
sprintf_s(title, 256, " Fallout Strategy 0.9.5 - Kalima Entertainment | FPS: %d",
275+
sprintf_s(title, 256, " Fallout Strategy v1.0 - Kalima Entertainment | FPS: %d",
276276
prev_last_sec_frame_count, dt, App->render->camera.x, App->render->camera.y);
277277
App->win->SetTitle(title);
278278

FalloutStrategy/FalloutEngine/j1Render.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ j1Render::j1Render() : j1Module()
1515
background.g = 0;
1616
background.b = 0;
1717
background.a = 0;
18-
debug = true;
18+
19+
debug = false;
1920
fog_of_war = true;
2021

2122
viewport.x = 0;

FalloutStrategy/FalloutEngine/j1Scene.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ bool j1Scene::Start()
143143

144144
App->minimap->Enable();
145145

146+
/*
146147
//top_left
147148
App->entities->CreateEntity(VAULT, MELEE, 20, 20, App->player);
148149
App->entities->CreateEntity(VAULT, MELEE, 21, 20, App->player);
@@ -163,6 +164,7 @@ bool j1Scene::Start()
163164
App->entities->CreateEntity(VAULT, MELEE, 131, 110, App->player);
164165
App->entities->CreateEntity(VAULT, RANGED, 130, 111, App->player);
165166
App->entities->CreateEntity(VAULT, RANGED, 131, 111, App->player);
167+
*/
166168

167169
//Set camera to player's base position
168170
App->render->camera.x -= (int)(App->player->base->position.x - App->render->camera.w * 0.5f);
-1.23 MB
Binary file not shown.
-1.29 MB
Binary file not shown.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
This is a real-time strategy game produced by 2nd year students from CITM/UPC University in Terrassa, Barcelona.
33

44
## Goal
5-
* Make your faction survive among the others in this exciting RTS! Be careful with the deathclaws at the end of the game.
5+
* Make your faction survive among the others in this exciting RTS! Be careful with the deathclaws at the end of the game, they are really fast and will try to destroy your base as fast as possible!
66

77
### Win / Lose conditions
8-
Destroy all other factions' buildings to win the game before you run out of time, if all of yours are destroyed you will lose.
8+
Destroy all other factions' buildings to win the game before you run out of time, if all of yours are destroyed you will lose. If the Deathclaws have appeared you will also have to kill them in order to win the game.
99

1010
## Controls
11-
* Left click on the unit and left click on the position you want to make it go to.
11+
* Left click on the unit and right click on the position you want it go.
1212
* º - Turn console ON/OFF
1313
* Y - Block/Unblock border scroll
1414
* C - Center camera on selected entity
@@ -23,17 +23,17 @@ Destroy all other factions' buildings to win the game before you run out of time
2323

2424
## Boost
2525
Upgrade your buildings to give differents boosts to your faction. Every building will gain a different boost depending of the level of the upgrade.
26-
* Base - Increase resource limit and Gatherer resource limit
27-
* Barrack - Damage and Speed to all the units
28-
* Laboratory - Add health to units and decrease creation time
26+
* Base - Increase resource limit and Gatherer resource limit.
27+
* Barrack - Damage and Speed to all the units. If you upgrade one barrack, the both of them will.
28+
* Laboratory - Add health to units and decrease creation time.
2929

3030
## Special ability/unit
3131
Obtain an extra help in the laboratory of your faction that would make your journey easier.
32-
*Radar- Reveal the location of your enemies
33-
*Mr. Handy- Great robot with a big amount of life and damage, that will lend you a hand in the fight.
32+
* Radar- Reveal the location of your enemies
33+
* Mr. Handy- Great robot with a big amount of life and damage, that will lend you a hand in the fight.
3434

3535
## Quests
36-
Complete the quests at the beginning of the game to receive a Mr. Handy totally free.
36+
Complete the quests at the beginning of the game to receive a Mr. Handy totally for free.
3737

3838
### Debug
3939
In debug mode you will be able to see the path the player follows and how it does so.
@@ -51,7 +51,7 @@ In debug mode you will be able to see the path the player follows and how it doe
5151
* spawn gatherer/melee/ranged/army - spawns 1 unit of the selected type or an army of 10 melee and 10 ranged
5252
* win - automatically win the game
5353
* lose - automatically lose the game
54-
* fog of war - active/desactive the fog of war
54+
* fog_of_war - enable/disable the fog of war
5555

5656
## Team
5757

0 commit comments

Comments
 (0)