Joris
6e64f99ecc
[AStyle]
2012-09-05 15:40:45 +02:00
Joris
2fcae8f279
Restore palette (due to ColorCycling) when game ends.
2012-09-04 19:42:58 +02:00
Joris
c6a2fc0a3f
Fix warning with gcc.
2012-09-01 08:31:00 +02:00
cybermind
57ecef96a2
[+] AI improvement: it can now gather all units close to enemy, after that it attacks
...
[-] Fixed missing file in previous commit
[-] Fixed bug when player cancels a building.
[-] Fixed bug with speedup variables in CclGetPlayerData and CclSetPlayerData
2012-08-31 22:55:27 +06:00
Joris
c0e3fe74f3
Clean up:
...
- Add missing ref.
- Add missing f postfix for float value.
- Replace \r\n by \n.
- Restrict variable scope.
2012-08-31 15:55:58 +02:00
Joris
9ba391ceab
Add GetRaceIndexByName into PlayerRace and use it.
...
Factorize some code in CclDefineGameSounds.
2012-08-31 15:27:00 +02:00
Joris
331d43bee9
Fix compilation error/warning under gcc.
2012-08-31 15:16:50 +02:00
cybermind
e6281977e4
[+] Added MissileContinious (same as MissileStay, but can show it's animation several times and damage with Sleep period).
...
[+] Added NoRandomPlacing flag in CUnitType to prevent random sprite rotation.
[+] Added BoxOffsetX and BoxOffsetY in CunitType to move selection box around unit.
[+] Abilty to set missile's damage and TTL directly in MissileType
[+] Allow CAnimation_SetVar to change non-CVariable variables (currently works for DamageType)
[+] Added ButtonCheckUnitVariable which allow to show button only if some variables pass the condition.
[+] More flexibility to particles.
[+] Added ninth button to PieMenu.
[+] Added ability to set text color in butrton popups.
[+] Allow CAnimation_SpawnMissile to fire missile at some position instead of unit.
[*] Clean up in UnitOnScreen
[*] Units first call their auto-cast spells rather than attacking.
[*] Change new unit message minimap ping color to green.
[*] Some changes in ai threat calculation code.
[*] Units won't "follow" after buildings (this caused them to "stop" and do nothing)
[*] Set GLMaxTextureSize to 256
[-] Removed hardcoded upgrade-to frame
[-] Fix incorrect AiBuildingRules check.
[-] Fix incorrect CUnitType impacts parse
[-] Fixed bug which made AI's summoned units to be in group 0 and thus didn't allowed them o attack enemies properly.
[-] Fixed bug which not allowed player to save his replay at the end of mission.
[-] Fixed a bug which caused AI to send his defence forces only once.
[-] Removed assert warning in AiReduceMadeInBuilt
2012-08-30 14:29:55 +06:00
Joris
c73fe049d5
Some clean up.
2012-08-22 13:05:18 +02:00
Joris
00f3a55b5e
missing file in previous commit.
2012-08-22 13:04:09 +02:00
Joris
272a5120ec
Some clean up :
...
- Use CColor for FogOfWarColor.
2012-08-22 12:38:58 +02:00
Joris
342ec3af50
Fix a crash when loading 'recycling' units.
2012-08-22 12:02:11 +02:00
Joris
367cf69d79
Fix error reporting (which leads to a crash).
2012-08-22 12:00:17 +02:00
Joris
1e2a32a456
Remove commented include
2012-08-21 19:24:50 +02:00
Joris
d443e3b2d0
Use IntColor instead of Uint32 to remove some SDL dependencies
2012-08-21 18:00:58 +02:00
Joris
e0b2044971
Use IntColor instead of Uint32 to remove some SDL dependencies
2012-08-21 17:17:36 +02:00
Joris
217a28e9e4
Use IntColor instead of Uint32 to remove some SDL dependencies.
2012-08-21 16:42:08 +02:00
Joris
1373658abe
Some clean up:
...
- use std::swap
2012-08-21 16:08:46 +02:00
Joris
6c9ce8fc68
Replace some SDL_Color by CColor.
2012-08-21 15:37:13 +02:00
Joris
d81d378c09
Replace CUnitType::NeutralMinimapColorRGB type from SDL_Color by CColor.
2012-08-21 15:20:08 +02:00
Pali Rohár
e89e3ed2e7
Release version 2.2.7
2012-08-20 15:27:46 +02:00
Pali Rohár
9e666b6bbd
stratagus-game-launcher.h - Path to data must be escaped on Windows
...
This fix problems that on Windows wargus.exe binary do nothing...
2012-08-20 15:25:08 +02:00
Joris
5266501f04
[AStyle]
2012-08-20 13:13:11 +02:00
joris
5710008df0
Move CUnitColors into color.h
...
use std::vector instead of manual array
2012-08-19 20:03:04 +02:00
Pali Rohár
19a36dcc04
debian - Do not create directory usr/share/games/stratagus
2012-08-19 11:13:41 +02:00
Pali Rohár
e1c8c27bbb
Fix stratagus-maemo-extract.h - ignore '\n' in version string
2012-08-19 11:11:12 +02:00
Pali Rohár
f1f5559d1b
Fix maemo includes
2012-08-19 10:30:00 +02:00
Joris
35d9be1774
Fix compilation under linux.
2012-08-18 00:12:29 +02:00
joris
de8de5f975
Remove duplicate container AllFontColors.
...
little optim
2012-08-14 19:04:08 +02:00
joris
16f09eecc7
Move CColor in its own file.
...
Remove SDL dependency for font.h
Remove duplicated container AllFonts
Remove unused Macro MaxFonts
2012-08-14 17:35:58 +02:00
joris
bea5669354
Fix main.cpp linking of metaserver
...
Should fix compilation under *nix about net_lowlevel.cpp
2012-08-14 12:40:03 +02:00
joris
88b325c84c
Clean up :
...
- Move MAX_RACES definition from player.h into stratagus.h
- Factorize code in sound_server.cpp
- Remove dependency of player.h for sound.h
2012-08-13 15:33:23 +02:00
joris
dec4c95232
rename network/lowlevel.cpp into network/net_lowlevel.cpp (according to .h)
2012-08-13 14:51:43 +02:00
joris
e21cbee0b1
Clean up.
2012-08-13 14:37:39 +02:00
joris
91eb128f7a
fix memleak
2012-08-13 14:09:59 +02:00
joris
28b9f6255d
Clean up:
...
- use stdint.h instead of SDL for fixed size type.
- const and ref.
2012-08-13 14:08:45 +02:00
joris
aab2e20975
Clean up:
...
- use stdint.h for fixed type instead of SDL.h
- use reference instead of pointer
2012-08-13 13:33:06 +02:00
joris
8e11cc8caf
Remove uneeded include.
2012-08-12 17:26:59 +02:00
joris
e85ebff943
Move some code from map.h into unit_find.h
2012-08-12 17:13:19 +02:00
joris
66706f5cfb
Clean up Icon:
...
- remove empty function
- Add const/reference
- Remove duplicated container AllIcons
2012-08-12 14:40:09 +02:00
joris
aa5400581f
Move implementation of AiForce::Insert/InternalRemoveUnit into cpp to remove unit.h dependency in header.
2012-08-12 12:29:38 +02:00
joris
7b31eb2ab5
Remove unused variable ResultGameCycle.
2012-08-11 14:48:56 +02:00
joris
8bc2558d87
Remove unneeded include.
2012-08-11 14:31:38 +02:00
joris
62f36a96b3
Create game.h and move some stuff from stratagus.h into more appropriate header.
2012-08-11 14:19:13 +02:00
joris
fd66a4c5ef
Remove useless include stdio.h
2012-08-11 13:29:32 +02:00
joris
cbbed3f71a
Use pimpl idiom for iolib.
2012-08-11 13:21:53 +02:00
joris
e9996ad4ce
Add prefix Spell_ to specific spell class.
2012-08-10 16:00:00 +02:00
joris
5f54853efe
Add specific spell header
2012-08-10 15:40:52 +02:00
joris
9b5664e1c1
Move some code from script_spell.cpp into 'specific' spell file.
2012-08-10 14:52:46 +02:00
joris
abfe3f2086
Split spell by SpellActionType.
2012-08-10 13:26:54 +02:00