]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Merge branch 'TimePath/global_self' into 'master'
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 Sep 2015 07:37:50 +0000 (07:37 +0000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 Sep 2015 07:37:50 +0000 (07:37 +0000)
commita240e0309a8ec5837f3ac3d37c168f5262e53d5b
treea1f3d2c5b0aa7150553dc16f8874b26c13c4c9f1
parente744d300162d41aec3e2a7f146012635e040b77a
parentdf8a2bd2d26f416dba3b1b074cf84c09e3758b01
Merge branch 'TimePath/global_self' into 'master'

Stop using the self global

high priority, frequently broken by changes:

- [x] back up global `self` into local `this` for every function that was using it

- [x] replace all self assignments with `setself` (which *currently* does the same thing, but is easier to search for and can be changed to do other things, like not compile)

---

less urgent, can be done long term post merge:

- [ ] replace `setself` with `WITH`

- [ ] replace `SELFPARAM` with an actual parameter for functions the engine doesn't need to call

See merge request !134