immibis
1c93f04719
CBot: change more things to unique_ptr
2019-07-02 14:51:06 +12:00
immibis
0427924301
Try to fix up some CBotTypVoid/99 confusion.
2019-07-01 23:53:45 +12:00
immibis
bb60fceaf2
Only store types in compile stack, not variables. Probably introduces bugs because CBotCStack::GetType used to return 99 for void!
2019-07-01 23:37:45 +12:00
immibis
38d0ea520e
Remove CBotVariable UniqNum
2019-06-30 20:50:44 +12:00
immibis
a000e1a7ed
CBot Variable Refactor 1 (now builds and passes tests). NEEDS REVIEW. STILL NEEDS SAVE/RESTORE.
2019-06-29 23:04:05 +12:00
immibis
77218b47b1
CBotVar: Remove another unneeded function.
2019-05-23 22:37:47 +12:00
immibis
13ef0cf91b
CBotVar: Remove unused constructor; make m_token not a pointer
2019-05-23 22:29:06 +12:00
immibis
00b01fe0fe
Use IsNAN instead of GetInitType where applicable.
2019-05-23 22:28:34 +12:00
immibis
a57257525e
Remove unnecessary CBotVar helper functions for consistency
2019-05-22 21:54:39 +12:00
immibis
cd6a484315
Combine all the variable definition instructions (except class/array) into one
2019-05-22 00:15:11 +12:00
immibis
efac8a2eeb
CBotTypResult refactor: use unique_ptr for next link
2019-05-21 23:02:04 +12:00
immibis
653e61bcc7
Code simplification in CBotCStack
2019-05-21 23:00:45 +12:00
immibis
3608d5c403
Move loop label stack into the compile stack
2019-05-20 23:25:23 +12:00
immibis
b36075f7e1
Added try/catch/finally/throw unit tests.
...
Line coverage in src/CBot/CBotInstr is now 70.2%
2019-05-20 22:06:20 +12:00
immibis
a6f19e5c3a
Require cstack levels to be deleted in order.
...
Fixed two instancse where this was not happening.
2019-05-20 22:06:20 +12:00
immibis
79e175aca9
Make compiler error variables not static
2019-05-20 20:24:33 +12:00
immibis
1c21b08a64
Refine previous commit: add m_toplevel
2019-05-19 22:48:35 +12:00
immibis
89f571195b
Make CBotCStack::m_prog not static.
2019-05-19 21:48:55 +12:00
immibis
f9d9815c63
Change more pointers to unique_ptr.
2019-05-19 21:20:34 +12:00
immibis
7bddf5973f
Add more unit tests for CBot.
...
Fixed a bug when 'switch' errors out causing break labels to be left on an internal
stack.
Line coverage:
CBot 66.6% -> 67.6%
CBotInstr 56.1% -> 66.9%
CBotVar 66.7% -> 66.9%
2019-05-19 00:19:57 +12:00
immibis
e8c1f85d2f
Document CBotCStack
2019-05-18 21:43:12 +12:00
tomangelo
97a8cfe6f9
Merge pull request #1251 from fernape/fix-freebsd-build
...
Add FreeBSD support.
2019-04-10 22:13:15 +02:00
fernape
44083053ce
Add FreeBSD support.
...
Add a new PLATFORM_FREEBSD variable. We can compile like MacOS with just an
extra linker flag.
2019-03-09 19:04:00 +01:00
MrSimbax
d038d18943
Add trailing ; to Keywords entry in colobot.desktop
...
Related issue: #1246
2019-02-26 17:41:51 +01:00
MrSimbax
d4ab82eaae
Release 0.1.12-alpha: Bump version
2019-02-23 20:01:33 +01:00
MrSimbax
ef6b692d41
Post-release 0.1.12-alpha
2019-02-23 20:01:33 +01:00
MrSimbax
6ec644d20b
Release 0.1.12-alpha: Merge branch 'dev'
2019-02-23 20:01:33 +01:00
MrSimbax
7d99aa954b
Fix release.py
2019-02-23 20:01:21 +01:00
MrSimbax
46098834a1
Update data submodule
2019-02-23 18:54:39 +01:00
MrSimbax
aca552242f
Update po files
2019-02-23 18:51:37 +01:00
tomangelo
0efb8d50ba
Merge pull request #1244 from colobot/dev-portable-saves
...
Fix PORTABLE_SAVES flag not working
2019-02-23 18:28:06 +01:00
MrSimbax
0eb31a1f45
Fix PORTABLE_SAVES flag not working
2019-02-23 13:12:37 +01:00
Mateusz Przybył
275724ab97
Build AppImage in Jenkins ( #1243 )
2019-02-21 17:46:11 +01:00
krzys_h
e02a3373fd
Update Jenkinsfile for dockerized build environment ( #1240 )
2019-02-18 19:18:53 +01:00
tomangelo2
a46750ede2
Fix crash when destroying unpowered PowerPlant with Titanium
...
Appendix to pull #1206
2019-02-18 14:43:56 +01:00
tomangelo2
0f6e1d7d4a
Style fix
2019-02-18 14:43:56 +01:00
tomangelo
0da792c77c
Merge pull request #1205 from ananace/add-appdata
...
Add an appdata XML for Linux packaging (#1204 )
2019-02-09 21:42:05 +01:00
tomangelo
9fe05f4472
Merge pull request #1237 from Uposax/master
...
Complete french translation
2019-02-07 01:37:43 +01:00
tomangelo
bc3fbd21d0
Merge pull request #1231 from colobot/dev-issue-1128
...
Potential fix for issue #1128
2019-02-07 01:12:10 +01:00
tomangelo
b50a71bde4
Merge pull request #1239 from suve/use-sizeof-in-ModelOutput-WriteOldModel
...
Tweak strncpy() usage in ModelOutput::WriteOldModel
2019-02-07 01:11:55 +01:00
suve
086e07168d
Use sizeof() instead of magic number for strncpy in ModelOutput::WriteOldModel
2019-02-02 18:53:36 +01:00
tomangelo
02fd258697
Merge pull request #1206 from iceslab/dev
...
Fixes for #1203 and #1194
2019-01-29 20:31:57 +01:00
tomangelo
04b8bf6c42
Merge pull request #1235 from vkuzkokov/master
...
Put pitch and roll in [-180,180) range.
2019-01-29 20:31:37 +01:00
maf-ia
2175e7f90a
Merge branch 'master' of https://github.com/Uposax/colobot
2019-01-12 21:44:00 +01:00
krzys-h
4c3440bbe6
Fix building of colobot.rc on Windows
2019-01-12 21:43:01 +01:00
maf-ia
634248885f
Complete last 5 french sentences not fully translated
2019-01-12 21:35:51 +01:00
maf-ia
63bf8e07da
Complete last 5 french sentences not fully translated
2019-01-12 21:28:49 +01:00
Vladislav Kuzkokov
e3f53dc203
Put pitch and roll in [-180,180) range.
...
Reasonable values lie close to either side of 0.
2019-01-06 07:09:57 +01:00
tomangelo2
be97167994
Potential fix for issue #1128
2019-01-02 01:18:45 +01:00
tomangelo2
92d2de5325
Fixed VSync options list
...
Now VSync list is aligned for same height as resolution list from the bottom, as it's very hard to align them from top on different screen resolutions.
2019-01-02 00:34:34 +01:00